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 04: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 05: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 05:08 PM

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

Noth 07-10-2005 05:11 PM

You can have tcpdump log to a pcap file.

mohit_garg 07-10-2005 05:14 PM

what is it? could u explain?

Noth 07-10-2005 05: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 05:29 PM

thanx dear


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