Commit graph

8480 commits

Author SHA1 Message Date
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
1dbe6e584a From Philip Frey (bug 2420):
Merge of the CRC32C calculation out of packet-iscsi.c and packet-sctp.c
into the already existing crc32.c and crc32.h files.

svn path=/trunk/; revision=24930
2008-04-12 12:31:53 +00:00
Sake Blok
a4cec1cf5f From Andrew Ferren (big 2434):
While borrowing code from an other dissector I have worked on I realized I
previously "borrowed" a comment and typo.  Here's a fix.


svn path=/trunk/; revision=24928
2008-04-12 09:35:48 +00:00
Jaap Keuter
f6bf2c9451 From Mark C. Brown:
Added support for HPVM (Integrity Virtual Machines) guest AVIO (Accelerated Virtual IO) 
driver IGSSN and 2nd generation 10 Gigabit Ethernet adapter AD386A driver ICXGBE.

svn path=/trunk/; revision=24926
2008-04-12 09:23:35 +00:00
Ronnie Sahlberg
22fe177634 add dissection of scsi/mmc close track (and fix a bug)
svn path=/trunk/; revision=24917
2008-04-11 23:14:22 +00:00
Graham Bloice
be9061324c Corrected assumption that offset is always > start_offset. If the first object in the response is a packed bit type, then offset won't be moved until at least 8 bits have been processed.
svn path=/trunk/; revision=24897
2008-04-11 17:11:48 +00:00
Luis Ontanon
2a96b4aff6 fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2448
Tvb:xxx() functions are unpropperly named Tvb:get_xxx in the wsluarm


svn path=/trunk/; revision=24887
2008-04-10 23:59:19 +00:00
Jaap Keuter
f94b46363e Turbocell dissector, initially by Colin Slater for Ethereal 0.10.7, extended with help from sample capture by Jerome Poulin.
svn path=/trunk/; revision=24886
2008-04-10 23:56:10 +00:00
Luis Ontanon
f35472dc08 From Marton Nemeth:
"defaults to MENU_STAT_GENERIC" added to the description of the group argument of register_menu()


svn path=/trunk/; revision=24885
2008-04-10 23:28:15 +00:00
Jaap Keuter
c9db014cd4 From Roberto Morro:
New display filters added to LOCAL_NODE_ID and REMOTE_NOTE_ID SubTLVs (MPLS_TE
opaque LSA)

svn path=/trunk/; revision=24884
2008-04-10 21:42:19 +00:00
Jaap Keuter
a118b8b41b Fix a comment to please the compiler.
svn path=/trunk/; revision=24883
2008-04-10 21:39:55 +00:00
Anders Broman
620f7e73f6 Use the correct length for APDU:s.
svn path=/trunk/; revision=24881
2008-04-10 20:51:10 +00:00
Luis Ontanon
db608bdf76 From Marton Nemeth <nm127@freemail.hu>
correct example and documentation about register_menu()

my own: do not fail to make init.lua when building in a different dir



svn path=/trunk/; revision=24879
2008-04-10 20:07:58 +00:00
Jeff Morriss
d4b67e68f4 From Florian Lohoff: fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2376 (and hopefully the other complaints about RedbackLI grabbing packets that aren't RedbackLI) by strengthening the heuristics.
svn path=/trunk/; revision=24878
2008-04-10 19:35:07 +00:00
Stig Bjørlykke
188543e98d Added some casts from double to float.
svn path=/trunk/; revision=24877
2008-04-10 18:22:59 +00:00
Jeff Morriss
9e54e45e70 From http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2413 : fix comment typo
svn path=/trunk/; revision=24876
2008-04-10 15:26:22 +00:00
Jaap Keuter
9afe93024a Fix for bug 2440 and 2187:
Properly promote the result to a float by dividing by a float i.s.o. elaborate casts

svn path=/trunk/; revision=24874
2008-04-10 06:47:31 +00:00
Guy Harris
a837356771 Fix name of file in comment to reflect current reality.
svn path=/trunk/; revision=24867
2008-04-09 18:29:29 +00:00
Anders Broman
63c5c71cf8 Remove:
#ifdef NEED_G_ASCII_STRCASECMP_H
#include "g_ascii_strcasecmp.h"
#endif

svn path=/trunk/; revision=24859
2008-04-09 05:36:08 +00:00
Anders Broman
5def12c00c Update to latest spec.
svn path=/trunk/; revision=24851
2008-04-08 19:36:41 +00:00
Guy Harris
8beb192d32 The integral type with which an enumerated type is equivalent is,
according to the ANSI C standard, implementation-defined; it could be
unsigned, in which case checking whether it's < 0 will cause a compiler
warning.

Casting a signed enum to unsigned will turn negative values into Really
Big Positive Values, so casting to unsigned and comparing against the
maximum value will catch values with the sign bit set regardless of
whether enums are signed or unsigned.

svn path=/trunk/; revision=24850
2008-04-08 17:48:04 +00:00
Anders Broman
1c373ca2ac Update to latest spec.
svn path=/trunk/; revision=24849
2008-04-08 15:42:39 +00:00
Anders Broman
5566136894 From Martin Peylo:
Show MTU discovery bytes in TIPC Link State messages
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2390

svn path=/trunk/; revision=24848
2008-04-08 14:49:56 +00:00
Anders Broman
65c48c392d From Michael Lum:
Most ANSI A information elements are not displayed.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2388

svn path=/trunk/; revision=24847
2008-04-08 14:42:52 +00:00
Anders Broman
25b308442d Update Lemon to v1.54 and lempar to v 1.31 from sqlite http://www.sqlite.org/cvstrac/dir?d=sqlite/tool
svn path=/trunk/; revision=24845
2008-04-08 09:54:19 +00:00
Ulf Lamping
df724f83cd remove GTK1 specific font handling
svn path=/trunk/; revision=24842
2008-04-08 04:47:32 +00:00
Stig Bjørlykke
2bb13ae2c2 From Jim Young:
Attached is a patch to the ldap_reinit() function to fix bug 2407.
This particular bug was triggered by the order of steps used to walk
and free the nodes of the ldap_info_items list.  

This should go into the next 1.0 release.

svn path=/trunk/; revision=24838
2008-04-07 22:29:27 +00:00
Jeff Morriss
3c6b969c65 Since the GTK1 code was taken out of gsmmap_add_ucs2_ussd_string(), move that code back into gsmmap.cnf (this undoes rev 24227 whose sole purpose was to allow GTK1 builds).
svn path=/trunk/; revision=24836
2008-04-07 20:52:34 +00:00
Jaap Keuter
47ba488516 From David Bernard:
This patch improves MIKEY support in Wireshark. 

The payload types "Error" and "General Extension" are now supported.

The "KEMAC" payload type now support dissecting its sub-payloads "Key Data" and
"Key Validity", but only for PSK (Pre-Shared key) mode with NULL encryption. So
this will dissects properly the TGK and SALT keys for example.

No decrypting is performed, only decoding.

svn path=/trunk/; revision=24833
2008-04-07 06:36:10 +00:00
Jaap Keuter
a7da9f5519 From Steve Karg:
Received user request for enhancements.

Added a display filter for BACnet property ID.  
Added a display filter and names for BACnet Vendor ID.

svn path=/trunk/; revision=24832
2008-04-07 06:12:14 +00:00
Stephen Fisher
bbcd8e7529 Remove ws_strsplit from libwireshark.def to fix Windows build
svn path=/trunk/; revision=24830
2008-04-07 05:37:29 +00:00
Stephen Fisher
726a1caaf1 - Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
  g_strsplit code for the no longer supported GLIB1 builds


svn path=/trunk/; revision=24829
2008-04-07 05:22:54 +00:00
Ulf Lamping
d07c77577f reduce the expert level of TCP zero window back to "reasonable values" - for me.
maybe this will start the first edit war in Wireshark ;-)

As discussed on the dev-list, we might need some sort of profile for the expert output as well ...

for this TCP window stuff - and problably a lot of other stuff - the severity of an expert message will largely depend on your network usage and configuration

svn path=/trunk/; revision=24803
2008-04-06 16:34:37 +00:00
Sake Blok
7b909cf305 Raise the expert priority of all "zero window" related events from
note to error, as a window size of 0 indicates serious problems 
in the tcp session.

svn path=/trunk/; revision=24797
2008-04-05 20:18:28 +00:00
Sake Blok
1f763deeda Fix for bug 2378, where window scaling was not applied to
a new conversation. The new conversation was created from
a template conversation with NO_PORT2 set. In this case
the tcp conversation data structure was not initialized
and therefor the scaling options could not be saved in the 
conversation.


svn path=/trunk/; revision=24796
2008-04-05 20:01:09 +00:00
Ulf Lamping
bbd56edef7 lower the "Window Update" severity from note to chat (as it happens all the time)
svn path=/trunk/; revision=24794
2008-04-05 17:27:29 +00:00
Martin Mathieson
bb8af7419f Mark a local function static rather than extern.
Get rid of an unused variable.

Was going to use proto_register_prefix(), but am not sure if its appropriate.
Even with tree == NULL, dictionary items are used to generate info column.
Loading the dictionary lazily would mean doing a lot of work as part of dissecting
the first diameter frame, which could decrease our chances of capturing frames that
arrive very soon after that one...

svn path=/trunk/; revision=24784
2008-04-05 05:41:59 +00:00
Ulf Lamping
ee7e528117 as discussed on SharkFest: switch off checksum checks by default
svn path=/trunk/; revision=24778
2008-04-05 00:15:29 +00:00
Ulf Lamping
d43be134b9 add packet-tcp.c / packet-udp.c
svn path=/trunk/; revision=24772
2008-04-04 23:11:23 +00:00
Martin Mathieson
474304adaa Make the RTSP dissector findable by name.
svn path=/trunk/; revision=24771
2008-04-04 19:11:49 +00:00
Martin Mathieson
9a042adc6a Export proto_register_prefix()
svn path=/trunk/; revision=24766
2008-04-04 05:26:47 +00:00
Guy Harris
1f19552893 Add a missing routine (proto_initialize_all_prefixes).
svn path=/trunk/; revision=24764
2008-04-04 00:38:11 +00:00
Luis Ontanon
a476c85e21 typo initializators -> initializers
svn path=/trunk/; revision=24763
2008-04-03 22:18:08 +00:00
Luis Ontanon
906d2f3cbb http://www.wireshark.org/lists/wireshark-dev/200803/msg00308.html
proto.[hc]
    define new APIs to allow delayed registration of protocol fields,
	so that dissectors with "flexible" fields  like xml, radius, diameter,
	snmp do not have to load their files at startup but can do so as late as possible.

gtk/dfilter_expr_dlg.c :
	have the expression dialog registering all prefixes so that all fileds appear in the dialog

tshark.c
	register all prefixes when called with -G

epan/radius_dict.l
epan/dissectors/packet-radius.c
epan/dissectors/packet-radius.h
	refactor registration to delay dictionary loading as long as possible



svn path=/trunk/; revision=24762
2008-04-03 22:13:52 +00:00
Michael Tüxen
5916e54d06 - Disable checksum verification by default.
- Add to Edit/Preferences/Protocols/SCTP a
  flag to disable upper layer dissection.

svn path=/trunk/; revision=24761
2008-04-01 02:53:01 +00:00
Jörg Mayer
746e5beb47 Fix bug 2395: 2395
svn path=/trunk/; revision=24760
2008-03-30 21:53:59 +00:00
Jaap Keuter
33b3ab923c From yin sun:
In packet-e212.c function dissect_e212_mcc_mnc mnc is added twice.
the correction should be: mnc = 10 * mnc + mnc3;

svn path=/trunk/; revision=24759
2008-03-30 12:43:21 +00:00
Gerald Combs
fef4a3b22d Remove a linefeed from a field description.
svn path=/trunk/; revision=24756
2008-03-29 20:47:12 +00:00
Gerald Combs
216168c922 Fix compilation under Windows.
svn path=/trunk/; revision=24743
2008-03-28 05:56:02 +00:00