Solved

Wireshark filtering IP and port

Posted on 2016-10-10
4
56 Views
Last Modified: 2016-10-12
Hello there,

I have these 2 machine with IP 192.168.1.123 and 192.168.1.103. The port of the machine 192.168.1.103 is 2111 and 2112 which it is listening on. How can I just sniff these ip and ports with TCP protocol only.

cheers
Zolf
0
Comment
Question by:zolf
  • 2
  • 2
4 Comments
 
LVL 69

Expert Comment

by:Qlemo
ID: 41836445
A capture (not display!) filter of
   (host 192.168.1.123 or host 192.168.1.103) and tcp portrange 2111-2112
should work. It is not 100% exact but should be sufficient.
0
 

Author Comment

by:zolf
ID: 41836448
thanks for your comments. But I get red display in the filter meaning our filter is not correct
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 41836753
As said, you need to set this up as capture filter. You might have to click on the interface first, then set the filter.
WireShark-Capturefilter.png
0
 

Author Closing Comment

by:zolf
ID: 41839887
Cheers
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question