Giter VIP home page Giter VIP logo

nodefix's People

Contributors

andrewschaaf avatar falconair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodefix's Issues

Regular Expression Denial of Service

I am installing a fresh MEAN* stack. I am getting the npm security audit on this package for underscore.string dependency.

The solution is to upgrade the underscore.string to the latest version of >=3.35. Currently, it seems the package.json is using version 1.1.4

Error info: https://npmjs.com/advisories/745

"dependencies": {
    "pipe": "0.0.2",
    "underscore": "1.1.6",
    "underscore.string": "1.1.4"
  },

Initiator level session

I spent some time today going through the nodefix code and upcoming fix.js code. I have some critical doubts. Can you please help me get a better understanding?

Shouldn't we be creating sessions at connection level? In your implementation, it seems that you are maintaining the session at server level, so basically only one client can connect to it at one moment.

Is that the desired behavior or is my understanding flawed?

externalize most logic

Should be taken out of session processor:

  1. checking for compids and version
  2. heartbeats
  3. testreqid (1)
  4. logout ack (& disconnect?)
  5. login ack

where should fixversion, compids, seqnum to placed in message

In the function which converts it to text msg, by then it is too late to allow wrong information (client/server sims) handle seqnums correctly for resend/gap fill, etc.

In session processor? makes sense since this is session information?

Only fill in information if the user didn't provide it? if user did provide it, keep it?

cleanup code

remove useless comments
remove redundant this.func = func1 type statements
reduce the lines of code used to check for missing tags
replace tag numbers with tag mnemonics for comparisons

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.