New Firewall (hpf) for DragonFlyBSD
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Sat Jan 10 12:36:29 PST 2004
On 10.01.2004, at 15:47, Proceau wrote:
If one wanted to go this way, one could easily use an unsigned char or
With unsigned char one can address that 256 table what is too too
with shorts int, one can address 65535 table it is more acceptable but
too is can for the large ones numbers rules. That becomes correct
from 3 bytes, which gives 16 million table, but 3 bytes it is
the memory, therefore the best choice remains 4 bytes, and which more
that is the fastest solution on the most current architecture.
For me 4 octets it"s the big value for lot of rules and the less value
small memory use.
I thought 256 would be enough as the firewall has a binary tree with
256 nodes each level.
\ ASCII Ribbon Campaign
/ \ Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
More information about the Submit