From owner-freebsd-net@FreeBSD.ORG Mon Dec 15 12:10:13 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8579054E for ; Mon, 15 Dec 2014 12:10:13 +0000 (UTC) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C85923E for ; Mon, 15 Dec 2014 12:10:13 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id eu11so11733592pac.11 for ; Mon, 15 Dec 2014 04:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jXNfGR/9dnhM1fOxsaWs23/wsC+SPKdUhqm9tlv1M10=; b=nksKnB+Cdaa8XxSdaonfkmGXE1mMWo5oESXnngSr7BB3GXZxyNx8mJd2G6ztx3ta+E yobW/XLRXiipgug51XBs6PgZ6nl5O24lBkp1Jcl2Qj/Q9+xdNKsr7Ge7jtQ5qMn++UFx oU01zSdbBIcxcfniMNW74znqaKBOJDdtEBuzlIBSM5XLRlFHjItvuLm1XMhbWoLJ6D0G OzfQpt9dwff4OU0xz/DjEGtJmduvtTS0ftSI6U/VVOnmE2oojldRXGLXa+cBfBY63DqT fRPmkoh+JkSCEzeAGRC/lIZqzNZTttoOXI97oRwgsuU9AuIE8EBiSlbSk8oFaiRrl3Wz WrRw== MIME-Version: 1.0 X-Received: by 10.68.221.106 with SMTP id qd10mr50211105pbc.98.1418645412784; Mon, 15 Dec 2014 04:10:12 -0800 (PST) Received: by 10.70.35.9 with HTTP; Mon, 15 Dec 2014 04:10:12 -0800 (PST) In-Reply-To: References: <20141117193354.T31139@sola.nimnet.asn.au> Date: Mon, 15 Dec 2014 20:10:12 +0800 Message-ID: Subject: Re: dragonflybsd's ipfw From: bycn82 To: Sato Kentney Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Luigi Rizzo , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2014 12:10:13 -0000 *Hi Sato,* *I am also in this email list, If you have any question, You can ask,I just double checked whether I made mistake or not, and I only found "**To be honest, my rewrite version of ipfw2 is nothing special but it runs on this great system". So **please make me a joker in front of all these big bosses. * *Compare to the ipfw in FreeBSD, there are few differences. not a big deal.= * *1. modular* *2. lock-less* *3. old version* *Regards,* *Bycn82* On Mon, Dec 15, 2014 at 4:34 PM, Sato Kentney wrote= : > > hi > ok. i will test it. > but he said it is faster > > 2014-12-15 15:26 GMT+08:00 Luigi Rizzo : > > > > On Mon, Dec 15, 2014 at 7:49 AM, Sato Kentney > > wrote: > > > hi, > > > his ipfw2 is ok for test now. > > > http://www.dragonflydigest.com/2014/12/11/15220.html > > > i meet some problem in testing so asking qesstion in drafonflybsd's > email > > > list. > > > and i want to know is it correct that the ipfw2 is faster than ipfw i= n > > > freebsd? it is what he said. > > > > i don't think he ever said that, and in any case the code seems to be > > taken straight from the 2002 freebsd version so i highly doubt there > > is any speed difference (let alone a measurable one with packets > > going through the kernel stack; to see an actual performance difference > > you'd need to run the code through netmap or some high speed framework) > > > > see http://code.google.com/p/netmap-ipfw/ > > > > cheers > > luigi > > > > > sure i will test it by myself. > > > thanks > > > > > > On 25 November 2014 at 09:17, bycn82 wrote: > > >> > > >> *that ipfw2 means "ipfw too", because it is originally from FreeBSD > and > > >> totally not new create things, IMHO* > > >> > > >> *BTW Sato, I think the in-kernel NAT is almost there, I tested the > basic > > >> NAT and it works in my lab environment.* > > >> > > >> > > >> On Tue, Nov 18, 2014 at 9:38 AM, Sato Kentney > > >> wrote: > > >> > > >>> i agree, > > >>> i am not good in english as networking administor from Tokyo. > > >>> but when i read the page, i see that the main idea is so call > "modular > > >>> design" and there is a long way to catch up the freebsd's ipfw > > >>> > > >>> anyway, i dont think it can compare to freebsd's ipfw, as Smith sai= d > > their > > >>> ipfw is the version without in-kernel NAT and tables .all these > > important > > >>> features > > >>> > > >>> On Mon, Nov 17, 2014 at 5:07 PM, Ian Smith > > wrote: > > >>> > > >>> > On Mon, 17 Nov 2014 15:48:13 +0800, Sato Kentney wrote: > > >>> > > > >>> > > I saw a email in dragonflybsd email list, someone is doing thi= s! > > >>> > > http://www.dragonflybsd.org/docs/ipfw2/ > > >>> > > > >>> > We've had 'ipfw2' for a very long while. I couldn't help wonderi= ng > > why > > >>> > DF wouldn't just import our many years of development and > experience > > >>> > rather than using bycn82's 'rewrite'? .. but DF already has ipfw2= : > > >>> > > > >>> > http://leaf.dragonflybsd.org/cgi/web-man?command=3Dipfw§ion= =3DANY > > >>> > > > >>> > man page dated October 2008. Before tables, in-kernel NAT, later > > >>> > dummynet updates and no doubt more. So why not start from there? > > >>> > > > >>> > cheers, Ian > > >>> > > > >>> > > >>> > > >>> > > >>> -- > > >>> =E3=81=82=E3=82=8A=E3=81=8C=E3=81=A8=E3=81=86 > > >>> =E4=BD=90=E8=97=A4=E6=9F=AF=E5=BE=B7 > > >>> Sato K. > > >>> _______________________________________________ > > >>> freebsd-net@freebsd.org mailing list > > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net > > >>> To unsubscribe, send any mail to " > freebsd-net-unsubscribe@freebsd.org" > > >>> > > >> > > >> > > > > > > -- > > > =E3=81=82=E3=82=8A=E3=81=8C=E3=81=A8=E3=81=86 > > > =E4=BD=90=E8=97=A4=E6=9F=AF=E5=BE=B7 > > > Sato K. > > > _______________________________________________ > > > freebsd-net@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org= " > > > > > > > > -- > > -----------------------------------------+-----------------------------= -- > > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazion= e > > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > > TEL +39-050-2211611 . via Diotisalvi 2 > > Mobile +39-338-6809875 . 56122 PISA (Italy) > > -----------------------------------------+-----------------------------= -- > > > > > -- > =E3=81=82=E3=82=8A=E3=81=8C=E3=81=A8=E3=81=86 > =E4=BD=90=E8=97=A4=E6=9F=AF=E5=BE=B7 > Sato K. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >