LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-29-2003, 05:02 AM   #1
Smooth
Member
 
Registered: May 2003
Location: /home/melbourne
Distribution: RH 8.0
Posts: 39

Rep: Reputation: 15
Ethereal query


Greetings!

How to Restrict ‘ethereal’ to show networking traffic with respect to a particular IP address using command line?

I tried #ethereal -f ip.addr==130.*.*.*

but the above command does not start packet capture.

2) how to implement the same using tcpdump?
 
Old 09-29-2003, 08:13 PM   #2
cetialphav
Member
 
Registered: Sep 2003
Location: Raleigh, NC, USA
Distribution: Fedora
Posts: 88

Rep: Reputation: 16
Does this do what you want?
Code:
[root@perl todd]# ethereal -i eth0 -k -f "net 192.168.10.0/24"
[root@perl todd]#
For tcpdump, it is similar.
Code:
[root@perl todd]# /usr/sbin/tcpdump -i eth0 net 192.168.10.0/24
tcpdump: listening on eth0
20:07:13.893290 perl.631 > 255.255.255.255.631: udp 134 (DF)
20:07:44.923567 perl.631 > 255.255.255.255.631: udp 134 (DF)

2 packets received by filter
0 packets dropped by kernel
[root@perl todd]#
 
  


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
ethereal tomahawktr Linux - Software 0 09-13-2005 08:19 AM
ethereal zero0cool69 Linux - Software 1 11-19-2004 01:13 AM
ethereal ? phishintrip Linux - Networking 12 07-08-2003 01:58 PM
ethereal juanb Linux - Software 6 01-01-2003 09:00 AM
Help with Ethereal... gandalf7 Linux - Newbie 1 09-12-2002 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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