[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

performance: single ip in table Vs single ip



Hi
Simple question which rule is evaluated faster.
table <ip0-2> const {192.168.0.2}
pass in quick on $int_if from <ip0-2> to any
or
pass in quick on $int_if from 192.168.0.2 to any
I'm asking because tables store accounting for 
ip/out packets + in/out bytes, which is perfect for 
creating rrd's and graphs.
The second rule have sum of evaluations:packes:bytes,
without in/out.
Best regards
T.Koychev
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Key fingerprint=2499 DE87 82ED 23A8 FD20 3078 04FE 610E 300D 6655
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/