Date: Tue, 21 Oct 2003 19:26:04 -0700 From: Jos Backus <jos@catnook.com> To: freebsd-net@freebsd.org Subject: Filtering question: checking for many addresses in a single rule? Message-ID: <20031022022626.GA91044@lizzy.catnook.com>
next in thread | raw e-mail | index | archive | help
If one has many (thousands) hosts/addresses that the same filter action needs to be taken for, what would be the most efficient way to implement this using, say, ipfw or ipfilter? I'm referring to the ability to create/load a large hashed set of addresses and a way to refer to the set in a filter rule. So rather than having many rules that need to be scanned sequentially there would only be one rule and the matching mechanism would use a hash table instead. Thoughts? -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031022022626.GA91044>