LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-10-2005, 05:58 PM   #1
mohit_garg
Member
 
Registered: Jul 2005
Location: india
Distribution: redhat, bsd
Posts: 34

Rep: Reputation: 15
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?
 
Old 07-10-2005, 06:04 PM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
What do you mean trap them? Do you just want to see them with something like tcpdump/ethereal?
 
Old 07-10-2005, 06:08 PM   #3
mohit_garg
Member
 
Registered: Jul 2005
Location: india
Distribution: redhat, bsd
Posts: 34

Original Poster
Rep: Reputation: 15
trap mean i want to redirect hem into some other file for further dissection?
 
Old 07-10-2005, 06:11 PM   #4
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
You can have tcpdump log to a pcap file.
 
Old 07-10-2005, 06:14 PM   #5
mohit_garg
Member
 
Registered: Jul 2005
Location: india
Distribution: redhat, bsd
Posts: 34

Original Poster
Rep: Reputation: 15
what is it? could u explain?
 
Old 07-10-2005, 06:24 PM   #6
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
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.
 
Old 07-10-2005, 06:29 PM   #7
mohit_garg
Member
 
Registered: Jul 2005
Location: india
Distribution: redhat, bsd
Posts: 34

Original Poster
Rep: Reputation: 15
thanx dear
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 03:53 PM
Trapping NFS requests Jayendra Linux - Networking 0 03-01-2004 10:17 AM
Trapping an exit status chrisk5527 Linux - General 3 09-12-2003 10:02 PM
Trapping keystrokes in C k4zau Programming 3 03-09-2003 02:13 PM
trapping signals at bootup Xpolloloco Slackware 4 08-23-2002 10:21 AM

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

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