• Avery Pennarun's avatar
    Don't try to connect to remote IPs that start with zero. · f5eed4c8
    Avery Pennarun authored
    For some reason, on Linux servers this returns EINVAL.  I don't like just
    treating EINVAL as non-fatal in general, so let's catch this specific case
    and ignore it.
    
    Reported by Reza Mohammadi on the mailing list.  Interestingly, it's kind of
    hard to trigger this crash since the client would have to request the
    connection, and that connection shouldn't exist because the original client
    program would have already gotten EINVAL.  But my MacOS machine can generate
    such a connection, so a MacOS->Linux sshuttle could trigger this.
    f5eed4c8
Name
Last commit
Last update
compat Loading commit data...
ui-macos Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
all.do Loading commit data...
assembler.py Loading commit data...
clean.do Loading commit data...
client.py Loading commit data...
default.8.do Loading commit data...
do Loading commit data...
firewall.py Loading commit data...
helpers.py Loading commit data...
hostwatch.py Loading commit data...
main.py Loading commit data...
options.py Loading commit data...
server.py Loading commit data...
ssh.py Loading commit data...
sshuttle Loading commit data...
sshuttle.md Loading commit data...
ssnet.py Loading commit data...
ssyslog.py Loading commit data...
stresstest.py Loading commit data...