Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
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.


  Search this Thread
Old 09-18-2006, 04:10 PM   #1
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

Last edited by jonty_11; 09-21-2006 at 02:06 PM.
Old 09-19-2006, 03:28 PM   #2
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
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.
/usr/sbin/tcpdump port 5060 -i eth4 -n
Old 09-21-2006, 02:17 PM   #4
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,386
Blog Entries: 15

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



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

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration