Software:Wireshark
Wireshark GUI | |
Original author(s) | Gerald Combs[1] |
---|---|
Developer(s) | The Wireshark team |
Initial release | 1998 |
Written in | C, C++, Lua |
Operating system | Cross-platform |
Type | Packet analyzer |
License | GPL-2.0-or-later[2][3] |
Website | {{{1}}} |
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, the project was renamed Wireshark in May 2006 due to trademark issues.[4]
Wireshark is cross-platform, using the Qt widget toolkit in current releases to implement its user interface, and using pcap to capture packets; it runs on Linux, macOS, BSD, Solaris, some other Unix-like operating systems, and Microsoft Windows. There is also a terminal-based (non-GUI) version called TShark. Wireshark, and the other programs distributed with it such as TShark, are free software, released under the terms of the GNU General Public License version 2 or any later version.
Functionality
Wireshark is very similar to tcpdump, but has a graphical front-end and integrated sorting and filtering options.
Wireshark lets the user put network interface controllers into promiscuous mode (if supported by the network interface controller), so they can see all the traffic visible on that interface including unicast traffic not sent to that network interface controller's MAC address. However, when capturing with a packet analyzer in promiscuous mode on a port on a network switch, not all traffic through the switch is necessarily sent to the port where the capture is done, so capturing in promiscuous mode is not necessarily sufficient to see all network traffic. Port mirroring or various network taps extend capture to any point on the network. Simple passive taps are extremely resistant to tampering[citation needed].
On Linux, BSD, and macOS, with libpcap 1.0.0 or later, Wireshark 1.4 and later can also put wireless network interface controllers into monitor mode.
If a remote machine captures packets and sends the captured packets to a machine running Wireshark using the TZSP protocol or the protocol used by OmniPeek, Wireshark dissects those packets, so it can analyze packets captured on a remote machine at the time that they are captured.
History
In the late 1990s, Gerald Combs, a computer science graduate of the University of Missouri–Kansas City, was working for a small Internet service provider. The commercial protocol analysis products at the time were priced around $1500[5] and did not run on the company's primary platforms (Solaris and Linux), so Gerald began writing Ethereal and released the first version around 1998.[6] The Ethereal trademark is owned by Network Integration Services.
In May 2006, Combs accepted a job with CACE Technologies with Loris Degioanni. Combs still held copyright on most of Ethereal's source code (and the rest was re-distributable under the GNU GPL), so he used the contents of the Ethereal Subversion repository as the basis for the Wireshark repository. However, he did not own the Ethereal trademark, so he changed the name to Wireshark.[7] In 2010 Riverbed Technology purchased CACE[8] and took over as the primary sponsor of Wireshark. Ethereal development has ceased, and an Ethereal security advisory recommended switching to Wireshark.[9] In 2022, Sysdig took over as the primary sponsor of Wireshark and in 2023, Sysdig established and put Wireshark into the Wireshark Foundation.[10]
Wireshark has won several industry awards over the years,[11] including eWeek,[12] InfoWorld,[13][14][15][16][17] and PC Magazine.[18] It is also the top-rated packet sniffer in the Insecure.Org network security tools survey[19] and was the SourceForge Project of the Month in August 2010.[20]
Combs continues to maintain the overall code of Wireshark and issue releases of new versions of the software. The product website lists more than 2000 contributing authors.[21]
Features
Wireshark is a data capturing program that "understands" the structure (encapsulation) of different networking protocols. It can parse and display the fields, along with their meanings as specified by different networking protocols. Wireshark uses pcap to capture packets, so it can only capture packets on the types of networks that pcap supports.
- Data can be captured "from the wire" from a live network connection or read from a file of already-captured packets.
- Live data can be read from different types of networks, including Ethernet, IEEE 802.11, PPP, and loopback.
- Captured network data can be browsed via a GUI, or via the terminal (command line) version of the utility, TShark.
- Captured files can be programmatically edited or converted via command-line switches to the "editcap" program.
- Data display can be refined using a display filter.
- Plug-ins can be created for dissecting new protocols.[22]
- VoIP calls in the captured traffic can be detected. If encoded in a compatible encoding, the media flow can even be played.
- Raw USB traffic can be captured.[23]
- Wireless connections can also be filtered as long as they traverse the monitored Ethernet.[clarification needed]
- Various settings, timers, and filters can be set to provide the facility of filtering the output of the captured traffic.
Wireshark's native network trace file formats are the libpcap format read and written by libpcap, WinPcap, and Npcap, so it can exchange captured network traces with other applications that use the same format, including tcpdump and CA NetMaster, and the pcapng format read by newer versions of libpcap. It can also read captures from other network analyzers, such as snoop,[24] Network General's[25] Sniffer, and Microsoft Network Monitor.[26]
Security
Capturing raw network traffic from an interface requires elevated privileges on some platforms. For this reason, older versions of Wireshark and TShark often ran with superuser privileges. Considering the huge number of protocol dissectors that are called when traffic is captured and recognizing the possibility of a bug in a dissector, a serious security risk can be posed. Due to the rather large number of vulnerabilities in the past (of which many have allowed remote code execution) and developers' doubts for better future development, OpenBSD removed Ethereal from its ports tree prior to OpenBSD 3.6.[27]
Elevated privileges are not needed for all operations. For example, an alternative is to run tcpdump or the dumpcap utility that comes with Wireshark with superuser privileges to capture packets into a file, and later analyze the packets by running Wireshark with restricted privileges. To emulate near realtime analysis, each captured file may be merged by mergecap into a growing file processed by Wireshark. On wireless networks, it is possible to use the Aircrack wireless security tools to capture IEEE 802.11 frames and read the resulting dump files with Wireshark.
As of Wireshark 0.99.7, Wireshark and TShark run dumpcap to perform traffic capture. Platforms that require special privileges to capture traffic need only dumpcap run with those privileges. Neither Wireshark nor TShark need to or should be run with special privileges.
Color coding
Wireshark can color packets based on rules that match particular fields in packets, to help the user identify the types of traffic at a glance. A default set of rules is provided; users can change existing rules for coloring packets, add new rules, or remove rules.[28]
Simulation packet capture
Wireshark can also be used to capture packets from most network simulation tools such as ns and OPNET Modeler.[29]
See also
Notes
- ↑ "Wireshark – About". The Wireshark Foundation. https://www.wireshark.org/about.html.
- ↑ "Wireshark FAQ License". https://www.wireshark.org/faq.html#sec1.
- ↑ "COPYING". July 20, 2022. https://gitlab.com/wireshark/wireshark/-/blob/master/COPYING.
- ↑ "Wireshark FAQ". https://www.wireshark.org/faq.html#q1.2.
- ↑ "Gussied-up NetXRay takes on enterprise features". InfoWorld. November 17, 1997. https://books.google.com/books?id=PzwEAAAAMBAJ&q=netXray&pg=PA101-IA9.
- ↑ "Q&A with the founder of Wireshark and Ethereal". Interview with Gerald Combs. protocolTesting.com. http://www.protocog.com/gerald_combs_interview.html.
- ↑ "What's up with the name change? Is Wireshark a fork?". Wireshark: Frequently Asked Questions. https://www.wireshark.org/faq.html#q1.2.
- ↑ "Riverbed Expands Further Into The Application-Aware Network Performance Management Market with the Acquisition of CACE Technologies". Riverbed Technology. October 21, 2010. http://www.riverbed.com/us/company/news/press_releases/2010/press_102110.php.
- ↑ "enpa-sa-00024". Ethereal. November 10, 2006. http://ethereal.com/appnotes/enpa-sa-00024.html.
- ↑ Bridgwater, Adrian. "Sysdig Wireshark Foundation, We're Gonna Need A Safer Cloud" (in en). https://www.forbes.com/sites/adrianbridgwater/2023/03/01/sysdig-wireshark-foundation-were-gonna-need-a-safer-cloud/.
- ↑ "Awards and Accolades". Wireshark: About. https://www.wireshark.org/about.html.
- ↑ "Wireshark". The Most Important Open-Source Apps of All Time. eWEEK. May 28, 2012. https://www.eweek.com/servers/the-most-important-open-source-apps-of-all-time/6/.
- ↑ Yager, Tom (September 10, 2007). "Best of open source in networking". InfoWorld. http://www.infoworld.com/article/2649627/networking/best-of-open-source-in-networking.html.
- ↑ "Best of open source software awards: Networking". InfoWorld. August 5, 2008. http://www.infoworld.com/article/2638694/techology-business/best-of-open-source-software-awards--networking.html. Retrieved April 28, 2015.
- ↑ Mobley, High (September 18, 2012). "Bossie Awards 2012: The best open source networking and security software". InfoWorld. http://www.infoworld.com/article/2606792/open-source-software/bossie-awards-2012--the-best-open-source-networking-and-security-software.html#slide15.
- ↑ Ferrill, Paul (September 17, 2013). "Bossie Awards 2013: The best open source networking and security software". InfoWorld. http://www.infoworld.com/article/2687032/open-source-software/119872-Bossie-Awards-2012-The-best-open-source-networking-and-security-software.html#slide18.
- ↑ Garza, Victor R. (September 29, 2014). "Bossie Awards 2014: The best open source networking and security software". InfoWorld. http://www.infoworld.com/article/2688076/networking/networking-164815-bossie-awards-2014-the-best-open-source-networking-and-security-software.html#slide8.
- ↑ Lynn, Samara. "Wireshark 1.2.6". Wireshark 1.2.6 Review & Rating (PC Magazine). https://www.pcmag.com/article2/0,2817,2360043,00.asp.
- ↑ "Wireshark is No. 1 of Top 14 Packet Sniffers". Insecure.Org. http://sectools.org/sniffers.html.
- ↑ "Wireshark, SourceForge Project of the Month, August 2010". SourceForge. August 2, 2010. http://sourceforge.net/blog/blog/potm-201008/.
- ↑ "Wireshark About Page". Wireshark. https://www.wireshark.org/about.html.
- ↑ "Dissector compilation example". OmniIDL. http://www.arena.free.fr/?article=Dev/Wireshark.
- ↑ "USB capture setup". Wireshark Wiki. http://wiki.wireshark.org/CaptureSetup/USB.
- ↑ "Snoop". Wireshark. https://wiki.wireshark.org/snoop.md#:~:text=Wireshark%20and%20TShark%20can%20read,in%20snoop's%20binary%20file%20format..
- ↑ "NETSCOUT". Wireshark. https://www.wireshark.org/faq.html.
- ↑ "Microsoft Network Monitor". Wireshark. https://ask.wireshark.org/question/3255/microsoft-network-monitor-cap-file-can-be-opened-by-wireshark-but-save-as-function-is-disabled/.
- ↑ "CVS log for ports/net/ethereal/Attic/Makefile". Openbsd.org. https://cvsweb.openbsd.org/ports/net/ethereal/Attic/Makefile?only_with_tag=HEAD.
- ↑ "Packet colorization of Wireshark". Wireshark. https://www.wireshark.org/docs/wsug_html_chunked/ChCustColorizationSection.html.
- ↑ Hnatyshin, Vasil Y.; Lobo, Andrea F.. "Undergraduate Data Communications and Networking Projects Using OPNET and Wireshark Software". http://users.rowan.edu/~hnatyshin/Publications/SIGCSE08-hnatyshin.pdf.
References
- Orebaugh, Angela; Ramirez, Gilbert; Beale, Jay (February 14, 2007). Wireshark & Ethereal Network Protocol Analyzer Toolkit. Syngress. p. 448. ISBN 978-1-59749-073-3. http://www.syngress.com/hacking-and-penetration-testing/Wireshark-amp-Ethereal-Network-Protocol-Analyzer-Toolkit/.
- Sanders, Chris (May 23, 2007). Practical Packet Analysis: Using Wireshark to Solve Real-World Network Problems. No Starch Press. p. 192. ISBN 978-1-59327-149-7. http://nostarch.com/packet.htm.
- Chappell, Laura (March 31, 2010). Wireshark Network Analysis: The Official Wireshark Certified Network Analyst Study Guide. Protocol Analysis Institute, dba “Chappell University”. p. 800. ISBN 978-1-893939-99-8. http://www.wiresharkbook.com/.
- Cheok, Roy (July 1, 2014). "Wireshark: A Guide to Color My Packets". SANS Institute Reading Room (SANS Institute). http://www.sans.org/reading-room/whitepapers/detection/wireshark-guide-color-packets-35272.
External links
Wikimedia Commons has media related to Wireshark. |
Original source: https://en.wikipedia.org/wiki/Wireshark.
Read more |