lkml.org 
[lkml]   [2001]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Linux default IP ttl
Date
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/

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