[PATCH] Linux default IP ttl

George Bonser (george@gator.com)
Sun, 15 Jul 2001 01:58:51 -0700


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
expired
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/