Difference between revisions of "Wireshark"

From ArchWiki
Jump to: navigation, search
m (interlanguage link)
Line 1: Line 1:
[[Category:Security (English)]][[Category:Networking (English)]]
[[Category:Security (English)]][[Category:Networking]]

Revision as of 17:52, 23 April 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Originally named Ethereal, in May 2006 the project was renamed Wireshark due to trademark issues.


The wireshark package has been split into -cli and -gtk versions (the cli package is a dependency of the gtk package).

To install both the gui and the cli:

# pacman -S wireshark-gtk

To install just the cli:

# pacman -S wireshark-cli

Capturing as normal user

  • Add yourself to the wireshark group
# gpasswd -a "username" wireshark
  • Log out and log in

A few capturing techniques

There are a number of different ways to capture exactly what you are looking for in Wireshark, by applying filters.

Note: To learn the filter syntax, see man pcap-filter(7).

Filtering TCP packets

If you want to see all the current TCP packets, type tcp into the "Filter" bar.

Filtering UDP packets

If you want to see all the current UDP packets, type udp into the "Filter" bar.

Filter packets to a specific IP Address

  • If you would like to see all the traffic going to a specific address, enter ip.dst ==, replacing with the IP address the outgoing traffic is being sent to.
  • If you would like to see all the incoming traffic for a specific address, enter ip.src ==, replacing with the IP address the incoming traffic is being sent to.