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 10-31-2013, 02:39 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
WireShark: Capture filter for range of ip addresses


I am using Debian 7.0 and am using WireShark 1.8.2 to capture pakcets to and from my server. Once I check out ipaddresses and decide I do not want to worry about them I filter them out with

Code:
net !(173.194.43.0/24)
to ignore Google packets. However, I would like to do the same for Yahoo! which has an range 206.190.32.0 - 206.190.63.255. I looked here and it doesn't say how to select a range of ip addresses such as the range for Yahoo!

Thanks,
OH.
 
Old 10-31-2013, 03:06 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
206.190.32.0/19

and to find that out, I just open terminal and
Code:
whois 206.190.32.0 | grep CIDR
 
1 members found this post helpful.
Old 10-31-2013, 04:28 PM   #3
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Habitual View Post
206.190.32.0/19

and to find that out, I just open terminal and
Code:
whois 206.190.32.0 | grep CIDR
Thanks very much for your reply. I tried the following capture filter.

Code:
!(net 173.194.43.0/24 or net 206.190.32.0/24)
and it worked.

Thanks very much!
OH.

Last edited by OtagoHarbour; 10-31-2013 at 05:56 PM.
 
  


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
Wireshark filter can't match TOS ivanatora Linux - Networking 4 02-11-2009 06:17 AM
How to get a packet capture using WireShark RN16 Linux - General 2 02-08-2009 12:21 PM
Dansguardian - Won't filter new addresses added to filter list TechnoBod Linux - Software 1 01-08-2008 01:40 AM
How to capture packets using wireshark exl75 Linux - General 24 07-21-2007 02:10 AM
Want to know method wireshark or tcpdump to capture packet? haxpor Programming 1 04-12-2007 01:08 AM

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

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