From owner-freebsd-net@FreeBSD.ORG Sat Aug 2 11:25:06 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7374106566C for ; Sat, 2 Aug 2008 11:25:06 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from dire.wubethiopia.com (j071.v.rootbsd.net [208.79.82.223]) by mx1.freebsd.org (Postfix) with ESMTP id AC9AE8FC08 for ; Sat, 2 Aug 2008 11:25:06 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from rogue.mike.lan (unknown [213.55.65.29]) by dire.wubethiopia.com (Postfix) with ESMTPSA id DF8954FDA214; Sat, 2 Aug 2008 11:24:54 +0000 (UTC) Message-ID: <4894456F.6060607@wubethiopia.com> Date: Sat, 02 Aug 2008 14:30:55 +0300 From: Mike Makonnen User-Agent: Thunderbird 2.0.0.12 (X11/20080323) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ermal_Lu=E7i?= References: <9a542da30807311344u34422adauade5c2b62b71804a@mail.gmail.com> <4892E3BE.2030900@wubethiopia.com> <9a542da30808010850o22ebbe4er4e56e6f700a37c5e@mail.gmail.com> In-Reply-To: <9a542da30808010850o22ebbe4er4e56e6f700a37c5e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: Application layer classifier for ipfw X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2008 11:25:06 -0000 Ermal Luçi wrote: > On Fri, Aug 1, 2008 at 12:21 PM, Mike Makonnen wrote: > >> Ermal Luçi wrote: >> >>> Thanks for this. >>> I have a question, you remove a flow from if you see a FIN for the TCP >>> case and only on overlapping flow for either TCP/UDP how do the other >>> flows expire i am missing that part? >>> >>> >>> >> No, you're not missing anything. It's on my TODO list. I wanted to get >> this out and get feedback as early as possible, so I released it as soon as >> I had it basically working. I'm thinking of storing some session >> information >> for the flow (like a timestamp for the last packet seen) and implementing >> a garbage collector thread that removes sessions that have been idle for >> some period of time. >> >> > > BTW, why not make it a port?! > That's the plan as soon as I'm happy with it. I've created a sourceforge project (I just haven't had time to set it up yet), and in a few weeks I'll submit a port for it. Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mtm @ FreeBSD.Org | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 FreeBSD | http://www.freebsd.org