logging websites visited

Matthew Emmerton matt at gsicomp.on.ca
Tue Apr 1 12:18:43 PST 2003


----- Original Message -----
From: "Asenchi" <asenchi at asenchi.com>
To: <freebsd-questions at freebsd.org>
Sent: Tuesday, April 01, 2003 2:26 PM
Subject: logging websites visited


> Hello All,
>
> I have a been googling and reading for about 3-4 weeks on this, and can't
seem to find the answer to.  How do I log internet connections through my
firewall.  I am running IPFW with Natd and I want to log who is going to
what site.  Is there a way to do this? (I know, of course there is, ITS
BSD!)
>
> Can anyone help me?

If you create a ipfw log rule to log all outbound access on port 80, you
will get some sort of idea on what web servers people are hitting, but not
the URLs.

If you want to capture the full URL of sites people are hitting, you should
considering running a transparent proxy server (like Squid) on your firewall
box.

--
Matt Emmerton



More information about the freebsd-questions mailing list