From owner-freebsd-pf@freebsd.org Tue May 24 08:25:00 2016 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E86C3B4813C for ; Tue, 24 May 2016 08:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D90E71A96 for ; Tue, 24 May 2016 08:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4O8P0Mq060762 for ; Tue, 24 May 2016 08:25:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-pf@FreeBSD.org Subject: [Bug 207598] pf adds icmp unreach on gre/ipsec somehow Date: Tue, 24 May 2016 08:25:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: maximos@als.nnov.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2016 08:25:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207598 --- Comment #6 from Max --- Created attachment 170591 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170591&action= =3Dedit dumps (In reply to Kristof Provost from comment #5) Host "A" config: cloned_interfaces=3D"gre0" ifconfig_em0=3D"inet 192.168.10.1/24" defaultrouter=3D"192.168.10.254" ifconfig_gre0=3D"inet 10.10.1.1 10.10.2.1 tunnel 192.168.10.1 192.168.10.25= 4" static_routes=3D"rb rc" route_rb=3D"10.10.2.0/24 10.10.2.1" route_rc=3D"10.10.3.0/24 10.10.2.1" pf disabled. Host "C" config: cloned_interfaces=3D"gre0" ifconfig_em0=3D"inet 192.168.30.1/24" defaultrouter=3D"192.168.30.254" ifconfig_gre0=3D"inet 10.10.3.1 10.10.2.1 tunnel 192.168.30.1 192.168.30.25= 4" static_routes=3D"ra rb" route_ra=3D"10.10.1.0/24 10.10.2.1" route_rb=3D"10.10.2.0/24 10.10.2.1" pf disabled. Host "B" config: cloned_interfaces=3D"gre0 gre1" ifconfig_em0=3D"inet 192.168.10.254/24" ifconfig_em2=3D"inet 192.168.30.254/24" ifconfig_gre0=3D"inet 10.10.2.1 10.10.1.1 tunnel 192.168.10.254 192.168.10.= 1" ifconfig_gre1=3D"inet 10.10.2.1 10.10.3.1 tunnel 192.168.30.254 192.168.30.= 1" static_routes=3D"ra rc" route_ra=3D"10.10.1.0/24 10.10.1.1" route_rc=3D"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=3D1448 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 --=20 You are receiving this mail because: You are the assignee for the bug.=