From owner-freebsd-bugs@FreeBSD.ORG Sat May 24 21:50:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A299106567E for ; Sat, 24 May 2008 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 518778FC1F for ; Sat, 24 May 2008 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4OLo2Yw037685 for ; Sat, 24 May 2008 21:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4OLo2M6037684; Sat, 24 May 2008 21:50:02 GMT (envelope-from gnats) Resent-Date: Sat, 24 May 2008 21:50:02 GMT Resent-Message-Id: <200805242150.m4OLo2M6037684@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, Kian Mohageri Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53F211065676 for ; Sat, 24 May 2008 21:48:04 +0000 (UTC) (envelope-from kian@alvis.restek.wwu.edu) Received: from alvis.restek.wwu.edu (alvis.restek.wwu.edu [67.201.255.204]) by mx1.freebsd.org (Postfix) with ESMTP id 492328FC0C for ; Sat, 24 May 2008 21:48:04 +0000 (UTC) (envelope-from kian@alvis.restek.wwu.edu) Received: from alvis.restek.wwu.edu (localhost [127.0.0.1]) by alvis.restek.wwu.edu (8.14.2/8.14.2) with ESMTP id m4OLItLp082608; Sat, 24 May 2008 14:18:55 -0700 (PDT) (envelope-from kian@alvis.restek.wwu.edu) Received: (from kian@localhost) by alvis.restek.wwu.edu (8.14.2/8.14.2/Submit) id m4OLIskF082607; Sat, 24 May 2008 14:18:54 -0700 (PDT) (envelope-from kian) Message-Id: <200805242118.m4OLIskF082607@alvis.restek.wwu.edu> Date: Sat, 24 May 2008 14:18:54 -0700 (PDT) From: Kian Mohageri To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: kian@restek.wwu.edu Subject: kern/123965: tcpdump does not see outgoing RST when pf is enabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kian Mohageri List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 21:50:02 -0000 >Number: 123965 >Category: kern >Synopsis: tcpdump does not see outgoing RST when pf is enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 24 21:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Kian Mohageri >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: System: FreeBSD alvis.restek.wwu.edu 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar 1 17:41:33 PST 2008 root@alvis.restek.wwu.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When pf is enabled, block-policy is 'return', and a packet is blocked, pf sends a RST but tcpdump never sees it. >How-To-Repeat: - Enable pf with 'set block-policy return' and rules to deny traffic - Start tcpdump on your FreeBSD 7 host - Try to connect to FreeBSD 7 host from somewhere (that will be rejected) - Notice that tcpdump sees the incoming SYN but not the outgoing RST - Disable pf and try again - Notice that tcpdump correctly sees both the SYN and the RST In both cases, the RST *is* originating from the FreeBSD 7 host - that can be verified by tcpdumping on intermediate routers/firewalls. If it's at all helpful information, a FreeBSD 6.3 host sees the SYN/RST in both cases. >Fix: >Release-Note: >Audit-Trail: >Unformatted: