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 Addressing Analysis Ansible Architecture ARP AToM Baseline BGP Bloom's Taxonomy Broadband Cable cat CellStream Cellular Central Office Cheat Sheet Chrome Cisco Cloud CMD Coloring Rules Computer Consulting Customer Support Data Center Data Networking DHCPv6 DNS Docker Documentation Dublin-Traceroute dumpcap ECMP Ethernet Ethics Evaluation Field Operations Fragmentation G-MPLS GeoIP Git GNS3 Google GQUIC Hands-On History Home Network ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 India Interface Control Internet IoT IPsec IPv4 IPv6 IRINN IS-IS L2VPN L3VPN LDP Linux LLN LoL M-BGP MAC Macro Microsoft mininet Monitoring MPLS mtr MTU Multicast Name Resolution Netcat Netmiko NetMon netsh Networking Network Science nmap Npcap NSE Observations Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX OTT Paris-Traceroute Parrot PIM PMTU Policy POTS POTS to Pipes PPP Profile Programming Project Management PW3E Python QoS QUIC Remote Desktop Requirements Resume RIP Routing RPL RSVP Rural SDN Security Service Provider Small Business SONET Speed SS7 SSH SSL Subnetting SYSCTL T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telephone termshark Testing TLS 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 Winpcap Wireless Wireless 5G Wireshark Wireshark Tip WLAN Writing Zenmap ZigBee

Twitter Feed