http://zyxman.livejournal.com/ ([identity profile] zyxman.livejournal.com) wrote in [personal profile] nuclight 2012-07-09 08:58 pm (UTC)

Я таблицы в ipfw гружу так:
awk '{ print "table 1 add ",$0," \n" }' < $1 | /sbin/ipfw /dev/stdin

Скорость загрузки примерно в 1000 раз ускоряется, тк там самая дорогая операция запуска ipfw, а он может хоть миллион правил за один запуск влить.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting