LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2005, 06:28 PM   #16
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Original Poster
Rep: Reputation: 30

Hi Geoff, pleased to help if I can.

I would add that iptables logging via LOG and ULOG will only log IP addressesorts (and lots of other stuff, like TCP) flags of packets; it won't log an actual URL which is probably what you want.

What you might want to do is add Squid to your NAT box to provide proxying. This will have the added advantage of speeding up your local connection and providing logging of actual URLs. Squid can be complex to set up though.

Once I'm done getting ULOG and Squid working properly I'll post a HOW-TO; my project mandates that it be done by mid-June at the latest so it should be posted around then.
 
Old 05-18-2005, 08:27 PM   #17
gjhicks
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Posts: 47

Rep: Reputation: 15
Hello Michael,

Thanks for the reply. Given our relative understanding of iptables stuff, I reckon I will wait until you have finished your project!

Just for your information, I am using Privoxy as a content filter and it seems to be working pretty well. The standard Privoxy setup is most concerned with blocking ads, bad javascript, window focus stealers and (to be frank) other pretty silly stuff. I used its ability to block by the strings/substrings in URLs and to filter/replace words on web pages, employing a heavily modified configuration.

I wrote in this LQ post how I have set it up.

Happy to answer (or at least try!) any questions.

Regards,

Geoff.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up an internet gateway with web usage logging jcbeckettnz Linux - Newbie 7 05-03-2005 08:20 AM
Iptables logging Mogwa_ Linux - Security 2 08-01-2004 02:54 PM
Shorewall with ulog for logging to a diffrent file igbe Linux - Software 0 07-24-2004 04:06 PM
iptables general question blackzone Linux - Networking 1 07-23-2004 01:11 PM
Logging\Filtering Packets Through a Gateway ASP Linux - Software 2 10-21-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration