From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 30 01:20:06 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 6E21416A41C for ; Thu, 30 Jun 2005 01:20:06 +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 44F2843D1D for ; Thu, 30 Jun 2005 01:20:06 +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 j5U1K6PH041351 for ; Thu, 30 Jun 2005 01:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5U1K6Om041349; Thu, 30 Jun 2005 01:20:06 GMT (envelope-from gnats) Resent-Date: Thu, 30 Jun 2005 01:20:06 GMT Resent-Message-Id: <200506300120.j5U1K6Om041349@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, Mark Andrews Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECA5516A41F for ; Thu, 30 Jun 2005 01:12:41 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3CC843D48 for ; Thu, 30 Jun 2005 01:12:41 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from bsdi.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 42138677F6 for ; Thu, 30 Jun 2005 01:12:41 +0000 (UTC) (envelope-from marka@isc.org) Received: from bsdi.dv.isc.org (localhost.dv.isc.org [127.0.0.1]) by bsdi.dv.isc.org (8.13.1/8.13.1) with ESMTP id j5U17Eua023709 for ; Thu, 30 Jun 2005 11:07:15 +1000 (EST) (envelope-from marka@bsdi.dv.isc.org) Received: (from marka@localhost) by bsdi.dv.isc.org (8.13.1/8.13.1/Submit) id j5U17Eak023708; Thu, 30 Jun 2005 11:07:14 +1000 (EST) (envelope-from marka) Message-Id: <200506300107.j5U17Eak023708@bsdi.dv.isc.org> Date: Thu, 30 Jun 2005 11:07:14 +1000 (EST) From: Mark Andrews To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/82806: ipnat doesn't handle out of order fragments. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Andrews List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 01:20:06 -0000 >Number: 82806 >Category: kern >Synopsis: ipnat doesn't handle out of order fragments. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 30 01:20:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mark Andrews >Release: FreeBSD 4.11-STABLE i386 >Organization: ISC >Environment: System: FreeBSD bsdi.dv.isc.org 4.11-STABLE FreeBSD 4.11-STABLE #22: Mon Jan 3 22:18:47 EST 2005 marka@bsdi.dv.isc.org:/usr/obj/usr/src/sys/BSDI i386 >Description: It looks like ipnat doesn't handle out of order fragments. >How-To-Repeat: Setup ipnat and try to make the following query from a machine behind the nat box. The response is large enough to cause fragmentation (DNS payload of 1734) and depending upon the fragment order you may or may not get a response. Using a 9.3.x version of dig. dig dlv gmail.com.dlv.verisignlabs.com @ns1.dlv.verisignlabs.com +dnssec Note: ipf is setup to handle out of order fragments. The above query always works on the nat box itself regardless of the fragment order (checked with "tcpdump -n -i sis0 -s 0 host 65.201.175.17" where sis0 is the external interface). Out of order fragments are not passed to the internal box (again checked w/ tcpdump on the the internal box). In order fragments are returned. >Fix: >Release-Note: >Audit-Trail: >Unformatted: