LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 03-07-2006, 11:48 AM   #1
RayMetz100
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Do I want a linux router/firewall to log internet DNS activity?


One of my old employers had a watchguard firewall and I believe it logged DNS requests. I remember I could see what web sites our employees were browsing. I now want something similar for my house, to see what sites my kids have been browsing. I don't want parent controls on the PC itself, because I want my son to install his own operating systems and stuff.

The last time I used Linux was about 6 years ago, but I'd like to give it another try at home. I'd like it to run on as small and quiet of PC as possible, with no keyboard and mouse, and access it's log directory over the network from a Windows PC.

If there's a cheap hardware router/firewall that already does this, or even windows software, I'd like to know that too. I think the watchguard firewall I used was over $1,000.


Thanks,

Ray Metz
 
Old 03-07-2006, 12:14 PM   #2
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
iptables -A INPUT -p tcp --dport 53 -j LOG --log-prefix "DNS-Traffic(tcp):"
iptables -A INPUT -p udp --dport 53 -j LOG --log-prefix "DNS-Traffic(udp):"

Those two iptables commands will dump all traffic on port 53 to your syslog, which you could then monitor for "bad sites".

For a more complex and complete solution(including blocking) you could look into setting up a transparent proxy with squid.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does linux log all the browser request activity? vous Linux - Networking 6 03-21-2011 04:05 AM
Linux router/firewall box for shared Internet access from 3 separate LANs? dan.patton Linux - Networking 4 04-15-2006 05:37 PM
which log gives me info about internet activity? dr_zayus69 Linux - Newbie 7 12-03-2004 05:14 PM
Yikes! No one can get Internet thru Linux gateway/router/firewall/DHCP Avatar Linux - Networking 14 02-11-2004 08:50 PM
DNS / Mail / NAT capable modem-router / Linux firewall stealthy1 Linux - Networking 9 04-01-2003 08:35 PM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration