You need to sign in or sign up before continuing.
  • vieira's avatar
    Fixes UDP and DNS proxies binding to the same socket address · 6cdc4da1
    vieira authored
    As suggested by @colinmkeith the UDP and DNS proxies should listen on different
    ports otherwise the DNS proxy can get traffic intended to the UDP proxy (or
    vice-versa) and handle it incorrectly as reported in #178.
    
    At first sight it seems that we had the code in place to try another port if
    the one we are binding is already bound, however, with UDP and REUSEADDR the
    OS will not refuse to bind two sockets to the same socket address, so both
    the UDP proxy and DNS proxy were being bound to the same pair.
    6cdc4da1
Name
Last commit
Last update
docs Loading commit data...
sshuttle Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGES.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
conftest.py Loading commit data...
requirements.txt Loading commit data...
run Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...