From owner-freebsd-ipfw@FreeBSD.ORG  Sun Mar 15 09:38:43 2009
Return-Path: <owner-freebsd-ipfw@FreeBSD.ORG>
Delivered-To: freebsd-ipfw@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6E67C106566C
	for <freebsd-ipfw@freebsd.org>; Sun, 15 Mar 2009 09:38:43 +0000 (UTC)
	(envelope-from sem@FreeBSD.org)
Received: from sunner.semmy.ru (sunner.semmy.ru [195.54.209.159])
	by mx1.freebsd.org (Postfix) with ESMTP id 2C7CA8FC0C
	for <freebsd-ipfw@freebsd.org>; Sun, 15 Mar 2009 09:38:43 +0000 (UTC)
	(envelope-from sem@FreeBSD.org)
Received: from [77.41.76.79] (helo=[172.16.100.19])
	by sunner.semmy.ru with esmtpa (Exim 4.69 (FreeBSD))
	(envelope-from <sem@FreeBSD.org>)
	id 1Limno-000DLx-Ri; Sun, 15 Mar 2009 12:38:40 +0300
Message-ID: <49BCCC9D.30109@FreeBSD.org>
Date: Sun, 15 Mar 2009 12:38:37 +0300
From: Sergey Matveychuk <sem@FreeBSD.org>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Dmitriy Demidov <dima_bsd@inbox.lv>
References: <200903132246.49159.dima_bsd@inbox.lv>	<49BBB94A.7040208@FreeBSD.org>
	<200903142031.53326.dima_bsd@inbox.lv>
In-Reply-To: <200903142031.53326.dima_bsd@inbox.lv>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-ipfw@freebsd.org, Luigi Rizzo <rizzo@iet.unipi.it>
Subject: Re: keep-state rules inadequately handles big UDP packets
 or	fragmented IP packets?
X-BeenThere: freebsd-ipfw@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IPFW Technical Discussions <freebsd-ipfw.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw>,
	<mailto:freebsd-ipfw-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ipfw>
List-Post: <mailto:freebsd-ipfw@freebsd.org>
List-Help: <mailto:freebsd-ipfw-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw>,
	<mailto:freebsd-ipfw-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Mar 2009 09:38:43 -0000

Dmitriy Demidov wrote:
> Hi Luigi. Thank you for answer.
> It is a big "surprise" for me that reassembling of IP datagrams is done not *before* they go into firewall, but *after* :(

But what's wrong with it? A fragment got from net, pass firewall and 
store. After all fragments we got, OS reassembly a packet and pass it 
through firewall again.

-- 
Dixi.
Sem.