LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-14-2007, 01:32 PM   #1
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Rep: Reputation: 15
building a (pass through?) sniffer


I was wondering what terms I should google to build the following:

I would like to build a linux box from an old computer that I would place between my cable modem and firewall (or between any computer on my network and the switch) It would have two NICs and all this box would do is record all the network traffic that goes over the wire.

I googled "sniffer" but since I'm using a switch I don’t see the traffic I'm interested in – which is why I'm thinking about building this box described above.

Any suggestions?

Thanks guys.
 
Old 03-14-2007, 01:48 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
With 'ebtables' you can build yourself a 'brouter' (a Bridging router). This thing will accept packets at one end and spit them right out the other. Some people use this for an IP'less firewall (ie: remotely unhackable).

You could use such a bridge to sniff your traffic, record it, then pass it along as normal.

See:
http://www.linuxjournal.com/article/8172 (example for filtering traffic)
http://freshmeat.net/articles/view/1433/ (example with squid, but still valid)
http://ebtables.sourceforge.net/ (ebtables is like iptables, but at a lower level in the OSI model)
 
Old 03-19-2007, 01:40 PM   #3
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Original Poster
Rep: Reputation: 15
bulliver,

thanks for the info. it was exactly what I was looking for.

-Al
 
  


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
regarding sniffer munna_dude Linux - Networking 3 01-25-2007 01:52 AM
questions on GCC-3.4.3 - Pass 2 and Binutils-2.15.94.0.2.2 - Pass 2 satimis Linux From Scratch 7 12-26-2005 09:23 PM
Planning to change root pass and oracle system pass sathyguy Red Hat 1 12-20-2005 09:53 PM
building Binutils-2.14 pass 1 (LFS 5.1.1) alihamza Linux From Scratch 1 10-10-2005 07:37 AM
Which is the best sniffer? abefroman Linux - Security 3 05-07-2005 03:56 AM

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

All times are GMT -5. The time now is 05:48 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