Link to home
Create AccountLog in
Avatar of Rebelnorth
Rebelnorth

asked on

I need a packet sniffer that can be run as a service in the background...

I wanted to use tethereal to capture packets, but I have to be logged into to use it.  I want it to log packets, then those logs will be transfer via a script to another machine.    I want it to continuously log packets.  I really wish I could use tethereal... but I may not be able to.  Any suggestions? Points split amongst answers.
Ian
ASKER CERTIFIED SOLUTION
Avatar of Barthax
Barthax
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of marxy
marxy

use tcpdump

You can read this forum thread
http://www.webhostingtalk.com/showthread.php?threadid=231413

The official site is
http://www.tcpdump.org/
cc: marxy
marxy is right....u can use tcpdump and run it in background ...............

charanjeet singh
Avatar of Rebelnorth

ASKER

K I see tcpdump.  How do I make it in run in the background.  Lets say I want it to start logging on boot up, or when I login to the console, then when I log out of the console I want it to run without stopping.  I tried putting & behind it but it doesnt run in the background, in other words it closes when I log out.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.