Increase IP4 ttl to 63 hops instead of 42

This commit is contained in:
Erik Selin
2020-07-16 20:51:27 -04:00
parent c5dcc918db
commit 3037a91e51
5 changed files with 13 additions and 13 deletions

View File

@ -570,7 +570,7 @@ class MuxWrapper(SockWrapper):
def connect_dst(family, ip, port):
debug2('Connecting to %s:%d\n' % (ip, port))
outsock = socket.socket(family)
outsock.setsockopt(socket.SOL_IP, socket.IP_TTL, 42)
outsock.setsockopt(socket.SOL_IP, socket.IP_TTL, 63)
return SockWrapper(outsock, outsock,
connect_to=(ip, port),
peername='%s:%d' % (ip, port))