• Avery Pennarun's avatar
    Client "almost" works on MacOS and maybe FreeBSD. · 096bbcc5
    Avery Pennarun authored
    Basic forwarding now works on MacOS, assuming you set up ipfw correctly
    (ha ha).  I wasted a few hours today trying to figure this out, and I'm *so
    very close*, but unfortunately it just didn't work.  Think you can figure it
    out?
    
    Related changes:
    - don't die if iptables is unavailable
    - BSD uses getsockname() instead of SO_ORIGINAL_DST
    - non-blocking connect() returns EISCONN once it's connected
    - you can't setsockopt IP_TTL more than once
    096bbcc5
Name
Last commit
Last update
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
client.py Loading commit data...
helpers.py Loading commit data...
iptables.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...
ssnet.py Loading commit data...