Commit graph

1397 commits

Author SHA1 Message Date
Bill Meier
c40304819e From David Castleford (with some changes by Bill Meier); See Bug #2935
svn path=/trunk/; revision=26464
2008-10-15 18:22:01 +00:00
Anders Broman
08cc4f2390 Add Ramió Solé to AUTHORS.
svn path=/trunk/; revision=26442
2008-10-13 19:32:54 +00:00
Stig Bjørlykke
9a50932bcf From Ward van Wanrooij (bug 2955):
Add the fragment to the defragmentation sequence if the SMTP dissector
encouters a packet that contains both a DATA fragment and the terminating
\r\n.\r\n sequence.

svn path=/trunk/; revision=26419
2008-10-11 16:01:48 +00:00
Gerald Combs
e3844580e9 Update Dustin's email address.
svn path=/trunk/; revision=26238
2008-09-19 23:57:15 +00:00
Stig Bjørlykke
cb51efd25d From Roy Marples (bug 2781 and bug 2796):
Display FQDN binary encoded name as text
Ensure that get_dns_name does not cross packet sub boundry

From me:
Preserve the usage of bootp.fqdn.name as a display filter

svn path=/trunk/; revision=25981
2008-08-11 12:00:27 +00:00
Stig Bjørlykke
165be68562 From Brooss (bug 2373):
Added TeamSpeak2 dissector

From me:
- Made all local functions static
- Renamed my_vals to conv_vals
- Call correct function to parse LOGINEND
- Fixed some obvious errors in typenames list
- Fixed some indentation

svn path=/trunk/; revision=25973
2008-08-09 18:36:22 +00:00
Gerald Combs
7d8e29f501 From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.
From me:

Instead of adding adns_config.h, place it a custom adns package in
wireshark-win32-libs. Update tools/win32-setup.sh accordingly.

Split the MSVC2008EE variant into MSVC2008 and MSVC2008EE, similar to
MSVC2005 and MSVC2005EE. We have to worry about vcredist_x86.exe in
both cases.

Add Pascal to AUTHORS.

Update the Developer's Guide.

svn path=/trunk/; revision=25921
2008-08-04 23:05:32 +00:00
Anders Broman
774f288597 Give Vincent Helfre and Magnus Sörman credit.
svn path=/trunk/; revision=25919
2008-08-04 20:21:41 +00:00
Gerald Combs
b5a8677250 Add WPA group key decryption from Brian Stormont, via bug 1420:
Although this patch successfully recognizes group keys and decrypts packets
properly using the group key, there is a limitation.  If an AP is using key
rotation, clicking on individual packets in a trace may not properly decrypt a
packet encrypted with a group key.  This is because the current structure used
in Wireshark only supports one active unicast and one active group key.  If a
new key has been seen, but you are looking at a packet encrypted with an older
key, it will not decrypt.  The summary lines, however, do show the packets
properly decrypted.

I've written up a much longer and more detailed explanation in a comment in the
code, along with a proposed idea for a solution, plus a clunky work-around in
the GUI when using the current code.

I also suspect there might still be a problem with decrypting TKIP groups keys
that are sent using WPA2 authentication.  In the most common operation, if you
are using WPA2, you'll also be using AES keys. It's not a common AP
configuration to use WPA2 with TKIP. In fact, most APs don't seem to support
it.  Since it is an uncommon setup, I haven't put aside the time to test this
patch against such an AP.   I do have access to an AP that supports this, so
when I have the time I'll test it and if needed, will submit another patch to
handle that odd-ball condition.

From me:

Remove the decrypt element of s_rijndael_ctx (which was unused, as indicated
in the comments).
Preserve the GPL licensing text in several files (which the patch shouldn't
have removed).
Remove changes that added whitespace.
Convert C++-style comments to C-style.
Update to include recent SVN changes (e.g. renaming variables named "index").
Remove extraneous printf's.
Define DEBUG_DUMP in airpdcap_debug.h.
Comment out some instances of DEBUG_DUMP.
Change malloc/free to g_malloc/g_free.
Use g_memdup instead of allocating and copying.
Use gint16 instead of INT16 in airpdcap_rijndael.c.
Add Brian to AUTHORS.


svn path=/trunk/; revision=25879
2008-07-30 22:32:21 +00:00
Anders Broman
8db1e7a8b2 From David Aggeler:
Follow-up from SVN 25825 check in

The g_slist_free() is really needed in export_object.c, otherwise, the export
list has false (repetitive) entries in it, that cause a crash when selecting
them.

Whether false entries are in the list, only depends on the speed of the export
processing, since this tap is 

Replaced all guchar with gchar. This should eliminate the warnings on solaris. 
I guess I used the wrong reference.

Added patch for 'Authors' in case I need to add myself to the list.

svn path=/trunk/; revision=25834
2008-07-25 22:58:05 +00:00
Martin Mathieson
670f7b46f8 Add Bahaa Naamneh to AUTHORS.
svn path=/trunk/; revision=25792
2008-07-22 18:01:13 +00:00
Jeff Morriss
20193e363e From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2707
The SMPP dissector currently supports only version 3.4. The latest version of
the protocol is version 5.0 and it has been around for a while. However, the
usage of this version of the protocol is only now picking up. 

This patch adds basic support for SMPP 5.0. By basic I mean:
- New Operations and Responses.
- New TLVs.
- New Error codes.
- Any changes to earlier values. 

svn path=/trunk/; revision=25787
2008-07-22 12:13:38 +00:00
Jeff Morriss
1ddf33b720 From Edward J. Paradise via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2693 :

The rfc4938bis draft extends the Point-to-Point over Ethernet (PPPoE) protocol
with an optional credit-based flow control mechanism and an optional Link
Quality Metric report.  These optional extensions improve the performance of
PPPoE over media with variable bandwidth and limited buffering, such as mobile
point-to-point radio links.

Support for rfc4938 already exists in wireshark, but rfc4938bis specifies a new
credit scale factor TLV and the use of the reserved field of the PADQ to
specify max and current data-rate scaling.

svn path=/trunk/; revision=25768
2008-07-19 15:04:20 +00:00
Jaap Keuter
e86825b8f8 From Francesco Fondelli:
Attached is a patch for:
- PW Associated Channel Header dissection as per RFC 4385
- PW MPLS Control Word dissection as per RFC 4385
- mpls subdissector table indexed by label value
- enhanced "what's past last mpls label?" heuristic
- Ethernet PW (w/o CW) support as per RFC 4448

svn path=/trunk/; revision=25730
2008-07-13 17:19:33 +00:00
Stig Bjørlykke
1d4deb0f19 From Jess Balint (bug 2700):
Implement field decoding in mysql protocol dissector.

svn path=/trunk/; revision=25728
2008-07-12 20:02:10 +00:00
Sake Blok
feac4247db From Randy McEoin (bug 2654):
Avaya IPSI Control dissector



svn path=/trunk/; revision=25678
2008-07-08 21:44:05 +00:00
Stig Bjørlykke
af6fa2004c From Sven Eckelmann (bug 2632):
Added B.A.T.M.A.N. dissector

svn path=/trunk/; revision=25520
2008-06-22 00:14:33 +00:00
Stig Bjørlykke
2443329e0c From Peter Hertting (bug 2633):
Added support for IUA carrying X.25.

svn path=/trunk/; revision=25518
2008-06-21 23:40:17 +00:00
Stig Bjørlykke
2f8d9b3542 From Shigeo Nakamura (bug 2466):
Added a dissector of XTP version 4.0.

svn path=/trunk/; revision=25116
2008-04-19 09:19:32 +00:00
Stig Bjørlykke
428703d8ad From Giodi Giorgi (bug 2201):
Fix dumping of PROTECTION INFO and GENERALIZED UNI according to RFC3471.

svn path=/trunk/; revision=25002
2008-04-13 21:57:04 +00:00
Stig Bjørlykke
dc84f3a887 From Jesus Roman (bug 2431):
The decoded value of Size Packet shown as "From the calling DTE" is the value
of "From the called DTE".

When the size packet to negotiate has any of 512, 1024, 2048 or 4096 bytes, the
value shown decoded is erroneus.


The patch attached also includes new decoded facilities:

- Extended CUG selection.
- Extended access outgoing CUG selection.
- Extended RPOA selection.
- NUI selection.

- Charging info selection.
- Call dureation.
- Segment Count.
- Monetary Unit.

svn path=/trunk/; revision=24932
2008-04-12 13:41:53 +00:00
Stig Bjørlykke
ca57423786 From Philip Frey (bug 2443):
Add new dissectors for the iWARP protocol stack.
The code can handle the following 3 protocols:
- MPA
- DDP
- RDMAP

svn path=/trunk/; revision=24931
2008-04-12 12:46:30 +00:00
Stig Bjørlykke
69b892fe00 Align some mail addresses.
svn path=/trunk/; revision=24737
2008-03-27 19:44:50 +00:00
Jaap Keuter
d690541905 Add SMPP statistics by Abhik Sarkar
svn path=/trunk/; revision=24663
2008-03-17 07:33:13 +00:00
Gerald Combs
68d23708bc From Stephen Donnelly via bug 2235:
This plugin implements a dissector for Infiniband. It is released 
under the GPL v2.

Rather than using say libpcap to capture raw (unframed) IP packets 
from near the top of an IPoIB stack, this plugin dissects link level
Infiniband frames.

Infiniband trace files can be read from Endace ERF format trace 
files, or from libpcap DLT_ERF files containing ERF TYPE_INFINIBAND 
records. There is currently no native DLT_INFINIBAND in libpcap.

Each record contains a hardware timestamp, capture metadata such as 
port Id, and a complete link level Infiniband frame starting from
the Local Route Header.

svn path=/trunk/; revision=24628
2008-03-14 17:47:53 +00:00
Jaap Keuter
9815fec31d Attribute Xcsl dissector.
svn path=/trunk/; revision=24626
2008-03-14 07:10:07 +00:00
Gerald Combs
335927f46f From Hannes Kalber:
This patch adds some new ENCAP and FILE types for wiretap. It also adds new
entries to pcap_to_wtap_map[] to provide a mapping of the new types to some
pcap DLTs.

svn path=/trunk/; revision=24622
2008-03-14 00:01:51 +00:00
Gerald Combs
106968d7e8 From Hariharan Ananthakrishnan:
I have added two new display filters to support filtering based on LSP-ID and
hostname for ISIS protocol. 

svn path=/trunk/; revision=24621
2008-03-13 23:45:48 +00:00
Stig Bjørlykke
5800abad46 From Francesco Fondelli (bug 2349):
Attached is a patch to export packets data as "C Arrays".  I often have
the need to [re]send data captured with wireshark using a raw/pf_packet socket.
Output format is one char[] per packet, it looks like almost the same as
the one produced by "Follow TCP stream".

svn path=/trunk/; revision=24604
2008-03-11 18:23:16 +00:00
Jeff Morriss
bde6848d5a From Florian Lohoff via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2320 : A new (heuristic) dissector for the RedBack Lawful Intercept Packet header.
svn path=/trunk/; revision=24579
2008-03-06 20:09:34 +00:00
Jaap Keuter
4562744a64 Properly attribute the FOUNDATION Fieldbus dissector to Yukiyo Akisada.
Correct protocol name.

svn path=/trunk/; revision=24503
2008-02-29 07:53:15 +00:00
Jeff Morriss
f5f636db9e From Holger Pfrommer via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2205
This is a new dissector plugin for Hilscher analyzer frames.
These frames are generated by Hilscher analyzer products and are identified via
their unique source MAC address (this is a reserved MAC from Hilscher-range and
will never be used by another network device). Most likely these frames are
only generated on a virtual network interface or the generating device is
attached directly via patch cable to a real network interface, but not routed
through a network. The Ethernet-header (destination MAC, source MAC and
Length/Type) is not displayed in the protocol tree for these frames as this is
overhead-information which has no practical use in this case.

Note:

This is a heuristic Ethernet dissector which means it gets called for every
Ethernet frame.  So as to not cause a performance hit for most Wireshark users
it has a preference which, by default, disables the dissector.

svn path=/trunk/; revision=24495
2008-02-27 23:39:25 +00:00
Gerald Combs
98bacb3556 Add rawshark, a utility that, when given raw pcap-formatted packets and
a list of fields, prints the field values found in each packet.

Packet data can be specified as a libpcap DLT, e.g. "EN10MB" or an upper-layer protocol, e.g. "http".

svn path=/trunk/; revision=24339
2008-02-15 23:20:32 +00:00
Stig Bjørlykke
a356f552b4 Added WLAN Traffic Statistics dialog.
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +00:00
Stig Bjørlykke
138381e214 From Thomas Dreibholz (bug 2248):
Add a dissector for the Scripting Service Protocol provided as part of the
RSPLIB package.  RSPLIB is an Open Source implementation of the upcoming
Reliable Server Pooling standard.  The scripting service is an application
for load distribution, based on Reliable Server Pooling.

From me:
Shorten the protocol name to SSP.

svn path=/trunk/; revision=24276
2008-02-06 14:28:30 +00:00
Stig Bjørlykke
ef625890aa From Shane Kearns (bug 2237):
Added support for Symbian OS btsnoop.

The bluetooth HCI layer in Symbian OS can be configured to log all packets to a
file.  The log format, "btsnoop" is based on the RFC1761 "snoop" format - but
differences in the header make it incompatible.

The btsnoop format supports logging of these formats:
"H1" (raw HCI packets without framing)
"H4" (HCI UART packets including packet type header)
"H5" (HCI 3 wire UART packets including framing)
"BCSP" (HCI bluecore serial protocol including framing)

"H1" and "H4" are section numbers in the original v1 bluetooth specifications,
but still used colloquially - wireshark's existing support for Linux bluez HCI
logs uses the "H4" name.

In practice, the "H1" format is used for H5,BCSP and USB HCI logs, as the HCI
packet logs are mainly useful for debugging higher layers, bluetooth profiles
and bluetooth applications.

From me:
Deleted some unused prototypes.
Mark an unused parameter.

svn path=/trunk/; revision=24263
2008-02-03 21:11:53 +00:00
Mike Duigou
98ccd35021 Update my email address.
svn path=/trunk/; revision=24225
2008-01-29 23:30:27 +00:00
Jaap Keuter
e5aa8c3f52 Adding Thomas Morin
svn path=/trunk/; revision=24214
2008-01-28 17:27:22 +00:00
Stig Bjørlykke
86358dc032 From Olivier Montanuy (bug 2198):
Fix the bug related to Option template:
- System scope (check that options scope size is == 4, not <= 4)
- Interface scope (same)
Same fix for fields BytesExported PacketsExported FlowsExported.
Also fix some tabulations in a previous patch related to IPv6 Addresses.

svn path=/trunk/; revision=24138
2008-01-19 10:46:13 +00:00
Jeff Morriss
3be6284ef3 From Andy Chu: A dissector for China Mobile Point to Point (cmpp) protocol,
it's the SMS protocol used in China.

From me: some code cleanup and convert it from a plugin to a regular
dissector.

svn path=/trunk/; revision=24060
2008-01-10 21:23:53 +00:00
Stephen Fisher
3f944ed30b Add preliminary dissector for network protocol used by Microsoft DirectPlay.
From Kai Blin via bug #2134.


svn path=/trunk/; revision=23968
2007-12-29 05:40:43 +00:00
Stig Bjørlykke
3a1af23bf8 Corrected a name in AUTHORS.
svn path=/trunk/; revision=23963
2007-12-28 22:31:15 +00:00
Stephen Fisher
d00059d2bc From metatech:
New dissector for RTMP(T) protocol

via bug #2078


svn path=/trunk/; revision=23902
2007-12-17 20:43:38 +00:00
Stig Bjørlykke
be828015cf Add the magic again...
svn path=/trunk/; revision=23890
2007-12-16 18:26:50 +00:00
Stig Bjørlykke
fa34d46851 From Fulko Hew:
1/ patches to support the libpcap/SITA format 'WTAP_ENCAP_SITA'.
2/ patches to the LAPB dissector to accept MLP (Multi-link protocol)
   (although MLP dissection has _not_ been added (yet)).
3/ New protocol dissectors for:
   a) SITA's WAN layer 0 status header,
   b) An airline protocol ALC,
   c) An airline (and other industry) protocol UTS.

These patches are submitted as a set since the new protocol dissectors are not
useful without the libpcap/SITA related changes, and there is no point in
having those changes without the additional dissectors.

This fixes bug/enhancement 2016.

svn path=/trunk/; revision=23885
2007-12-16 14:21:37 +00:00
Stig Bjørlykke
672659c0c2 From Marton Nemeth:
Error message when capturing too short WTAP_ENCAP_USB_LINUX type packets
contains a copy-paste typo.

From me:
Fix some addresses in AUTHORS.

svn path=/trunk/; revision=23882
2007-12-16 13:01:13 +00:00
Sake Blok
9f829f4ba2 Bug 1997 From Timo Teras:
Patch to do the following:
1) Dissect CIE Lists in NHRP Extensions
2) Dissect original NHRP packet in Error Indication
3) Support for Cisco NAT extensions
4) Support for Cisco NHRP Traffic Indication packet


svn path=/trunk/; revision=23587
2007-11-25 18:10:01 +00:00
Sake Blok
9b6f806089 This patch adds (ten) temporary coloring rules which will only live until Wireshark is
quit. Temporary coloring filters can be set by:

- pressing <ctrl>-<digit> will create a conversation coloring filter based on the
  addresses of the currently selected packet (order TCP/UDP/IP/Ethernet)
  This can also be achieved from the "View|Colorize Conversation" menu.

- Rightclicking on a packet in the packet-list will give the option to
  "Colorize Conversation" just as "Conversation Filter" does.

- Rightclicking on an item in the packet-detail-list will give the option to
  "Colorize with filter" which works similar to "Apply as filter"

Temporary filters can be cleared from the same menus or by pressing <ctrl>-<space>.

This patch also adds an item to the above mentioned menu's to add a permanent color filter
in the same way.


The colors for the temporary coloring rules are now hardcoded as I do not know
how to change the color of menu-items and therefore I chose to use icons to
show the actual color of each of the ten temporary coloring rules. Is it at all
possible to have different menu items in different colors?

One other way of solving this is to recreate the icons on the fly after changing
the colors. I will have a look into that once it is clear whether I can use 
different colors within the menu structure.


svn path=/trunk/; revision=23560
2007-11-24 11:38:16 +00:00
Stig Bjørlykke
d6f0b0c2af From Jens Braeuer:
Added support for Wifi Simple Config aka Wifi Protected Setup

From me:
Added standard copyright header to packet-wps

svn path=/trunk/; revision=23549
2007-11-23 17:48:28 +00:00
Sake Blok
3c9a7b9dcd Bug 1954 From Mikael Magnusson :
This patch updates the DTLS dissector to be compatible with OpenSSL 0.9.8f in
the following ways:
* Handle both SSL version number 0xfeff (RFC 4347 and OpenSSL 0.9.8f), and
0x100 (Used by OpenSSL 0.9.8e and earlier)
* Reassemble fragmented handshake messages.





svn path=/trunk/; revision=23369
2007-11-05 23:05:20 +00:00