Networking/Computing Tips/Tricks


Wireshark uses a custom syntax to create display filters.  There are millions of possibilities, but here is perhaps a top 10 list.

Of course you can edit these with appropriate addresses and numbers. The ones used are just examples.

1. ip.addr ==
This filters for any packet with, as either the source or destination.

2. ip.addr== && ip.addr==
This creates a conversation filter between the two defined IP addresses.

3. tcp.flags.reset==1 
This filter will find and display all TCP resets.

4. tcp.port==5000 
This creates a filter for any TCP packet with 5000 as a source or destination port.

5. tcp contains test 
This filter will find and display all TCP packets that contain the word ‘test’. Very helpful when searching on a specific string or user ID, for example.

6. !(arp or icmp or dns) 
This filter will mask out arp, icmp, or dns protocols. This is a great way to remove protocols from the view that are not involved with troubleshooting thus allowing you to focus on the traffic that may be the problem.

7. tcp.analysis.retransmission 
This filter will display all retransmissions in the trace. This is helpful when tracking down slow application performance and packet loss.

8. icmp or dns 

This creates a filter to display all icmp and dns packets in the trace.

9. http.request 

This filter will find and display all HTTP GET requests.

10. udp contains 03:28:58 

This filter will find the HEX values of 0x03 0x28 0x58 at any offset in the packet trace.

Should we have done a top 20? What else would you add?

Comments powered by CComment

Find by Tag

4G Networks 5G Networks 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az Ad-Hoc Addressing Analysis Ansible Architecture ARP Assessment AToM Automation Baseline BGP Bloom's Taxonomy Cable cat CellStream Cellular Central Office Cheat Sheet Chrome Cisco Cloud CMD Company Policy Computer Consulting Data Center Data Networking Dependencies DHCPv6 DNS Docker Documentation Dublin-Traceroute dumpcap Earth Earthquakes ECMP Ethernet Ethics Etiquette Evaluation Field Operations Fragmentation G-MPLS Gauge GeoIP GNS3 Google GQUIC Hands-On History Home Network ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 India Internet IoT IPv4 IPv6 IRINN IS-IS L2VPN L3VPN LDP LifeNet Linux LLN LoL M-BGP MAC Macro Microsoft Milky Way mininet Monitoring MPLS mtr MTU Multicast Murphy Name Resolution Netcat NetMon netsh Networking nmap NSE Observations OLPC Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX OTT Paris-Traceroute Parrot PIM PMTU Policy POTS POTS to Pipes PPP Profile Project Management PW3E QoS QUIC Railroad Remote Desktop Requirements Resume Review RIP Routing RPL RSVP Rural SDN Security Service Provider Small Business SONET Speed SSL Status Storms Subnetting SYSCTL T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telephone Testing Tools Traceroute Traffic Engineering Training Travel Tunnel Ubuntu Utility Video Virtualbox Virtualization VoIP VRF VXLAN Wi-Fi Wi-Fi 4 Wi-Fi 5 Wi-Fi 6 Windows Wireless Wireless 5G Wireshark WLAN Writing Zenmap ZigBee

Twitter Feed