Date: Fri, 09 Apr 2010 10:57:31 +0400 From: Alex Keda <admin@lissyara.su> To: freebsd-current@freebsd.org Subject: load ipfw table addresses from file Message-ID: <4BBECFDB.6080001@lissyara.su>
next in thread | raw e-mail | index | archive | help
hi!
is there any plans to implement such opportunities?
for large files (we have 60k lines) it's very slow work
srv1# sh -E
# wc -l /root/scripts/db/table.25.txt
61073 /root/scripts/db/table.25.txt
# date && for i in `cat /root/scripts/db/table.25.txt`; do ipfw table 25
add $i; done && date
пятница, 9 апреля 2010 г. 10:42:01 (MSD)
пятница, 9 апреля 2010 г. 10:52:43 (MSD)
#
it took more than 10 minutes on busy server =(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BBECFDB.6080001>
