load ipfw table addresses from file
Alex Keda
admin at lissyara.su
Fri Apr 9 06:57:34 UTC 2010
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 =(
More information about the freebsd-current
mailing list