[lkml]   [2001]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] Linux default IP ttl
The following patch changes the default ip_default_ttl from 64 to 128 hops.
This matches the
default of many modern client OS of my server farms and the logic is that
anything that
capable of reaching me should also be reachable by me.

This has reduced considerably the number of ICMP messages where a packet has
in transit from my server farms. Looks like there are a lot of clients out
there running
(apparently) modern Microsoft OS versions with networks having a lot of hops
(more than 64).

--- linux/include/linux/ip.h.orig Sun Jul 15 08:41:07 2001
+++ linux/include/linux/ip.h Sun Jul 15 08:41:40 2001
@@ -65,7 +65,7 @@

#define IPVERSION 4
#define MAXTTL 255
-#define IPDEFTTL 64
+#define IPDEFTTL 128

/* struct timestamp, struct route and MAX_ROUTES are removed.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.091 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site