Date: Tue, 23 Dec 2014 16:42:49 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: "IT Department, AkNet ISP" <info@aknet.kg> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Netmap-ipfw, how to fill a table by 15K entries ? Message-ID: <CA%2BhQ2%2Bhckawj=agT-KPJ8un%2BQ9%2B%2B4iYtM0YeYd2xL13PKXjK3w@mail.gmail.com> In-Reply-To: <20141223130201.83220.333300601.swift@crm.aknet.kg> References: <20141223130201.83220.333300601.swift@crm.aknet.kg>
next in thread | previous in thread | raw e-mail | index | archive | help
please take the code from code.google.com/p/netmap-ipfw/ The symptoms you describe seem related to a bug that i fixed a couple of months ago. cheers luigi On Tue, Dec 23, 2014 at 2:02 PM, IT Department, AkNet ISP <info@aknet.kg> wrote: > Hello to All > > Can anybody tell, how to fill a table with large number of entries ? > > Sure, It can be done by standard method by ./ipfw table 10 add > xxx.xxx.xxx.xxx in a script, but each entry takes couple of seconds to > be placed into a table: > > ./ipfw table 10 add 192.168.10.50 > connected to 127.0.0.1:5555 > > And takes many hours to do all job. > > May be there is a way to open a socket and place a bulk commands, for > example: > telnet localhost 5555 > table 10 add xxx.xxx.xxx.xxx > > But it doesn't work as written above. > > May be Senior Luigi can explane how to do such work as fast as it > done by ordinary ipfw ? > > Best regards > Azamat > AkNet ISP > > _______________________________________________ > 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'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2211611 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2Bhckawj=agT-KPJ8un%2BQ9%2B%2B4iYtM0YeYd2xL13PKXjK3w>