• Avery Pennarun's avatar
    dns: add support for MacOS (but it doesn't work...) · ebfc3703
    Avery Pennarun authored
    ...because stupid MacOS ipfw 'fwd' rules don't work quite right with udp.
    It can intercept packets bound for remote hosts, but it doesn't correctly
    rewrite the port number from its original to the new socket, so it gets
    dropped by the local kernel anyway.
    
    That is, a packet to 1.2.3.4:53 should be redirected to, say,
    127.0.0.1:9999, the local DNS listener socket.  But instead, it gets sent to
    127.0.0.1:53, which nobody is listening on, so it gets eaten.
    
    Sigh.
    ebfc3703
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...
assembler.py Loading commit data...
client.py 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...