performance impact of large /etc/hosts files

RSean rseans at
Mon Dec 24 23:49:54 PST 2007

Hi guys,

Just curious if anyone has tried regular expressions to handle ads and

We have a small network of about 10 users. We use SafeSquid as proxy and
content filter. It supports the use of regex for defining rules.

The URL Filter section has 2 default rules for blocking ads and banners -



I am not a very technical person, but the first rule, I think, is a regex
that defines hosts that serve ads; while the second rule is a regex for
words that the file part of a url may contain.

These rules very efficiently block ads and banners at the gateway, saving
b/w and improving surfing experience.

Just thought I should mention this.

View this message in context:
Sent from the freebsd-questions mailing list archive at

More information about the freebsd-questions mailing list