Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I've learned more from your forums in 3 days than 3 months at school and on the job combined..."

Geography

Where in the world do Tek-Tips members come from?
iggystar (IS/IT--Management)
17 Jul 01 22:56
Anybody know how I can check and change the TTL for IP packets on a Red hat linux box with a vanilla off the shelf installation?

Thanks.
sixthsense (TechnicalUser)
19 Jul 01 5:31
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 http://www.interwebspiders.com

If u find the information provided here useful to u then let me know by clicking on the link below

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close