From owner-freebsd-net@FreeBSD.ORG Mon Dec 15 12:11:31 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B27AA5F0 for ; Mon, 15 Dec 2014 12:11:31 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (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 78761309 for ; Mon, 15 Dec 2014 12:11:31 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id ft15so11526302pdb.36 for ; Mon, 15 Dec 2014 04:11:30 -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=m/0KgyAKLjVAv18FeBHVQlZ6Lf5UnoCJMKu8AoQFEkI=; b=fYDg9e2KBDf95eRK6jqV91o5MLc5LzijK4invRIhSJ6nScJYyJE4R/T93E9NhLt68w 5rbM64b8QRG9qZwiMkN3yxtBGFxlGmD6dJYu9H8nKmKmUzvELIKe7NokMHK4fArI7gJN ZTxjCUOJPh+1GVmb7BjGs/KhnFS5nAGzH+QThoRh6ykIkViyPBSUYQTJBbXau9fEYdMq 7uvl1AUwTiCz2RcIpKQxk3KXjXdwntWgCZUG5JSERcibR7gMBtL85b0Fn0cdeHKANRiC Qgx/Kh6UrVbaohfHglPoqDgRzUMvZxvl/ETt/jRnBC7v7yvkIkPNfO0s9EYmH9Pd1Y8m /qlA== MIME-Version: 1.0 X-Received: by 10.70.42.142 with SMTP id o14mr50881013pdl.17.1418645490614; Mon, 15 Dec 2014 04:11:30 -0800 (PST) Received: by 10.70.35.9 with HTTP; Mon, 15 Dec 2014 04:11:30 -0800 (PST) In-Reply-To: References: <20141117193354.T31139@sola.nimnet.asn.au> Date: Mon, 15 Dec 2014 20:11:30 +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:11:31 -0000 *So **please DON'T make me a joker in front of all these big bosses. * On Mon, Dec 15, 2014 at 8:10 PM, bycn82 wrote: > > *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 = in >> > > 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 differenc= e >> > 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 sa= id >> > 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 >> this! >> > >>> > > http://www.dragonflybsd.org/docs/ipfw2/ >> > >>> > >> > >>> > We've had 'ipfw2' for a very long while. I couldn't help >> wondering >> > why >> > >>> > DF wouldn't just import our many years of development and >> experience >> > >>> > rather than using bycn82's 'rewrite'? .. but DF already has ipfw= 2: >> > >>> > >> > >>> > http://leaf.dragonflybsd.org/cgi/web-man?command=3Dipfw§ion= =3DANY >> > >>> > >> > >>> > man page dated October 2008. Before tables, in-kernel NAT, late= r >> > >>> > 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.or= g >> " >> > >> > >> > >> > -- >> > >> -----------------------------------------+------------------------------= - >> > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. >> dell'Informazione >> > 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" >> >