On Wed, Feb 16, 2000 at 05:16:31PM +1100, Andrew Macks wrote:
> 
> Does anybody know how to increase the TTL of packets passing through a
> Linux router?

If you want to do this efficiently you are going to have to do it
in the kernel, and no, I don't know of any existing option like that :-)

The magic routine that fiddles the TTL is ip_decrease_ttl in <net/ip.h>,
which is expanded inline into ip_forward (net/ipv4/ip_forward.c).
Notice that it needs to update the IP checksum.

        Matt


-- 
Matthew "Austin" Chapman
SysAdmin, Developer, Samba Team Member
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to