wireshark.org protocol dissector with Osmocom additions
Go to file
Stig Bjørlykke 16717f3be2 From Andrew Feren (bug 2462):
Patch to print packet rate.

From me:
Document -x option in man page.

svn path=/trunk/; revision=25024
2008-04-14 20:02:45 +00:00
aclocal-fallback Fix complaint by newer autofoo tools 2007-12-18 00:46:18 +00:00
asn1 Removed #defined preference grouping 2008-04-13 16:21:08 +00:00
cmake/modules Bug 1227 : From Frederic Heem: 2007-10-28 23:49:15 +00:00
codecs From Sebastien Tandel: 2007-03-23 17:49:59 +00:00
debian From Stéphane Loeuillet: patches to fix problems with the .desktop files 2007-09-30 00:18:44 +00:00
diameter Radius AVP updates. 2008-04-09 17:30:09 +00:00
doc From Andrew Feren (bug 2462): 2008-04-14 20:02:45 +00:00
docbook From Marton Nemeth <nm127@freemail.hu> 2008-04-10 20:07:58 +00:00
dtds An old proposal from Martin, append to COL_PROTO the name taken from a matching DTD (in case the media-type actually matches it). Having the name of the root element found would be nicer. 2007-08-10 21:03:26 +00:00
epan From Roberto Morro (bug 2416): 2008-04-14 19:43:39 +00:00
gtk get_profile_name() will always return a valid string. 2008-04-14 15:20:12 +00:00
help From William Pursell: 2008-03-17 21:26:54 +00:00
idl rename the nspi dissector from idl (where the idl2wrs dissectors live) ro epan/dissector/pidl (where the pidl generated dce/rpc dissectors live) 2006-11-05 05:56:27 +00:00
image "const static char *" -> "static const char *" to fix build 2008-04-14 03:29:49 +00:00
packaging Remove the PSTAMP line (dated 2000-07-16). Instead let the package building tool automatically fill it in so that we can get some idea where/when a particular package was actually built. 2008-04-10 21:18:55 +00:00
plugins clarify the stats_tree menu items 2008-04-14 01:11:07 +00:00
radius - Add application Id:s to Diameter 2008-02-08 16:32:12 +00:00
test add a comment that the ping code is running in the background (that caused me some headache :-) 2008-04-13 18:50:45 +00:00
tools Update Lemon to v1.54 and lempar to v 1.31 from sqlite http://www.sqlite.org/cvstrac/dir?d=sqlite/tool 2008-04-08 09:54:19 +00:00
tpncp From Valery Sigalov via bug #1853: Fix the following console error when 2007-11-14 17:39:21 +00:00
wimaxasncp Embedding EAP inside wimaxasncp. 2007-11-16 23:03:09 +00:00
wiretap From Stephen Donnelly (bug 2359): 2008-04-12 10:21:51 +00:00
AUTHORS From Giodi Giorgi (bug 2201): 2008-04-13 21:57:04 +00:00
CMakeLists.txt Bug 1227 : From Frederic Heem: 2007-10-28 23:49:15 +00:00
COPYING Fix minor typo 2007-11-20 17:35:11 +00:00
ChangeLog Add changes up to r23464. 2007-11-16 20:00:00 +00:00
FAQ Update manuf and faq 2008-02-20 13:33:11 +00:00
INSTALL Wireshark is no longer beta software. But it's still software. :-) 2008-04-10 20:34:35 +00:00
INSTALL.configure
Makefile.am add stock icons for expert info and flow graph 2008-04-14 02:09:54 +00:00
Makefile.am.inc Add a script as a front-end for Flex, to work around various problems, 2007-08-04 02:13:52 +00:00
Makefile.common various code cleanup 2008-04-12 23:34:44 +00:00
Makefile.nmake as we can't easily (re)build adns on msvc6, create and use compiler specific dirs (e.g. MSVC2005EE/adns) to place the compiler specific dll/lib files into 2008-04-13 21:21:25 +00:00
Makefile.nmake.inc Add a script as a front-end for Flex, to work around various problems, 2007-08-04 02:13:52 +00:00
NEWS Fix a link. 2007-02-01 20:31:59 +00:00
README Update to reflect that we're using libsmi, not Net-SNMP. 2007-09-29 02:10:25 +00:00
README.aix ethereal->wireshark 2006-05-22 08:21:22 +00:00
README.bsd Include DragonFly BSD in the list of BSDs to which this applies. 2007-09-29 23:42:45 +00:00
README.cmake Add cmake-modules URL 2006-09-06 22:14:20 +00:00
README.hpux ethereal to wireshark changes 2006-06-17 12:21:54 +00:00
README.irix ethereal->wireshark 2006-05-22 08:21:22 +00:00
README.linux ethereal to wireshark changes 2006-06-17 12:21:54 +00:00
README.macos Wireshark builds with 10.4's X11 as well. 2007-09-30 00:03:38 +00:00
README.tru64 ethereal to wireshark changes 2006-06-17 12:21:54 +00:00
README.vmware ethereal to wireshark changes 2006-06-17 12:21:54 +00:00
README.win32 deleted lot's of irrelevant/outdated content from README.win32. 2006-10-16 01:48:16 +00:00
acinclude.m4 Remove GTK1 code. 2008-04-07 04:38:59 +00:00
aclocal-flags
adns_dll.dep attempt to build ADNS on none MSVC6 systems - with the same mechanism as done with ZLIB 2008-04-13 17:58:04 +00:00
adns_dll.rc attempt to build ADNS on none MSVC6 systems - with the same mechanism as done with ZLIB 2008-04-13 17:58:04 +00:00
airpcap.h Revert back to having a local copy of airpcap.h. This should fix building 2007-05-20 22:32:14 +00:00
airpcap_loader.c Remove: 2008-04-09 05:36:08 +00:00
airpcap_loader.h Instead of converting between 802.11 frequencies and channels umpteen 2007-08-17 19:34:14 +00:00
alert_box.c Ethereal->Wireshark 2006-05-28 20:28:20 +00:00
alert_box.h name change 2006-05-21 05:12:17 +00:00
all.vcproj also do a distclean when doing a clean for the all target 2007-09-25 19:22:31 +00:00
autogen.sh Wiretap no longer has its own configure script, so don't do 2007-12-07 22:33:46 +00:00
capinfos.c From Andrew Feren (bug 2462): 2008-04-14 20:02:45 +00:00
capture-pcap-util-int.h Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366) 2007-12-04 11:19:29 +00:00
capture-pcap-util-unix.c Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366) 2007-12-04 11:19:29 +00:00
capture-pcap-util.c Constify some arguments. 2008-02-21 12:30:26 +00:00
capture-pcap-util.h Constify some arguments. 2008-02-21 12:30:26 +00:00
capture-wpcap.c Remove: 2008-04-09 05:36:08 +00:00
capture-wpcap.h Changed email address for Gerald from zing.org to wireshark.org 2008-01-08 22:54:51 +00:00
capture.c - Remove GLIB1 code 2008-04-07 05:22:54 +00:00
capture.h Constify some arguments. 2008-02-21 12:30:26 +00:00
capture_errs.c Add a link to the Providence University WinPcap mirror, and a comment 2007-01-23 01:49:30 +00:00
capture_errs.h name change 2006-05-21 05:12:17 +00:00
capture_info.c Fold the Prism and AVS header dissectors into packet-ieee80211.c, and 2007-12-18 08:01:11 +00:00
capture_info.h name change 2006-05-21 05:12:17 +00:00
capture_opts.c replace confusing #if checking for GlIB2.6.0 by #if GLIB_CHECK_VERSION(2,6,0) 2008-04-09 04:57:47 +00:00
capture_opts.h Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366) 2007-12-04 11:19:29 +00:00
capture_stop_conditions.c fix MSVC warnings of / and set CFLAGS to block new warnings 2007-03-21 23:14:23 +00:00
capture_stop_conditions.h name change 2006-05-21 05:12:17 +00:00
capture_sync.c Emit warning message to log if attempt to send signal to child process fails... 2008-03-21 02:27:58 +00:00
capture_sync.h Constify some arguments. 2008-02-21 12:30:26 +00:00
capture_ui_utils.c Hide hidden devices in "Capture Interfaces" dialog. 2008-01-31 16:47:05 +00:00
capture_ui_utils.h gcc 4 doesn't like my macro for getting the interface description: it says there's an invalid lvalue in it. I don't see what's wrong with it, but replace the macro with a function. Also: don't include the .xpm files in gtk/main.c if we're building without PCAP (as they're not used in that configuration). 2007-08-22 18:56:20 +00:00
capture_wpcap_packet.c from Gisle Vanem: 2007-03-27 21:32:14 +00:00
capture_wpcap_packet.h Changed email address for Gerald from zing.org to wireshark.org 2008-01-08 22:54:51 +00:00
cfile.c break out dfcode from the capture file structure and declare it locally where it is needed. 2007-01-01 10:23:37 +00:00
cfile.h break out dfcode from the capture file structure and declare it locally where it is needed. 2007-01-01 10:23:37 +00:00
cfilters Rename the main executable to "wireshark", along with more conversions: 2006-05-31 19:12:15 +00:00
clopts_common.c Tethereal/tethereal -> TShark/tshark. 2006-05-31 17:38:42 +00:00
clopts_common.h Tethereal/tethereal -> TShark/tshark. 2006-05-31 17:38:42 +00:00
cmakeconfig.h.in Bug 1227 : From Frederic Heem: 2007-10-28 23:49:15 +00:00
cmdarg_err.h name change 2006-05-21 05:12:17 +00:00
color.h name change 2006-05-21 05:12:17 +00:00
color_filters.c Fix another compile error .... 2008-02-27 00:24:24 +00:00
color_filters.h This patch adds support for configuration profiles, which can be used to 2008-01-14 16:40:23 +00:00
colorfilters Fix for Bug 2151: 2008-01-03 07:05:05 +00:00
conditions.c Fixed some strcpy -> strncpy/g_snprintf cleanups. 2008-01-24 23:01:37 +00:00
conditions.h name change 2006-05-21 05:12:17 +00:00
config.guess Update config.sub and config.guess to newer versions 2007-12-17 23:36:41 +00:00
config.h.win32 Delete the *right* config.h.win32. 2007-12-07 23:58:46 +00:00
config.nmake as we can't easily (re)build adns on msvc6, create and use compiler specific dirs (e.g. MSVC2005EE/adns) to place the compiler specific dll/lib files into 2008-04-13 21:21:25 +00:00
config.sub Update config.sub and config.guess to newer versions 2007-12-17 23:36:41 +00:00
configure.in Update the warning flags (suppress one warning that appears with -pedantic) 2008-04-14 19:27:39 +00:00
dfilter_macros The UAT gui starts to work 2007-01-29 10:23:38 +00:00
dfilters
dftest.c No need to call init_plugin_dir() - it gets called, if necessary, by 2007-05-25 20:03:26 +00:00
disabled_protos.c Discard existing list of disabled protocols in read_disabled_protos_list() 2008-01-15 21:41:52 +00:00
disabled_protos.h Changed email address for Gerald from zing.org to wireshark.org 2008-01-08 22:54:51 +00:00
doxygen.cfg.in One more Ethereal -> Wireshark name change 2006-10-20 19:19:33 +00:00
doxygen_global.cfg
dumpcap.c Fix a few typos. 2008-03-24 18:32:15 +00:00
dumpcap.vcproj translate some german to english 2007-09-09 14:58:02 +00:00
editcap.c Long time ago, I added these to troubleshoot a problem a user was seeing but I could not reproduce, as I had no feedback I forgot about removing these prints. 2008-03-25 21:07:52 +00:00
example_snmp_users_file Add a shord description on how the snmp_users_file can be used 2007-01-23 19:56:10 +00:00
file.c we don't need stat_menu.h here 2008-04-14 01:12:29 +00:00
file.h From Francesco Fondelli (bug 2349): 2008-03-11 18:23:16 +00:00
fileset.c Fix yet more casts of ctype.h macro arguments - and fix some cases where 2007-07-14 00:37:01 +00:00
fileset.h name change 2006-05-21 05:12:17 +00:00
filters.c get_datafile_path() and get_persconffile_path() return malloc'd memory, 2008-02-26 19:13:43 +00:00
filters.h Fixed some small typos. 2008-01-08 23:14:13 +00:00
g711.c
g711.h name change 2006-05-21 05:12:17 +00:00
getopt.c nikai@nikai.net: 2006-11-14 20:08:44 +00:00
getopt.h
globals.h name change 2006-05-21 05:12:17 +00:00
inet_ntop.c Fix compilation under VS6 (hopefully without breaking compilation 2007-06-11 18:26:09 +00:00
inet_pton.c Fix compilation under VS6 (hopefully without breaking compilation 2007-06-11 18:26:09 +00:00
inet_v6defs.h Fix compilation under VS6 (hopefully without breaking compilation 2007-06-11 18:26:09 +00:00
isprint.h - Remove GLIB1 code 2008-04-07 05:22:54 +00:00
log.h name change 2006-05-21 05:12:17 +00:00
make-authors-format.pl
make-authors-short.pl
make-faq make-faq: Format of the online file changed slightly. 2007-11-20 17:44:39 +00:00
make-manuf
make-tapreg-dotc
make-version.pl If we have an SVN revision number, use it as the build number under Windows 2008-02-18 18:08:14 +00:00
manuf Fix for bug 2456: 2008-04-14 07:16:37 +00:00
manuf.tmpl add PROFINET Multicast OUI 01:0E:CF (in addition to the unicast 00:0E:CF) 2007-07-31 19:03:43 +00:00
merge.c The first component of a "wtap_nstime" is a "time_t", which could be an 2007-12-05 10:24:37 +00:00
merge.h change all file offsets from long to gint64 so we can - theoretically - handle files > 2GB correct. 2006-11-05 22:46:44 +00:00
mergecap.c Fixed some malloc -> g_malloc, free -> g_free, strdup -> g_strdup. 2008-01-24 19:09:30 +00:00
mkcap.c Fixed some malloc -> g_malloc, free -> g_free, strdup -> g_strdup. 2008-01-24 19:09:30 +00:00
mkstemp.c
mkstemp.h
nio-ie5.c don't cache the downloaded file, so changes in the update file will have an effect while experimenting 2007-02-25 15:44:38 +00:00
nio-ie5.h far from being complete: 2007-01-13 14:33:46 +00:00
packaging.vcproj add various files of PortableApps packaging 2007-11-12 07:33:30 +00:00
packet-range.c name change 2006-05-21 05:12:17 +00:00
packet-range.h name change 2006-05-21 05:12:17 +00:00
pcapio.c OK, fix it properly by adding test after config.h has been included... 2007-02-01 12:34:28 +00:00
pcapio.h name change 2006-05-21 05:12:17 +00:00
perlnoutf.pl
print.c From Francesco Fondelli (bug 2349): 2008-03-11 18:23:16 +00:00
print.h From Francesco Fondelli (bug 2349): 2008-03-11 18:23:16 +00:00
print.ps Ethereal->Wireshark 2006-05-29 05:38:10 +00:00
progress_dlg.h name change 2006-05-21 05:12:17 +00:00
proto_hier_stats.c Added "Apply as filter"/"Prepare a filter"/"Find frame"/"Colorize Protocol" 2007-12-06 18:10:35 +00:00
proto_hier_stats.h Added "Apply as filter"/"Prepare a filter"/"Find frame"/"Colorize Protocol" 2007-12-06 18:10:35 +00:00
ps.h name change 2006-05-21 05:12:17 +00:00
randpkt.c From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol. 2007-05-25 23:40:42 +00:00
rawshark.c Make tshark and rawshark behave similar to wireshark when "frame.time_delta_displayed" is 2008-03-21 06:11:45 +00:00
rdps.c coverity 169 dead code 2006-06-24 03:39:54 +00:00
register.h Squelch some qualifier (const vs. non-const) warnings. 2007-05-25 19:13:49 +00:00
ringbuffer.c Fix for bug 1591: 2007-05-15 07:53:37 +00:00
ringbuffer.h name change 2006-05-21 05:12:17 +00:00
services add IANA port-numbers file as a file named "services", with some minor explanations from me at the top of that file 2007-08-12 20:54:30 +00:00
simple_dialog.h name change 2006-05-21 05:12:17 +00:00
smi_modules remove (for now) the COPS PIBs from the list, as I have added a reprot_failure to give feedback about libsmi errors while loading the modules. 2007-08-28 19:11:36 +00:00
stat_menu.h experimental feature: dissector filters 2007-08-16 22:03:10 +00:00
strcasecmp.c
strerror.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
strerror.h Changed email address for Gerald from zing.org to wireshark.org 2008-01-08 22:54:51 +00:00
strncasecmp.c
strptime.c
strptime.h name change 2006-05-21 05:12:17 +00:00
summary.c Summary enhancements: 2007-11-28 01:09:02 +00:00
summary.h Summary enhancements: 2007-11-28 01:09:02 +00:00
svnadd little helper script that sets props after adding a file 2007-01-29 14:12:57 +00:00
sync_pipe.h Don't hardcode the notion that the sync pipe is the standard output into 2007-09-29 01:15:11 +00:00
sync_pipe_write.c Don't hardcode the notion that the sync pipe is the standard output into 2007-09-29 01:15:11 +00:00
tap-afpstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-ansi_astat.c name change 2006-05-21 05:12:17 +00:00
tap-bootpstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-camelcounter.c Add $Id$ 2008-02-18 22:39:03 +00:00
tap-camelsrt.c Add $Id$ 2008-02-18 22:39:03 +00:00
tap-dcerpcstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-funnel.c - Remove GLIB1 code 2008-04-07 05:22:54 +00:00
tap-gsm_astat.c name change 2006-05-21 05:12:17 +00:00
tap-h225counter.c Removed some more "statement not reached" warnings. 2008-02-07 12:52:08 +00:00
tap-h225rassrt.c Removed some more "statement not reached" warnings. 2008-02-07 12:52:08 +00:00
tap-httpstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-iostat.c Rewrote to use g_strlcpy and g_strlcat. 2008-03-02 21:12:24 +00:00
tap-iousers.c Use G_GINT64_MODIFIER to print gint64's and guint64's. 2007-12-05 10:34:01 +00:00
tap-mgcpstat.c Remove: 2008-04-09 05:36:08 +00:00
tap-protocolinfo.c Rewrote to use g_strlcpy and g_strlcat. 2008-03-02 21:12:24 +00:00
tap-protohierstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-radiusstat.c Add $Id$ 2008-02-18 22:39:03 +00:00
tap-rpcprogs.c Use G_GINT64_MODIFIER rather than PRI[duox]64 to print gint64's and 2007-12-06 08:32:38 +00:00
tap-rpcstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-rtp-common.c Add #include <math.h> 2008-02-03 16:03:53 +00:00
tap-rtp-common.h Add the missing files from Balint Reczey's patch for bug 2233. 2008-02-03 12:36:37 +00:00
tap-rtp.c Removed C++ style comments. 2008-02-03 14:44:21 +00:00
tap-sctpchunkstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-sipstat.c Add 422 "Session Timer Too Small" response code from RFC 4028 2007-06-29 10:47:46 +00:00
tap-smbsids.c include emem 2006-06-18 05:41:14 +00:00
tap-smbstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tap-stats_tree.c Remove almost all of the casts I committed recently and in place of 2007-03-28 21:55:11 +00:00
tap-wspstat.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tempfile.c More rewrite of prohibited APIs (sprintf, strcpy, strcat). 2008-02-03 15:38:20 +00:00
tempfile.h name change 2006-05-21 05:12:17 +00:00
text2pcap-scanner.l Add comments to various %option items to explain what they're doing. 2007-07-30 20:22:37 +00:00
text2pcap.c "Read 1 potential packet, wrote 1 packet": use packet or packets as appropriate 2008-03-01 20:39:31 +00:00
text2pcap.h remove now useless definition of NO_YY_UNPUT 2007-04-03 21:09:29 +00:00
timestats.c name change 2006-05-21 05:12:17 +00:00
timestats.h name change 2006-05-21 05:12:17 +00:00
trigcap.c From Gisle Vanem <gvanem@broadpark.no> 2007-08-25 15:15:55 +00:00
tshark.c http://www.wireshark.org/lists/wireshark-dev/200803/msg00308.html 2008-04-03 22:13:52 +00:00
tshark.vcproj as "advertised" some days ago: 2007-09-25 21:55:06 +00:00
ui_util.h Make sure the "auto scroll in live capture" toolbar button and menu item 2007-12-05 23:50:28 +00:00
update.c Added missing "svn:keywords Id" and "svn:eol-style native" for some 2008-02-08 09:45:36 +00:00
util.c Remove: 2008-04-09 05:36:08 +00:00
util.h name change 2006-05-21 05:12:17 +00:00
version_info.c Don't add newline before LIBCAP, as this is done correct in end_string(). 2008-03-05 09:59:15 +00:00
version_info.h Add routines under Windows to check if npf.sys is running, and to 2007-09-15 00:18:17 +00:00
wireshark.desktop Corrected GenericName for Norwegian (Bokmal) and Norwegian (Nynorsk). 2007-12-20 14:16:13 +00:00
wireshark.sln start to remove gtk1 from the Visual Studio stuff 2008-04-05 08:34:35 +00:00
wireshark.vcproj start to remove gtk1 from the Visual Studio stuff 2008-04-05 08:34:35 +00:00
wka.tmpl Fix for bug 2456: 2008-04-14 07:16:37 +00:00

README

$Id$

General Information
------- -----------

Wireshark is a network traffic analyzer, or "sniffer", for Unix and
Unix-like operating systems.  It uses GTK+, a graphical user interface
library, and libpcap, a packet capture and filtering library.

The Wireshark distribution also comes with Tshark, which is a
line-oriented sniffer (similar to Sun's snoop, or tcpdump) that uses the
same dissection, capture-file reading and writing, and packet filtering
code as Wireshark, and with editcap, which is a program to read capture
files and write the packets from that capture file, possibly in a
different capture file format, and with some packets possibly removed
from the capture.

The official home of Wireshark is

    http://www.wireshark.org

The latest distribution can be found in the subdirectory

    http://www.wireshark.org/distribution


Installation
------------

Wireshark is known to compile and run on the following systems:

  - Linux (2.0 and later kernels, various distributions)
  - Solaris (2.5.1 and later)
  - FreeBSD (2.2.5 and later)
  - NetBSD
  - OpenBSD
  - Mac OS X (10.2 and later)
  - HP-UX (10.20, 11.00, 11.11)
  - Sequent PTX v4.4.5  (Nick Williams <njw@sequent.com>)
  - Tru64 UNIX (formerly Digital UNIX) (3.2 and later)
  - Irix (6.5)
  - AIX (4.3.2, with a bit of work)
  - Win32 (NT, 2000, 2003, XP)

and possibly on other versions of those OSes.  It should run on other
Unix-ish systems without too much trouble.

NOTE: the Makefile appears to depend on GNU "make"; it doesn't appear to
work with the "make" that comes with Solaris 7 nor the BSD "make".
Perl is also needed to create the man page.

If you decide to modify the yacc grammar or lex scanner, then
you need "flex" - it cannot be built with vanilla "lex" -
and either "bison" or the Berkeley "yacc". Your flex
version must be 2.5.1 or greater. Check this with 'flex -V'.

If you decide to modify the NetWare Core Protocol dissector, you
will need python, as the data for packet types is stored in a python
script, ncp2222.py.

You must therefore install Perl, GNU "make", "flex", and either "bison" or
Berkeley "yacc" on systems that lack them.

Full installation instructions can be found in the INSTALL file.
         
See also the appropriate README.<OS> files for OS-specific installation
instructions.

Usage
-----          

In order to capture packets from the network, you need to be running as
root, or have access to the appropriate entry under /dev if your system
is so inclined (BSD-derived systems, and systems such as Solaris and
HP-UX that support DLPI, typically fall into this category).  Although
it might be tempting to make the Wireshark executable setuid root, please
don't - alpha code is by nature not very robust, and liable to contain
security holes.

Please consult the man page for a description of each command-line
option and interface feature.


Multiple File Types
-------------------

The wiretap library is a packet-capture library currently under
development parallel to wireshark.  In the future it is hoped that
wiretap will have more features than libpcap, but wiretap is still in
its infancy. However, wiretap is used in wireshark for its ability
to read multiple file types. You can read the following file
formats:

libpcap (tcpdump -w, etc.) - this is Wireshark's native format
snoop and atmsnoop
Shomiti/Finisar Surveyor
Novell LANalyzer
Network General/Network Associates DOS-based Sniffer (compressed and
    uncompressed)
Microsoft Network Monitor
AIX's iptrace
Cinco Networks NetXRray
Network Associates Windows-based Sniffer
AG Group/WildPackets EtherPeek/TokenPeek/AiroPeek/EtherHelp
RADCOM's WAN/LAN Analyzer
Lucent/Ascend access products
HP-UX's nettl
Toshiba's ISDN routers
ISDN4BSD "i4btrace" utility
Cisco Secure Intrustion Detection System iplogging facility
pppd logs (pppdump-format files)
VMS's TCPIPtrace utility
DBS Etherwatch for VMS
Traffic captures from Visual Networks' Visual UpTime
CoSine L2 debug output
Output from Accellent's 5Views LAN agents
Endace Measurement Systems' ERF format
Linux Bluez Bluetooth stack "hcidump -w" traces
Network Instruments Observer version 9
Trace files for the EyeSDN USB S0

In addition, it can read gzipped versions of any of these files
automatically, if you have the zlib library available when compiling
Wireshark. Wireshark needs a modern version of zlib to be able to use
zlib to read gzipped files; version 1.1.3 is known to work.  Versions
prior to 1.0.9 are missing some functions that Wireshark needs and won't
work.  "./configure" should detect if you have the proper zlib version
available and, if you don't, should disable zlib support. You can always
use "./configure --disable-zlib" to explicitly disable zlib support.

Although Wireshark can read AIX iptrace files, the documentation on
AIX's iptrace packet-trace command is sparse.  The 'iptrace' command
starts a daemon which you must kill in order to stop the trace. Through
experimentation it appears that sending a HUP signal to that iptrace
daemon causes a graceful shutdown and a complete packet is written
to the trace file. If a partial packet is saved at the end, Wireshark
will complain when reading that file, but you will be able to read all
other packets.  If this occurs, please let the Wireshark developers know
at wireshark-dev@wireshark.org, and be sure to send us a copy of that trace
file if it's small and contains non-sensitive data.

Support for Lucent/Ascend products is limited to the debug trace output
generated by the MAX and Pipline series of products.  Wireshark can read
the output of the "wandsession" "wandisplay", "wannext", and "wdd"
commands.  For detailed information on use of these commands, please refer
the following pages:

"wandsession", "wandisplay", and "wannext" on the Pipeline series:
  http://aos.ascend.com/aos:/gennavviewer.html?doc_id=0900253d80006c79

"wandsession", "wandisplay", and "wannext" on the MAX series:
  http://aos.ascend.com/aos:/gennavviewer.html?doc_id=0900253d80006972

"wdd" on the Pipeline series:
  http://aos.ascend.com/aos:/gennavviewer.html?doc_id=0900253d80006877

Wireshark can also read dump trace output from the Toshiba "Compact Router"
line of ISDN routers (TR-600 and TR-650). You can telnet to the router
and start a dump session with "snoop dump".

CoSine L2 debug output can also be read by Wireshark. To get the L2
debug output, get in the diags mode first and then use
"create-pkt-log-profile" and "apply-pkt-log-profile" commands under
layer-2 category. For more detail how to use these commands, you
should examine the help command by "layer-2 create ?" or "layer-2 apply ?".

To use the Lucent/Ascend, Toshiba and CoSine traces with Wireshark, you must 
capture the trace output to a file on disk.  The trace is happening inside 
the router and the router has no way of saving the trace to a file for you.
An easy way of doing this under Unix is to run "telnet <ascend> | tee <outfile>".
Or, if your system has the "script" command installed, you can save
a shell session, including telnet to a file. For example, to a file named
tracefile.out:

$ script tracefile.out
Script started on <date/time>
$ telnet router
..... do your trace, then exit from the router's telnet session.
$ exit
Script done on <date/time>



IPv6
----
If your operating system includes IPv6 support, wireshark will attempt to
use reverse name resolution capabilities when decoding IPv6 packets.

If you want to turn off name resolution while using wireshark, start
wireshark with the "-n" option to turn off all name resolution (including
resolution of MAC addresses and TCP/UDP/SMTP port numbers to names), or
with the "-N mt" option to turn off name resolution for all
network-layer addresses (IPv4, IPv6, IPX).

You can make that the default setting by opening the Preferences dialog
box using the Preferences item in the Edit menu, selecting "Name
resolution", turning off the appropriate name resolution options,
clicking "Save", and clicking "OK".

If you would like to compile wireshark without support for IPv6 name
resolution, use the "--disable-ipv6" option with "./configure".  If you
compile wireshark without IPv6 name resolution, you will still be able to
decode IPv6 packets, but you'll only see IPv6 addresses, not host names.


SNMP
----
Wireshark can do some basic decoding of SNMP packets; it can also use
the libsmi library to do more sophisticated decoding, by reading MIB
files and using the information in those files to display OIDs and
variable binding values in a friendlier fashion.  The configure script
will automatically determine whether you have the libsmi library on
your system.  If you have the libsmi library but _do not_ want to have
Wireshark use it, you can run configure with the "--without-libsmi"
option.

How to Report a Bug
-------------------
Wireshark is still under constant development, so it is possible that you will
encounter a bug while using it. Please report bugs to wireshark-dev@wireshark.org.
Be sure you tell us:

	1) Operating System and version (the command 'uname -sr' may
	   tell you this, although on Linux systems it will probably
	   tell you only the version number of the Linux kernel, not of
	   the distribution as a whole; on Linux systems, please tell us
	   both the version number of the kernel, and which version of
	   which distribution you're running)
	2) Version of GTK+ (the command 'gtk-config --version' will tell you)
	3) Version of Wireshark (the command 'wireshark -v' will tell you,
	   unless the bug is so severe as to prevent that from working,
	   and should also tell you the versions of libraries with which
	   it was built)
	4) The command you used to invoke Wireshark, and the sequence of
	   operations you performed that caused the bug to appear

If the bug is produced by a particular trace file, please be sure to send
a trace file along with your bug description. Please don't send a trace file
greater than 1 MB when compressed. If the trace file contains sensitive
information (e.g., passwords), then please do not send it.

If Wireshark died on you with a 'segmentation violation', 'bus error',
'abort', or other error that produces a UNIX core dump file, you can
help the developers a lot if you have a debugger installed.  A stack
trace can be obtained by using your debugger ('gdb' in this example),
the wireshark binary, and the resulting core file.  Here's an example of
how to use the gdb command 'backtrace' to do so.

$ gdb wireshark core
(gdb) backtrace
..... prints the stack trace
(gdb) quit
$

The core dump file may be named "wireshark.core" rather than "core" on
some platforms (e.g., BSD systems).  If you got a core dump with
Tshark rather than Wireshark, use "tshark" as the first argument to
the debugger; the core dump may be named "tshark.core".

Disclaimer
----------

There is no warranty, expressed or implied, associated with this product.
Use at your own risk.


Gerald Combs <gerald@wireshark.org>
Gilbert Ramirez <gram@alumni.rice.edu>
Guy Harris <guy@alum.mit.edu>