From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 15 09:30:13 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4666716A41C for ; Fri, 15 Jul 2005 09:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A050943D53 for ; Fri, 15 Jul 2005 09:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6F9UC3m096256 for ; Fri, 15 Jul 2005 09:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6F9UCiW096254; Fri, 15 Jul 2005 09:30:12 GMT (envelope-from gnats) Resent-Date: Fri, 15 Jul 2005 09:30:12 GMT Resent-Message-Id: <200507150930.j6F9UCiW096254@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, gul@itsinternet.net Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 870CD16A41C for ; Fri, 15 Jul 2005 09:25:34 +0000 (GMT) (envelope-from gul@lamamba.itsinternet.net) Received: from lamamba.itsinternet.net (lamamba.itsinternet.net [213.133.160.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EF6443D49 for ; Fri, 15 Jul 2005 09:25:34 +0000 (GMT) (envelope-from gul@lamamba.itsinternet.net) Received: from [127.0.0.1] (helo=lamamba.itsinternet.net ident=gul) by lamamba.itsinternet.net with esmtp (Exim 4.51 (FreeBSD)) id 1DtMRn-0006nf-T0 for FreeBSD-gnats-submit@freebsd.org; Fri, 15 Jul 2005 12:25:31 +0300 Received: (from gul@localhost) by lamamba.itsinternet.net (8.13.3/8.13.1/Submit) id j6F9PVdv026142; Fri, 15 Jul 2005 12:25:31 +0300 (EEST) (envelope-from gul) Message-Id: <200507150925.j6F9PVdv026142@lamamba.itsinternet.net> Date: Fri, 15 Jul 2005 12:25:31 +0300 (EEST) From: gul@itsinternet.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/83499: fragmented packets does not pass through a pipe X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gul@itsinternet.net List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 09:30:13 -0000 >Number: 83499 >Category: kern >Synopsis: fragmented packets does not pass through a pipe >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 15 09:30:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Pavel Gulchouck >Release: FreeBSD 5.4-STABLE i386 >Organization: IT Systems >Environment: System: FreeBSD lamamba.itsinternet.net 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu Jun 30 23:41:25 EEST 2005 root@lamamba.itsinternet.net:/usr/obj/usr/src/sys/LAMAMBA i386 >Description: If I add line add pipe 20 ip from any to any xmit fxp1 then transit packets passed through this rule losts. Not fragmented packets processed correctly. Without this rule both "ping -s 1500" and "ping -s 1472" works fine. tcpdump shows in pipe case first part of packet followed by the second part, I think it cause problem with reassembling. I have no ipfw rules with "frag" flag. >How-To-Repeat: Create ipfw pipe and try to "ping -s 1500" though it. It fails on my tests on RELENG_5 and RELENG_5_3, other versions I did not test. >Fix: Now as workaround I pass all packets before pipe through divert socket without altering for reassemble. >Release-Note: >Audit-Trail: >Unformatted: