Вместо 2*count($user_ip) правил:
сделать где-то сверху
exec("ipfw add nat 65000 ip from table 101 to any");
exec("ipfw add nat 65000 ip from any to $real_ip");
заполняет rrd файлы, читает rrd файлы для построения отчетов и графиков, еще syslog пишет туда логи которые сыпятся к нему со всей сети
и это всё в рутовый слайс? Вы так специально сделали?
Вот вам ещё полезная гляделка: top -m io. Ну посмотрите же наконец-то man fstat.
Пофиксили?
Revision 205603
Modified Wed Mar 24 15:19:47 2010 UTC (39 hours, 32 minutes ago) by luigi
MFC 205602:
Honor ip.fw.one_pass when a packet comes out of a pipe without being delayed.
I forgot to handle this case when i did the mtag cleanup three months ago.
I am merging immediately because this bugfix is important for
people using RELENG_8.
Это не критично, у всех так.
vjcomp - сжатие заголовков IP пакетов, имхо полезно только при очень медленных каналах.
Вам действительно нужно proxy-arp? С ним пока проблемы в 8 версии.
Ответ только на:
setfib 1 route add default a.a.a.a
setfib 2 route add default b.b.b.b
setfib 3 route add default c.c.c.c
ipfw add 10 setfib 1 any from x.x.x.x/24 to any
ipfw add 20 setfib 2 any from y.y.y.y/24 to any
ipfw add 30 setfib 3 any from z.z.z.z/24 to any
А про остальное - непонятна цель :)
man ipfw:
The tablearg argument can be used with the following
actions: nat, pipe, queue, divert, tee, netgraph, ngtee, fwd, skipto
action parameters: tag, untag, rule options: limit, tagged.
man em:
....
Tunables can be set at the loader(8) prompt before booting the kernel or
stored in loader.conf(5).
hw.em.rxd
Number of receive descriptors allocated by the driver. The
default value is 256. The 82542 and 82543-based adapters can
handle up to 256 descriptors, while others can have up to 4096.
hw.em.txd
Number of transmit descriptors allocated by the driver. The
default value is 256. The 82542 and 82543-based adapters can
handle up to 256 descriptors, while others can have up to 4096.
....