Update of /cvsroot/netadm/gwc/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16776/scripts
Modified Files:
gwc
Log Message:
MOD:
1. Replace current linkedlist in pf to hashtable for better performance.
as there are more rules of pf, the performance will be better than linkedlist.
it was inspired by route cache in linux of alan cox's
debug flag will print the result of pf.
2. Add IOCTLPF_REFLESH
from now, only the rules in GUI or cli of pf will be applied only if
user click "apply" or hostpol_apply in cli command.
TODO: support subnet in "flow control"
Index: gwc
===================================================================
RCS file: /cvsroot/netadm/gwc/scripts/gwc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** gwc 30 Jan 2006 17:41:26 -0000 1.1.1.1
--- gwc 17 Feb 2006 06:59:00 -0000 1.2
***************
*** 163,167 ****
start gwcadmd
start gwcguid
! insmod ${MODDIR}/pf.ko
reload ip_tables
reload iptable_filter
--- 163,167 ----
start gwcadmd
start gwcguid
! insmod ${MODDIR}/pf.ko debug=0
reload ip_tables
reload iptable_filter
|