Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2007 09:20:45 +0200
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        freebsd-questions@freebsd.org
Cc:        Erich Dollansky <oceanare@pacific.net.sg>, Alex Zbyslaw <xfb52@dial.pipex.com>
Subject:   Re: performance impact of large /etc/hosts files
Message-ID:  <200712120920.46626.nvass@teledomenet.gr>
In-Reply-To: <475F4209.8080507@pacific.net.sg>
References:  <475E0190.7030909@pacific.net.sg> <475EC215.8060004@dial.pipex.com> <475F4209.8080507@pacific.net.sg>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

Nikos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712120920.46626.nvass>