Skip to content

Commit 70fb327

Browse files
q2venmngyadam
authored andcommitted
ip: Bump default ttl to 127.
In 4.14 and 5.4, the default TTL was bumped up to 255, but we moved the change to sysctl-defaults package. However, sysctl config is not applied to netns. Let's bump it again but to 127 as some nodes could block packets with TTL 255. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
1 parent 96d29b0 commit 70fb327

File tree

1 file changed

+1
-1
lines changed
  • include/uapi/linux

1 file changed

+1
-1
lines changed

include/uapi/linux/ip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
#define IPVERSION 4
6969
#define MAXTTL 255
70-
#define IPDEFTTL 64
70+
#define IPDEFTTL 127
7171

7272
#define IPOPT_OPTVAL 0
7373
#define IPOPT_OLEN 1

0 commit comments

Comments
 (0)