| Summary: | [gif] [ipsec] traceroute issue on gif tunnel with ipsec | ||
|---|---|---|---|
| Product: | Base System | Reporter: | hunreal |
| Component: | kern | Assignee: | Andrey V. Elsukov <ae> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Only Me | CC: | delphij, re |
| Priority: | Normal | Keywords: | regression |
| Version: | 10.2-RELEASE | Flags: | bugmeister:
mfc-stable10?
bugmeister: mfc-stable9? bugmeister: mfc-stable8? |
| Hardware: | amd64 | ||
| OS: | Any | ||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228108 | ||
|
Description
hunreal
2012-12-21 05:30:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s). Responsible Changed From-To: freebsd-net->ae Take it. A commit references this bug: Author: ae Date: Wed Oct 8 21:23:35 UTC 2014 New revision: 272770 URL: https://svnweb.freebsd.org/changeset/base/272770 Log: When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Obtained from: Yandex LLC MFC after: 2 weeks Sponsored by: Yandex LLC Changes: head/sys/net/if_gif.c head/sys/netinet/ip_gre.c Patched in head/. A commit references this bug: Author: ae Date: Thu Oct 30 13:53:58 UTC 2014 New revision: 273859 URL: https://svnweb.freebsd.org/changeset/base/273859 Log: MFC r272770: When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Sponsored by: Yandex LLC Changes: _U stable/10/ stable/10/sys/net/if_gif.c stable/10/sys/netinet/ip_gre.c A commit references this bug: Author: ae Date: Thu Oct 30 13:59:30 UTC 2014 New revision: 273860 URL: https://svnweb.freebsd.org/changeset/base/273860 Log: MFC r272770 (modified version): When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Sponsored by: Yandex LLC Changes: _U stable/9/sys/ _U stable/9/sys/net/ stable/9/sys/net/if_gif.c stable/9/sys/netinet/ip_gre.c It should be fixed in 10-STABLE and head/. Close PRs that have had a corresponding fix committed. After upgrade from 10.1 to 10.2, bug again. The patch was MFC to 10.2-RELEASE, but something break it. Oh no, IPSEC on 10.2-RELEASE break gif a lot! tcpdump on gif with ipsec enabled, only output packets are captured. ipv6 in gif tunnel with ipsec enabled is completed broken. Everything is ok while ipsec disabled. I have to replace it with GRE tunnel if ipsec enabled. I believe all problems with IPsec+gif/gre tunnels were fixed in 11.0+. |