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
Ian
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
cc: marxy
marxy is right....u can use tcpdump and run it in background ...............
charanjeet singh
charanjeet singh
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
You can read this forum thread
http://www.webhostingtalk.com/showthread.php?threadid=231413
The official site is
http://www.tcpdump.org/