LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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: 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.
Code:
/usr/sbin/tcpdump port 5060 -i eth4 -n
 
Old 09-21-2006, 02:17 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,086
Blog Entries: 7

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


Reply

Tags
tcpdump


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


All times are GMT -5. The time now is 05:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration