lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <56574F32.6070706@shemyak.com>
Date:	Thu, 26 Nov 2015 20:28:02 +0200
From:	Konstantin Shemyak <konstantin@...myak.com>
To:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: IPv4 tunnels: why IP-IP and SIT enforce DF bit, but GRE does not?

The kernel has taken the decision to always enforce DF bit on IPv4 
tunnels, which have fixed (not inherited) TTL (e.g. 
net/ipv4/ipip.c:ipip_tunnel_ioctl()). Commment by Alexey Kuznetsov in 
the head of ip_gre.c explains that the reason is attempting to avoid 
network loops.

But the commit c54419321455631 removed this enforcing from GRE tunnels,
not changing this behavior for IP-IP (net/ipv4/ipip.c) and SIT 
(net/ipv6/sit.c).

It can be discussed whether such enforcing of DF bit is exactly the
desired behavior, but shouldn't it at least be identical across IPv4 
tunnels?

Konstantin Shemyak
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ