performance impact of large /etc/hosts files
nvass at teledomenet.gr
Tue Dec 11 23:18:15 PST 2007
On Wednesday 12 December 2007 04:06:01 Erich Dollansky wrote:
> > There's no clean solutions to getting different lookups per-user that
> > I
> The clen solution is hosts.
But hosts is operating system-wide.
Both ipfw and pf support tables, which is what you
want, large sets or unrelated (addresses|networks).
Both of them support UID matching as a target
(caution: this feature is not mpsafe on FreeBSD-6).
Out of curiosity, how big your hosts file is?
Can you share it with the rest of us? Perhaps
upload it somewhere, so we can try your approach?
More information about the freebsd-questions