LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-18-2006, 04:10 PM   #1
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Rep: Reputation: 15
Thumbs down TCPDUMP on SuSE Linux


Hi ,

I am unable to capture traffic on UDP Port 5060 while running tcpdump on SuSE Linux.

Kernel version 2.6.16.21-0.8

Last edited by jonty_11; 09-21-2006 at 02:06 PM.
 
Old 09-19-2006, 03:28 PM   #2
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
Solution to tcpdump issue

looks like the tcpdump cannot run port filter as tehre is vlan header in the ethernet packets. So in order to skip that put the following filter

/usr/sbin/tcpdump -n -i eth4 vlan and port 5060
 
Old 09-21-2006, 10:15 AM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Putting your real Internet public addesses in a public forum is asking for trouble. Enough said.

Try putting the "port 5060" before any of the dash options. It's just a crazy idea but I always put my host and port parameters before any dash parameters. Of course I prefer to use Ethereal to tcpdump anyway.
Code:
/usr/sbin/tcpdump port 5060 -i eth4 -n
 
Old 09-21-2006, 02:17 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I was going to panic but then realized I DID bring a towel...
 
  


Reply

Tags
tcpdump



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
help tcpdump blackzone Linux - Networking 1 10-08-2004 07:07 AM
tcpdump iquadri1 Linux - Networking 1 09-29-2001 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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

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