At least after V1.1.59 (and most probably before) Linux uses "safe" values of 64 for both TCP and UDP default TTLs. As these values are "hardcoded", occasional modifications have to be done deep in the source - change the parameter sk->ip_ttl in file net/inet/af_inet.c to whatever you think is appropriate for you. Some pointers to find the position where sk->ip_ttl is set:
Linux V1.12.11: net/inet/af_inet.c line 695
Linux V1.3.45: net/inet/af_inet.c line 678
Linux V2.2.x: net/ipv4/ipconfig.c line 516
netconfig2.3 is a tool available from: ftp://cs.ucsd.edu/pub/csl/Netconfig/netconfig2.3.tar.gz
but use it on ur own risk.
Hope it helps
Kapil
Technical Director
Infovalley Interwebspiders Pvt. Ltd.
Microsoft Certified System Engineer
visit
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.