LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-11-2004, 08:51 AM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Arrow Iptables and tcpdump question


When you are running tcpdump does it see the network traffic before iptables is run or after?

I have a backup server that doesn't do anything during the daytime and I also have a Intrusion Detection server(IDS), sometimes I see some oddball traffic coming through the IDS server but there is so much info that I cannot just look at that, I wanted to use iptables to redirect the traffic to my backup machine and then use tcpdump to just look at the packets I am redirecting.

Where the problem comes in is I have constent traffic from router protocols and netbios queries and such that I am having trouble just seeing what traffic is being redirected. Is there a way I can just block all the traffic going to the backup machine except for whats comming from the IDS server? When I block the traffic in iptables it seems that tcpdump picks it up before it is blocked by iptables.
 
Old 05-11-2004, 07:01 PM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Tcpdump shows the packets as they are in the cable.

You can give tcpdump rules to select what to show/not show.

You could use an alternative sniffer such as ethereal.
 
  


Reply



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
tcpdump question gauge73 Linux - Newbie 2 08-09-2005 04:37 PM
tcpdump and arp question blackzone Linux - Networking 2 07-01-2004 12:25 PM
tcpdump -n question Melissa22 Linux - Networking 3 03-07-2004 08:05 PM
tcpdump question Xris718 Linux - Networking 1 12-08-2003 11:42 PM
tcpdump and iptables alpha-wolf Linux - Networking 0 08-15-2001 09:31 AM

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

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