> On 23 Dec 2014, at 21:26, Luigi Rizzo <ri...@iet.unipi.it> wrote: > > Ok please pull the "next" branch from code.google.com/p/netmap-ipfw/ > which has a fix applied (set TCP_NODELAY on the connection). > With that i can load a table with 64k entries in about 3 seconds. > > The "master" branch also has the same fix, but loading a table > appears to be buggy when it comes to tables, > I think it is pointless to debug the problem in that branch > since "next" contains more recent code from > Alexander Chernikov which is much more robust for tables. The only thing I can add here is that new table code is capable of doing batch add/del operations via ipfw table AAA add cidr1 value1 [cidr2 value2] [cidr3 value3] ... > > Thanks for the bug report. > > cheers > luigi > > On Tue, Dec 23, 2014 at 2:02 PM, IT Department, AkNet ISP <i...@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-unsubscr...@freebsd.org" > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, ri...@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) > -----------------------------------------+------------------------------- >
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"