[Bug 207598] pf adds icmp unreach on gre/ipsec somehow
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 24 08:25:01 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207598
--- Comment #6 from Max <maximos at als.nnov.ru> ---
Created attachment 170591
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170591&action=edit
dumps
(In reply to Kristof Provost from comment #5)
Host "A" config:
cloned_interfaces="gre0"
ifconfig_em0="inet 192.168.10.1/24"
defaultrouter="192.168.10.254"
ifconfig_gre0="inet 10.10.1.1 10.10.2.1 tunnel 192.168.10.1 192.168.10.254"
static_routes="rb rc"
route_rb="10.10.2.0/24 10.10.2.1"
route_rc="10.10.3.0/24 10.10.2.1"
pf disabled.
Host "C" config:
cloned_interfaces="gre0"
ifconfig_em0="inet 192.168.30.1/24"
defaultrouter="192.168.30.254"
ifconfig_gre0="inet 10.10.3.1 10.10.2.1 tunnel 192.168.30.1 192.168.30.254"
static_routes="ra rb"
route_ra="10.10.1.0/24 10.10.2.1"
route_rb="10.10.2.0/24 10.10.2.1"
pf disabled.
Host "B" config:
cloned_interfaces="gre0 gre1"
ifconfig_em0="inet 192.168.10.254/24"
ifconfig_em2="inet 192.168.30.254/24"
ifconfig_gre0="inet 10.10.2.1 10.10.1.1 tunnel 192.168.10.254 192.168.10.1"
ifconfig_gre1="inet 10.10.2.1 10.10.3.1 tunnel 192.168.30.254 192.168.30.1"
static_routes="ra rc"
route_ra="10.10.1.0/24 10.10.1.1"
route_rc="10.10.3.0/24 10.10.3.1"
pf.conf:
set skip on lo
#scrub on gre0 max-mss 1360
scrub on gre1 max-mss 1360
pass all
pfctl -x misc
gre MTU is 1476. So, 1476-28=1448 bytes sholud fit MTU.
First, on host "A":
ping -s 1450 -c 1 10.10.3.1
Then, on host "C":
ping -s 1450 -c 1 10.10.1.1
Kernel log on host "B":
May 24 10:57:38 isp kernel: em0: promiscuous mode enabled
May 24 10:57:39 isp kernel: em2: promiscuous mode enabled
May 24 10:58:13 isp kernel: pf_normalize_ip: reass frag 56321 @ 0-1456
May 24 10:58:13 isp kernel: pf_fillup_fragment: reass frag 56321 @
0-1456pf_normalize_ip: reass frag 56321 @ 1456-1458
May 24 10:58:13 isp kernel: pf_fillup_fragment: reass frag 56321 @
1456-1458pf_isfull_fragment: 1458 < 1458?pf_reassemble: complete:
0xfffff8001f4aa300(1478)
May 24 10:58:13 isp kernel: pf_normalize_ip: reass frag 30208 @ 0-1456
May 24 10:58:13 isp kernel: pf_fillup_fragment: reass frag 30208 @
0-1456pf_normalize_ip: reass frag 30208 @ 1456-1458
May 24 10:58:13 isp kernel: pf_fillup_fragment: reass frag 30208 @
1456-1458pf_isfull_fragment: 1458 < 1458?pf_reassemble: complete:
0xfffff8001f662000(1478)
May 24 10:58:39 isp kernel: pf_normalize_ip: reass frag 30464 @ 0-1456
May 24 10:58:39 isp kernel: pf_fillup_fragment: reass frag 30464 @
0-1456pf_normalize_ip: reass frag 30464 @ 1456-1458
May 24 10:58:39 isp kernel: pf_fillup_fragment: reass frag 30464 @
1456-1458pf_isfull_fragment: 1458 < 1458?pf_reassemble: complete:
0xfffff8001f661d00(1478)
May 24 10:58:39 isp kernel: pf_normalize_ip: reass frag 57601 @ 0-1456
May 24 10:58:39 isp kernel: pf_fillup_fragment: reass frag 57601 @
0-1456pf_normalize_ip: reass frag 57601 @ 1456-1458
May 24 10:58:39 isp kernel: pf_fillup_fragment: reass frag 57601 @
1456-1458pf_isfull_fragment: 1458 < 1458?pf_reassemble: complete:
0xfffff8001f4aa100(1478)
May 24 10:58:56 isp kernel: em0: promiscuous mode disabled
May 24 10:58:57 isp kernel: em2: promiscuous mode disabled
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pf
mailing list