Giter VIP home page Giter VIP logo

Comments (4)

christiaan avatar christiaan commented on May 8, 2024

As far as I know Flash sockets work as following.

First Flash will try port 843 and try get the policy file from there.
If however 843 doesn't respond with the policy Flash will try the port it was originally told to connect to.

So setting it to a custom port is kind of pointless. The policyfile should however be served over the destination port as well so that 843 can be turned off. (be warned tough if you dont use 843 all your clients will connect slower as first port 843 will be tried)

See http://www.adobe.com/devnet/flashplayer/articles/flash_player9_security_update.html especially "The policy file can be served from either the socket master policy port 843 or from the destination port of the socket connection".

from socket.io.

sechrist avatar sechrist commented on May 8, 2024

Thank you for the information. I was aware of the fallback, but an option would still be nice. (unless I NAT 843 to 8080 to get around the port hop, but that's kind of silly).

from socket.io.

rauchg avatar rauchg commented on May 8, 2024

Also, the reason a privileged port is needed is a valid one: you're determining the security restrictions for the entire domain(s) pointed to that computer. That's something only a superuser could do.

from socket.io.

sechrist avatar sechrist commented on May 8, 2024

Makes sense.

Perhaps have an option to turn it off so we can provide our own though other means on 843.
I just don't want to run my app as root. :\

from socket.io.

Related Issues (20)

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.