LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   trapping packets (https://www.linuxquestions.org/questions/linux-networking-3/trapping-packets-341957/)

mohit_garg 07-10-2005 05:58 PM

trapping packets
 
what i did is enabled packet forwarding and then made my system a router. can i now trap the packets passing thru me and how?

Noth 07-10-2005 06:04 PM

What do you mean trap them? Do you just want to see them with something like tcpdump/ethereal?

mohit_garg 07-10-2005 06:08 PM

trap mean i want to redirect hem into some other file for further dissection?

Noth 07-10-2005 06:11 PM

You can have tcpdump log to a pcap file.

mohit_garg 07-10-2005 06:14 PM

what is it? could u explain?

Noth 07-10-2005 06:24 PM

tcpdump is an application, you sniff traffic with it. You can tell it to match a specific type of packet (or all) and log them to a pcap file, then you can open that file later with tcpdump, ethereal, etc and analyze them.

mohit_garg 07-10-2005 06:29 PM

thanx dear


All times are GMT -5. The time now is 10:54 AM.