From: Noor on
Hi All,

I want to develope a firewall program that maintain tcp session
table,each entry identify the the state of the session, each session
key is 96-bit and constructing from source and destination IPs, source
and destination ports. my issue is which algorithm is practical, and
has fast lookup,insert and delete? is radix-tree or Btree? can u
please suggst me good one?

Regards
From: Alex Colvin on
>... each session
>key is 96-bit and constructing from source and destination IPs, source
>and destination ports.

Hash.

--
mac the na�f
From: Noor on
On May 6, 12:52 am, Alex Colvin <al...(a)TheWorld.com> wrote:
> >... each session
> >key is 96-bit and constructing from source and destination IPs, source
> >and destination ports.
>
> Hash.
>
> --
> mac the naïf

so you think the Hash is good, mmm i will think.

Thanks