Commit Graph

5437 Commits

Author SHA1 Message Date
Graeme Lunt 7428612ae0 Support for X.500 strong authentication - used by DAP, DISP, DSP and DOP.
svn path=/trunk/; revision=19048
2006-08-27 08:19:55 +00:00
Graeme Lunt 14be5e2bcc U3 packaging, utility and Wireshark modifications that allows Wireshark to be run from a U3 USB device.
For more details see packaging/u3/win32/README.txt


svn path=/trunk/; revision=19046
2006-08-26 17:55:21 +00:00
Ronnie Sahlberg a5f6c6cdbf two more chunks
svn path=/trunk/; revision=19045
2006-08-26 12:26:19 +00:00
Ronnie Sahlberg 318b5d8e99 fix wrong constant in a valuestring
add two more chunks to be dissected


svn path=/trunk/; revision=19044
2006-08-26 11:57:28 +00:00
Ronnie Sahlberg 39d99904f8 initial PNG dissector (Portable Network Graphics)
svn path=/trunk/; revision=19042
2006-08-26 09:16:38 +00:00
Guy Harris 86c158a4db Don't define the Aironet/Cisco Wireless OUI ourselves; get it from
<epan/oui.h>.

Fix indentation.

svn path=/trunk/; revision=19038
2006-08-26 00:06:40 +00:00
Guy Harris 90a3563fa5 Fix some compiler warnings (some by getting rid of variables unused if
you don't have GNU TLS).

svn path=/trunk/; revision=19037
2006-08-26 00:05:26 +00:00
Guy Harris c0540294d7 Don't use %ld for guint64 - use PRIu64. (Also, don't use %d for guint32
- use %u.)

svn path=/trunk/; revision=19036
2006-08-26 00:03:59 +00:00
Ronnie Sahlberg 0899de4bd5 remove the code that conditionally dissects LG only if IG is set
svn path=/trunk/; revision=19034
2006-08-25 21:53:37 +00:00
Ronnie Sahlberg 19f3809cc6 from Stephen F
ethernet IG/LG bit changes   with minor modifications

(only dissect LG if it is a unicast address
 put a hint what locally administered means in the dissect tree
)
 


svn path=/trunk/; revision=19033
2006-08-25 21:33:23 +00:00
Tomas Kukosa 200da0f7e4 commit forgotten file
svn path=/trunk/; revision=19028
2006-08-25 11:28:00 +00:00
Guy Harris 3f7a918917 If the length of a GSS token is zero, it's a null token, and the opaque
data shouldn't be dissected.

svn path=/trunk/; revision=19027
2006-08-25 08:10:35 +00:00
Tomas Kukosa ce4e15b76d new ssl_dissector_add() function which can be called from another dissectors (similar to dissector_add())
svn path=/trunk/; revision=19026
2006-08-25 08:07:26 +00:00
Anders Broman 2976f89507 From Erwin Rol:
this patch adds support for MPEG2 transport stream packets in RTP (type 
MP2T). It currently dissects the headers of the MPEG2 packets

svn path=/trunk/; revision=19023
2006-08-25 05:49:37 +00:00
Gerald Combs 07f798ed37 Make sure a string pointer exists before we try to use it. Fixes bug 1050.
svn path=/trunk/; revision=19022
2006-08-24 22:05:26 +00:00
Anders Broman 0bcced5d2e BSSGP: Wrong length on IE and preparation to export IE dissection.
GSM_a: Add an if_def
GTP: Update comments

svn path=/trunk/; revision=19019
2006-08-24 21:19:49 +00:00
Anders Broman f265fad2bb From Jeff Morriss:
however there's a bug in the ANSI MAP dissector 
SSN preference code - it's deleting an ANSI SSN and adding an ITU one

svn path=/trunk/; revision=19018
2006-08-24 21:15:15 +00:00
Anders Broman 989fcb7656 Dissect 'User Location Information' IE and MS Time Zone' IE.
svn path=/trunk/; revision=19016
2006-08-24 17:27:45 +00:00
Jaap Keuter cfa1bda00b From Toralf Foerster (in bug 1044):
Add new primary sources, fix typo. 

svn path=/trunk/; revision=19007
2006-08-23 15:51:15 +00:00
Ronnie Sahlberg 8fe329094f testdrive the request/response README and implement request/response matching for DNS
svn path=/trunk/; revision=19003
2006-08-23 09:48:16 +00:00
Ronnie Sahlberg a3eedad0d1 Counter64 should be a FT_UINT64 and not a FT_UINT32
fixes bug 1047


svn path=/trunk/; revision=19002
2006-08-23 08:05:28 +00:00
Ronnie Sahlberg 70a01d80bf move the include for emem.h so that size_t is defined before emem.h is invoked
svn path=/trunk/; revision=19001
2006-08-23 07:41:43 +00:00
Anders Broman 51b64927e4 From David Buechi:
Add support for the ETHERNET Powerlink protocol

svn path=/trunk/; revision=18998
2006-08-22 19:55:31 +00:00
Gerald Combs 6ceaff43af From Florent Drouin:
I found a loop in the q2931 dissector, whereas I was dissecting Ranap
  Traces with a bad wireshark configuration.
  Wireshark did crash, after eating all the memory.

Make other loop checks more paranoid.

svn path=/trunk/; revision=18992
2006-08-22 14:46:51 +00:00
Martin Mathieson 875f1ce05e Fix iuup.delta FT_ type mismatch
svn path=/trunk/; revision=18991
2006-08-22 14:00:18 +00:00
Guy Harris a9469ccb31 Squelch a compiler warning.
svn path=/trunk/; revision=18988
2006-08-21 23:23:22 +00:00
Anders Broman 4e72c1ca2f From Florent Drouin:
This patch introduce the decoding of the RP-Cause element in the Release SMS message for Camel.

svn path=/trunk/; revision=18986
2006-08-21 21:58:30 +00:00
Anders Broman ba6eb01246 From Florent Drouin:
This patch provide a correction for the element "Channel Needed" in the Paging message. and some improvements for the display of AUTH,SRES,RAND etc..

With some further changes to APDU and LSA Identifier dissection.

svn path=/trunk/; revision=18985
2006-08-21 21:24:42 +00:00
Anders Broman abc11f9604 From Florent Drouin:
This patch allow to change the value of the SSN associated to the bssap dissector.

svn path=/trunk/; revision=18984
2006-08-21 21:19:48 +00:00
Ronnie Sahlberg 93c3a4026b prettify the MMS dissector by at least putting the pdu name in the info column
svn path=/trunk/; revision=18975
2006-08-21 13:44:37 +00:00
Ronnie Sahlberg ce1ae65e12 from Angel de Juan
make mms bitstrings easier to read


--
Hi, this is my new mms with some changes in order to display some data in
binary instead of hex.

Excuse me because is not a diff from the repository, but I don't know how to
create a diff.

I also have the compiled packet-mms.c and packet-mms.h if you want it only
mail me.



svn path=/trunk/; revision=18974
2006-08-21 13:32:07 +00:00
Ronnie Sahlberg 834647384c get rid of a rotating buffer
svn path=/trunk/; revision=18973
2006-08-21 13:05:18 +00:00
Ronnie Sahlberg 27924a4603 move a few arrays off the stack
svn path=/trunk/; revision=18972
2006-08-21 13:00:55 +00:00
Ronnie Sahlberg 3d5a81b7e9 remove two hashtables and replace with binary trees
svn path=/trunk/; revision=18971
2006-08-21 12:41:59 +00:00
Martin Mathieson f8aadddf70 Make apply-as-filter strings work for FT_UINT_STRING (rather than using frame[...])
svn path=/trunk/; revision=18969
2006-08-21 11:45:37 +00:00
Martin Mathieson bd6931e2d3 Use FT_UINT_STRING for TBCP DENY reason-phrase
svn path=/trunk/; revision=18968
2006-08-21 11:41:32 +00:00
Anders Broman 43d1b4c099 Dissect some more H.245 messages in MEGACO
svn path=/trunk/; revision=18966
2006-08-20 21:18:43 +00:00
Ronnie Sahlberg cf6d4692aa in LDAP over TCP
use tcp_dissect_pdus() which works    insterad of trying to do the pdu tracking and signalling for reassembly manually.
This makes ldap pdu tracking and reassembly work properly for cases when hosts are streaming lpad over tcp and there is little or none alignlemt of pdus to the start of a segment



svn path=/trunk/; revision=18965
2006-08-20 06:00:16 +00:00
Ronnie Sahlberg 0adb40dbc0 we have to search for multisegments starting PRIOR to the start of the current semgent or elsae it will break for the case when one multisegment ends in this segment there are a few smaller ones completely within this segment and then another segment starts that spans across future segments.
svn path=/trunk/; revision=18964
2006-08-20 05:18:10 +00:00
Ronnie Sahlberg c0e5ca30ad add some well known rids from s4 security.idl and code to show the name of this rid
when dissecting a security descriptor


svn path=/trunk/; revision=18959
2006-08-19 09:22:20 +00:00
Guy Harris f4457669d3 Fix some g_warning() calls.
svn path=/trunk/; revision=18958
2006-08-19 03:01:53 +00:00
Guy Harris 7cb6f60b18 Fix some format strings and format string arguments.
svn path=/trunk/; revision=18957
2006-08-19 03:01:15 +00:00
Guy Harris 5000c85513 Squelch a compiler warning.
svn path=/trunk/; revision=18956
2006-08-19 03:00:16 +00:00
Guy Harris 8a3af12c87 Define "char_def_alphabet_ext_decode()" with a return type - and define
it as static as it's not used outside this file.

svn path=/trunk/; revision=18955
2006-08-19 02:58:48 +00:00
Guy Harris 338f7ede99 Squelch a compiler warning.
svn path=/trunk/; revision=18954
2006-08-19 02:56:16 +00:00
Gerald Combs 7bded1f0ee Fix CID 209 (possible NULL dereference).
svn path=/trunk/; revision=18950
2006-08-18 20:18:38 +00:00
Guy Harris 51142bc70a From Gisle Vanem: export the new GUID functions.
svn path=/trunk/; revision=18949
2006-08-18 18:18:36 +00:00
Gerald Combs f95cb7af5c Add an attribution.
svn path=/trunk/; revision=18948
2006-08-18 15:46:43 +00:00
Ronnie Sahlberg b588469ccf guids are not olnly used in dcerpc interfaces and they often occur in many other protocols such as ldap and smb/smb2
move the initialization of the guid mapping table from the dcerpc dissector to a more neutral place


svn path=/trunk/; revision=18947
2006-08-18 09:32:19 +00:00
Ronnie Sahlberg 47969704c6 change the guid mapping code to use a tree isntead of a hashtable
svn path=/trunk/; revision=18946
2006-08-18 09:27:40 +00:00
Ronnie Sahlberg d6ba4c112c from stephen f
new protocol: veritas low latency transport

---
Attached is a patch file that adds a new dissector for the LLT protocol
(Veritas Low Level Transport, used for server clustering).  They use
ethertype 0xCAFE even though it isn't assigned to them :(.  There are
other fields and possibly other message types directly between servers
it does not yet dissect as no one outside of Veritas knows what they
are.  This dissector understands the one people will run across most -
multiple servers broadcasting these heartbeats all over the place.  I
figured out these fields through many Internet searches.

I will add the protocol to the Wiki after it is committed.


Thanks,
  Steve




svn path=/trunk/; revision=18944
2006-08-18 08:46:31 +00:00
Gerald Combs 0e5e0c4453 Fix two remaining off-by-one errors. Remove a static buffer.
svn path=/trunk/; revision=18943
2006-08-18 00:22:48 +00:00
Anders Broman a870534df9 From Stephen Fisher:
the attached patch removes the 
redundant "Cisco Discovery Protocol" from the info column:

Before:

  Cisco Discovery Protocol  Device ID: myswitch.domain.com  Port ID: GigabitEthernet3/17

After:

  Device ID: myswitch.domain.com  Port ID: GigabitEthernet3/17

svn path=/trunk/; revision=18941
2006-08-17 20:32:06 +00:00
Anders Broman d221d6f2fc From Hannes Gredler:
A patch that adds support for dissection of
libpcap DLT_JUNIPER_VP frames. In addition i have fixed
also the indent for DLT_JUNIPER_GGSN.

svn path=/trunk/; revision=18940
2006-08-17 20:24:05 +00:00
Ulf Lamping 7d04019388 some further work on the GUID/UUID resolvings
most of the relevant code moved to guid_utils
lot of corresponding code cleanup in packet-dcerpc.c
still using GHashTable
still not using a manuf like file

svn path=/trunk/; revision=18939
2006-08-17 19:09:41 +00:00
Jörg Mayer 162d87a516 Muthu Krishnan V <muthukrishnanv@gmail.com>
As per RFC 4090, In the FAST_REROUTE Object, Include-any starts
at the 12th byte and Exclude-any starts at the 16th byte.

Ethereal has inter-changed these two fields in its display.

*Ethereal* bug 1043.

svn path=/trunk/; revision=18938
2006-08-17 11:56:35 +00:00
Ronnie Sahlberg 2fdf0e4b4b add trees with PErmanent allocation scope which will be useful for constructing
associative arrays for globally unique and persistent mappings such as
oid to name
sid to name
guid to name


svn path=/trunk/; revision=18937
2006-08-17 08:17:48 +00:00
Ronnie Sahlberg c7250199a7 add missing _WIN32 encapsulation so braces match and compilation under non-win32 works
svn path=/trunk/; revision=18936
2006-08-17 07:35:58 +00:00
Ulf Lamping de0594b9a5 various UUID/GUID based changes.
I think I've changed all corresponding appearances from FT_STRING to FT_GUID, so assert the FT_ type as it should only be a FT_GUID now.

Add a generic implementation in guid_utils.h to have a way to store data about GUID to name resolving (something like value_string for e.g. int). It might be better to have a single registry for all GUID's of all dissectors and implement the GUID name resolving into the proto_tree_add... functions.

svn path=/trunk/; revision=18935
2006-08-16 23:13:26 +00:00
Ulf Lamping eb7c653073 FT_STRING -> FT_GUID
svn path=/trunk/; revision=18934
2006-08-16 22:59:55 +00:00
Ulf Lamping 2ed79a23f1 lower the expert info levels WARN -> NOTE for missing references
fix an iteration bug in cba_connection_disconnectme()

svn path=/trunk/; revision=18933
2006-08-16 22:56:55 +00:00
Ulf Lamping f17222a893 FT_STRING -> FT_GUID
svn path=/trunk/; revision=18931
2006-08-16 20:55:21 +00:00
Ulf Lamping 3ec210b0d1 Don't mark a TCP packet as a "Duplicate ACK" if the flags don't have the ACK flag set (IMHO it's not an ACK in that case). This happens sometimes between FIN and RST packets.
Ronnie, could you check if this change is ok?

svn path=/trunk/; revision=18930
2006-08-16 20:52:51 +00:00
Ronnie Sahlberg 58396f47da add tracking of fid type to objects opened by NT CREATE so that we can dissect aces properly also for these fids
svn path=/trunk/; revision=18929
2006-08-16 19:38:39 +00:00
Gerald Combs f9661850d1 Add support for AirPcap, an upcoming wireless product from CACE. Support
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG
in config.nmake.  The code is currently limited to Windows, but should
be adaptable to other platforms.

The official announcement won't come until next week, so you'll have to
read the source for details.  :)

svn path=/trunk/; revision=18928
2006-08-16 18:01:25 +00:00
Ronnie Sahlberg b02d08fa76 use the same structure to pass the fid type information from nt transaction parameter to nt transaction data dissector for both ssd and qsd instead of two different ones
svn path=/trunk/; revision=18927
2006-08-16 10:35:04 +00:00
Ronnie Sahlberg d08c190fe0 track fid types between NT TRans QUERY_SECURITY_DESCRIPTOR and dissect the ACEs properly
svn path=/trunk/; revision=18926
2006-08-16 09:22:36 +00:00
Ronnie Sahlberg 80e1ff0ee8 add dissection of DIRECTORY specific bits of the accessmask for SET_SECURITY_DESCRIPTOR
svn path=/trunk/; revision=18925
2006-08-16 09:02:15 +00:00
Ronnie Sahlberg 3c6d1fcef8 add code to dissect FILE specific bits for the accessmask inside a security descriptor and have SET_SECURITY_DESCRIPTOR use it so that security descriptors for files held inside SET_SECURITY_DESCRIPTOR are decoded properly
svn path=/trunk/; revision=18924
2006-08-16 08:48:00 +00:00
Tomas Kukosa 5ff34d332b - add value_ptr into struct _asn1_ctx_t
- small changes in h225.cnf
- H.225 regenerated

svn path=/trunk/; revision=18923
2006-08-16 08:07:30 +00:00
Ronnie Sahlberg 0902016b42 add a type field for the fid tracking structure and initialize it to UNKNOWN
when files are opened using NTCreateAndX  and if we recognize the type   set the type field to either FILE, DIR or PIPE

This is useful to know when dissecting things like security descriptors since it tells us how to dissect the specific bits of the access mask.


Only do this for NTCreateAndX for now.   It is trivial to add similar tracking to some of the older   obsolete   calls used to open fids    but no clients ever use those old calls any more.





svn path=/trunk/; revision=18922
2006-08-16 08:00:46 +00:00
Tomas Kukosa 5cd8c719e6 ASN.1 dissectors regenerated with new asn2wrs to get updated field blurb
svn path=/trunk/; revision=18921
2006-08-16 05:58:39 +00:00
Jörg Mayer c5bf44c6ad Always print length as well as type in Option line.
Count amount of padding.


svn path=/trunk/; revision=18920
2006-08-16 00:12:02 +00:00
Jörg Mayer d9f56b9080 Steve Karg <skarg@users.sourceforge.net>
I made a small change in packet-bacapp.c to fix the following:
1. Corrected Signed value decoding for a one octet value.
2. Corrected Priority values to decode as Unsigned values.


svn path=/trunk/; revision=18918
2006-08-15 20:46:13 +00:00
Ronnie Sahlberg e7816f82a1 export ep_free_all
svn path=/trunk/; revision=18917
2006-08-15 20:35:52 +00:00
Jörg Mayer 591167281e Complete: Make dhcp options filterable
svn path=/trunk/; revision=18916
2006-08-15 20:32:08 +00:00
Gerald Combs a0f21609b8 Fix CIDs 204 - 208.
svn path=/trunk/; revision=18915
2006-08-15 19:28:07 +00:00
Jörg Mayer b58714b375 Eric Fung <efung@certicom.com>
A very tiny patch that corrects decoding of the Next Payload field in
the IKEv2 header. RFC 4306, Sec 3.2 says that a payload type of 0
means "No Next Payload" and not RESERVED. The patch just uses the
same string the dissector uses for IKEv1, namely, "NONE".


svn path=/trunk/; revision=18914
2006-08-15 18:16:56 +00:00
Jörg Mayer 24f77cfbf5 Mike Duigou <wireshark@duigou.org>
The enclosed patch updates the set of mime types for line oriented text
data per RFC 2046.

Me:

Remove application/postscript, as it may be binary.

svn path=/trunk/; revision=18913
2006-08-15 18:13:35 +00:00
Jörg Mayer 9c53d1894b Start making dhcp options filterable (special cases still missing)
svn path=/trunk/; revision=18912
2006-08-15 13:24:02 +00:00
Jörg Mayer c285c838f7 Mark Lewis <mlewis@altera.com>
I have developed a plugin for Pro-MPEG FEC packets over RTP (see
previous posts on ethereal-dev). I have added a page and example capture
file to the Wiki (http://wiki.wireshark.org/2dParityFEC). The source and
Windows makefile for the plugin are attached. Unfortunately I do not
have access to other systems so this plugin has been tested on Windows
only.


The attached version of my plug-in has only had the copyright header
added.
I will translate this into a proper dissector rather than a plug-in as
requested, but this may take a little time as I have a lot of other
things
to do at the moment.

Me:

Convert into a normal dissector
Reorder / reformat code a bit
Added Marks name to the top of the file.



svn path=/trunk/; revision=18908
2006-08-15 11:31:55 +00:00
Jörg Mayer f229c45733 Remove no longer needed dummy files
svn path=/trunk/; revision=18907
2006-08-15 09:49:06 +00:00
Jörg Mayer b21579abef Stephen Fisher <stephentfisher@yahoo.com>
Could you apply the attached patch also to finish it off - I
failed to include it in the original e-mail.

svn path=/trunk/; revision=18906
2006-08-15 06:40:26 +00:00
Ronnie Sahlberg 68bdadcb50 add decode of trust attribute flags as documented in samba4 netlogon idl
svn path=/trunk/; revision=18905
2006-08-15 02:21:08 +00:00
Ulf Lamping b2751079ac various minor DCOM dissection enhancements:
- add a generic guid register to dissect UUID's (move this to a seperate file?)
- this enables us to set some known names for special UUID's
- use standard DCOM fields for IID and alike in remunk.c
- cleanup dcom_protseq_vals handling
- some FT_STRING to FT_GUID changes

svn path=/trunk/; revision=18904
2006-08-14 23:39:48 +00:00
Gerald Combs f6802d35c8 Put protocol preferences in a scrolled window, in case a particular
protocol has a lot of preference items.  Change the number of
configurable ESP SAs to 16 (in case someone needs do decrypt many
sessions in a single trace file).  Fix up whitespace.

svn path=/trunk/; revision=18903
2006-08-14 22:34:46 +00:00
Jörg Mayer d291a92109 Stephen Fisher <stephentfisher@yahoo.com>
Attached is a patch to packet-http.c that calls a subdissector for
traffic flowing through a proxy via the HTTP CONNECT method.  Most
protocols, especially SSL, can be tunneled through an HTTP proxy.
Wireshark currently says this traffic is "Continuation or non-HTTP
traffic" but this patch turns the payload over to the dissector for the
protocol being tunneled.  This is similar to how the Socks dissector
works.


svn path=/trunk/; revision=18901
2006-08-14 21:46:05 +00:00
Jörg Mayer 5bebfcc987 Carlos Pignataro <cpignata@cisco.com>
Please find attached a patch with updates to l2tpv3's l2_sublayer_vals
and pw_types_vals numbers (and pw type decoding).

The previous values belong to a different number space, "MPLS Pseudowire
Types Registry" in http://www.iana.org/assignments/pwe3-parameters, used
by LDP. The new values belong to the correct number space, "L2TPv3
Pseudowire Types" in http://www.iana.org/assignments/l2tp-parameters,
used by L2TPv3. Note that one is a 15-bit number while the other is a
16-bit number. So it's not really removing half of the values; even
though there are some numerical "matches" in the two registries, there
are differences (see for example 12 and 13, and some name changes). From
my knowledge the values not registered are also not used (and part of
the intention of the patch is that they are not misused); a fair
assumption is that it was a clerical error mis-assuming the two
protocols, LDP and L2TPv3, used the same space for "PW Types".


svn path=/trunk/; revision=18900
2006-08-14 21:37:12 +00:00
Ulf Lamping 49c07de8fb add a value_string for the LCID field
svn path=/trunk/; revision=18897
2006-08-14 20:47:54 +00:00
Ulf Lamping 5061097ee4 fix some dissection bugs
svn path=/trunk/; revision=18896
2006-08-14 20:41:46 +00:00
Ronnie Sahlberg 2657b9b701 make creation of subtrees used for the _array tree type use the same allocation scope as its parent and thus become allocation scope agnostic
change all accessor functions to be defines to the emem_tree_ functions.



now   to create a tree with a different scope we only need to create a new
..._tree_create() function   and set up the appropriate defines


(it was a mistake to call the functions   se_tree_create   and se_tree_create_non_persistent,     they should be the other way around    i.e.  se_tree_create_persistent   and se_tree_create )



svn path=/trunk/; revision=18895
2006-08-14 09:36:15 +00:00
Ronnie Sahlberg 8ce8e719e0 rename some structures and defines from the se_tree to the emem_tree prefix
svn path=/trunk/; revision=18894
2006-08-14 08:29:29 +00:00
Ronnie Sahlberg 8529abb69b put a memory allocator function pointer inside the tree structure so that all accessor functions become storage scope agnostic
svn path=/trunk/; revision=18888
2006-08-12 23:27:22 +00:00
Ronnie Sahlberg db2e890949 rename some inline functions from se_ to emem_ prefix as a first step to generalize
teh tree management and to use trees with different storage scope without too much code duplication.


it would be useful with a tree that had indefinite storage instead of the emem functions which commonly have ep or se storage scope.

indefinite storage scope would be useful for example for managing a global and static set of well known guid to name mappings(not yet implemented)    and also for
oid to name mappings.

 

svn path=/trunk/; revision=18886
2006-08-12 22:43:12 +00:00
Ulf Lamping d0aed5f920 add an experimental DCOM object "database" based on the exchanged interface pointers
add a lot more PROFINET CBA dissection output based on these DCOM context information
still need some improvements, e.g. dissection uses a simple (slow) linear list search
changes are fuzz-tested

svn path=/trunk/; revision=18882
2006-08-11 19:15:12 +00:00
Ronnie Sahlberg 5f8e067936 for sec descriptors found inside ldap
decode the specific bits of the accessmask as the ldap specific accessmask bits

bit definitions from samba4


svn path=/trunk/; revision=18881
2006-08-11 07:59:58 +00:00
Jörg Mayer 3fee10cc41 Change a label a bit to be able to differentiate it from the default
case.

svn path=/trunk/; revision=18879
2006-08-10 20:49:58 +00:00
Jörg Mayer 1d334bdc83 Solomon Peachy:
I've attached a patch to the "wlan capture header" dissector to bring it
in line with the current frame format, and a proper URL to obtain said
format.   Nothing major, just the addition of a couple of fields and
definitions.  The dissector remains backwards-compatible with the older
format.


svn path=/trunk/; revision=18878
2006-08-10 20:41:50 +00:00
Ulf Lamping f177995f29 PN-CBA may also use class 2 frames
svn path=/trunk/; revision=18877
2006-08-10 19:51:14 +00:00
Ulf Lamping d4bf67fb59 fix a misleading text
svn path=/trunk/; revision=18876
2006-08-10 19:45:14 +00:00
Ronnie Sahlberg 23426c8901 add missing ace revision 4 and several new types some of which contain optional GUIDs
from samba4   security.idl


svn path=/trunk/; revision=18875
2006-08-10 13:21:57 +00:00
Jörg Mayer e1959d4f05 Erwin Rol:
Attached a dissector for JPEG images in RTP streams, AKA
        RFC2435.

Me: Fixed a warning (guint8 <= 255 is always true)


svn path=/trunk/; revision=18872
2006-08-10 11:18:02 +00:00
Ronnie Sahlberg 05fcb684ed create subtrees also for unknown address types instead of creating the items inside the previous expansion created
svn path=/trunk/; revision=18871
2006-08-10 10:52:16 +00:00
Jörg Mayer 41d8f13aec Neil Piercy:
I've just had a bug in one of our private dissectors which meant
that the handle passed to call_dissector was null. This seemed to give
varying behavior - on some Windows installations it hit wireshark's
in-built exception handling, and displayed that the dissector had an
error (correct), but on some installations it just crashed wireshark
(not helpful). I _think_ the difference was whether MSVC was installed
or not, but on a sample of only 3 machines.

Should call_dissector include explicit null handle checks, and if so,
should it:-

a) g_assert - the simple patch attached
b) fallback to doing a data decode (as disabled protocols do)
c) try to invoke the wireshark exception handling for the packet

Or is the correct answer none of the above - the exception handler
should already cope ?

        

svn path=/trunk/; revision=18869
2006-08-10 10:09:31 +00:00
Jörg Mayer 76b9953baa Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1014
provided by markdrago@mail.com.

Me: Patch template files instead and regenerate the dissector files.
    Fix Makefiles to use the correct asn filenames.

svn path=/trunk/; revision=18866
2006-08-10 09:02:24 +00:00
Ronnie Sahlberg c771b251eb this is a blob not a policyhandle
svn path=/trunk/; revision=18865
2006-08-10 07:35:26 +00:00
Jaap Keuter 4c358e477c From: Michael Lum
Small ANSI-637 patch for identifying more Teleservice

svn path=/trunk/; revision=18864
2006-08-10 06:24:50 +00:00
Tomas Kukosa 73ddcc157a GnuTLS/libgcrypt initialization moved to epan.c
svn path=/trunk/; revision=18863
2006-08-10 06:06:21 +00:00
Jörg Mayer f2a2bed08f efung@certicom.com:
Patch adding MOBIKE support to packet-isakmp.c

svn path=/trunk/; revision=18862
2006-08-10 03:11:33 +00:00
Martin Mathieson e2767088d8 Minor TBCP fixes
svn path=/trunk/; revision=18860
2006-08-09 17:23:10 +00:00
Ronnie Sahlberg 4ac1c1fae5 metze pointed out that the last four bytes of the 20 byte blob prepenfing the ndr encoded data in the pac must be a unique pointer
make sense,   decode it as a unique pointer then



svn path=/trunk/; revision=18859
2006-08-09 11:25:20 +00:00
Ronnie Sahlberg 9149665c5c decode the field of type 11
(it could theoretically also be a union with arm:1 selected instead of a conformant array)


svn path=/trunk/; revision=18858
2006-08-09 08:25:01 +00:00
Ronnie Sahlberg 2e9f554669 testing the win32 decryp[tion out i noticed a lot of new previously not decoded info in the captures for constrained delegation on the Kerberos wiki page.
a new bit 0x00020000 is usde in the TGS-REQ packets and this results in a return of a PAC containing an unknown type 11 field.


the blob in the pac is 200 bytes and NDR encoded.   its structure is obvious since it contains 2 conformant and varying arrays  and three unique pointers.



enable decoding of this new KDCOptions bit and call it "constrained delegation"




svn path=/trunk/; revision=18857
2006-08-09 07:37:57 +00:00
Gerald Combs 4f16b6b178 Point to the newest (1.5.0-1) GnuTLS package. Since it contains
libgcrypt, enable it in the Windows build.

In packet-ipsec.c:

  - Remove non-constants from variable declaration initializations.
  - Use ep_alloc() in a couple of places.
  - Fix an off-by-one error.
  - Reduce the number of SAs in the preferences from 4 to 2.  4 made the
    preferences window absolutely enormous.  This is probably the wrong
    way to fix this.
  - Fix up whitespace.

svn path=/trunk/; revision=18856
2006-08-09 02:00:05 +00:00
Anders Broman 94c402d671 Routines for Universal Mobile Telecommunications System (UMTS) Radio Resource Control (RRC) (umts_rrc) dissection.
svn path=/trunk/; revision=18855
2006-08-08 21:32:44 +00:00
Jaap Keuter c9a6054b75 From: Bálint Réczey:
The attached patch fixes decoding of message flags in BFD control packets.

svn path=/trunk/; revision=18853
2006-08-08 19:54:37 +00:00
Gerald Combs 0213f60e4b Add GNUTLS to the Windows build.
In packet-ssl.c, move ssl_set_debug() up a bit so that we can debug key
file parsing.

svn path=/trunk/; revision=18850
2006-08-07 19:52:18 +00:00
Martin Mathieson 463d895a53 Tidy up comments, var names, remove pedantic warnings
svn path=/trunk/; revision=18849
2006-08-07 17:10:59 +00:00
Ronnie Sahlberg 8969e45027 marik the request_in/response_to/time as generated fields
svn path=/trunk/; revision=18846
2006-08-07 10:35:26 +00:00
Ronnie Sahlberg 5a5dcdc8ad dissect nTSecurityDescriptor attribute as a security descriptor
svn path=/trunk/; revision=18845
2006-08-07 10:29:39 +00:00
Ronnie Sahlberg 5823354433 objectSid attribute contains a sid so decode it nively as a sid
svn path=/trunk/; revision=18844
2006-08-07 10:19:37 +00:00
Ronnie Sahlberg 2d5ec44674 add some more oid's
svn path=/trunk/; revision=18843
2006-08-06 14:31:58 +00:00
Ronnie Sahlberg b446810939 the ldap values for supportedControl and supportedCapabilities is an oid in ascii format.
resolve it into a anme if possible and present it.




svn path=/trunk/; revision=18842
2006-08-06 14:04:07 +00:00
Ronnie Sahlberg 3ef9bcfa26 "objectGUID" should be dissected as a GUID
also change the name of one of the strings we keep around since it is more generic than just used for attributeassertions



svn path=/trunk/; revision=18841
2006-08-06 13:13:42 +00:00
Ronnie Sahlberg db179bb768 config and makefile magic we need when we integrate kerberos for windows with the w32 build
disabled for now


svn path=/trunk/; revision=18838
2006-08-05 04:32:57 +00:00
Gerald Combs 4cd1774c69 ethereal -> wireshark.
svn path=/trunk/; revision=18836
2006-08-04 14:43:48 +00:00
Martin Mathieson 616a6a1509 Checked also needed here - remove wrong comment
svn path=/trunk/; revision=18835
2006-08-04 10:16:10 +00:00
Martin Mathieson 7d29d978ce There may be no icon data
svn path=/trunk/; revision=18834
2006-08-04 10:02:21 +00:00
Jaap Keuter 0431e78ccb From: Stephen Fisher
I was looking at the dissector I wrote recently, packet-exec.c, to remember 
how to handle conversations and I noticed a comment that isn't clear. 
It would throw someone off because it isn't how the dissector was finally written :).  

svn path=/trunk/; revision=18833
2006-08-04 05:54:38 +00:00
Ronnie Sahlberg fe3114d00b check that itl is non-NULL to prevent a NULL pointer dereference that would crash the windows build but funnily enough not linux (since you can read from the null page on linux?)
svn path=/trunk/; revision=18832
2006-08-04 00:36:25 +00:00
Jaap Keuter eaa71d78b3 Fix bug 1027: pinfo.iplen should contain option length as well
svn path=/trunk/; revision=18830
2006-08-03 20:24:24 +00:00
Martin Mathieson 6a6a108f5d Add an expert item to indicate unrecognised SIP headers. Useful for finding:
- encoding problems or use of exotic extensions in equipment
- headers missing from the SIP dissector

svn path=/trunk/; revision=18829
2006-08-03 14:51:45 +00:00
Anders Broman 6bdffa496e From Peter Johansson:
the supplied patch fixes a problem where the options value should really be used from the conversation found (using
conversation_lookup_hashtable(...) to create a new conversation based on the already stored conversation template (the CONVERSATION_TEMPLATE bit is set in the stored conversation) rather from the options argument passed to the function(s).

This solves a problem that otherwise shows itself where "DISSECTOR_ASSERT(!(conv->options & CONVERSATION_TEMPLATE) && "Use the conversation_create_from_template function when the CONVERSATION_TEMPLATE bit is set in the options mask");" fails sometimes.

svn path=/trunk/; revision=18825
2006-08-02 19:50:04 +00:00
Anders Broman 2554ddccb8 From Stephen Fisher:
This patch adds a new dissector for the daytime protocol (like the time
protocol, but the date and time is send as a text string).  This protocol and
dissector work s over TCP or UDP.

svn path=/trunk/; revision=18823
2006-08-02 17:13:22 +00:00
Anders Broman 4b12683547 From Stephen Fisher:
The time protocol (port 37) dissector (packet-time.c) currently only supports
UDP.  The protocol has an identical implementation over TCP as well.  This
patch adds support to the dissector for TCP time in addition to the UDP time
packets

svn path=/trunk/; revision=18822
2006-08-02 17:01:38 +00:00
Anders Broman deb5318f24 From Stephen Fisher:
This patch adds the most commonly referenced items from CDP frames to the info
column: the device id (hostname) and port id.  For example:

Cisco Discovery Protocol  Device ID: myswitch.me.com  Port ID:
GigabitEthernet7/12

svn path=/trunk/; revision=18821
2006-08-02 16:56:33 +00:00
Martin Mathieson 9e1f690fc6 Update to TBCP ("PoC1" application). This is based on the "Approved Version 1.0 09 Jun 2006"
- updated to the current (approved) spec.  I'm not sure how backwards-compatible this is with older drafts...
- prettified the existing code, including more details in the info column

Also included is a fix to the way the offset at the end of an RTCP BYE packet is calculated (taking into account the NULL.  This avoids the 'length wrong' expert item) 

svn path=/trunk/; revision=18820
2006-08-02 16:00:07 +00:00
Martin Mathieson f73d0c1f74 Try to fix build by including packet.h
svn path=/trunk/; revision=18819
2006-08-02 13:23:57 +00:00
Martin Mathieson 229e2dfbde - Removes last traces of 'board ports only' preference (other than marking it as an obselete preference)
- Add a preference to try to find messages within sctp primitive messages (tries renaming of known mismatches)
- Add outhdr to stub protocol (getting ready for IuB FP)

svn path=/trunk/; revision=18818
2006-08-02 09:30:28 +00:00
Martin Mathieson 0669def03d Fix for bug 1023 (problem with 'apply as filter' strings)
svn path=/trunk/; revision=18817
2006-08-02 09:14:31 +00:00
Ronnie Sahlberg 7b3b26fd39 from a. samuel
ssl and dtls updates


svn path=/trunk/; revision=18816
2006-08-02 08:15:51 +00:00
Michael Tüxen 30fac686ac Adopt the chunk list parameter name to the notion used in the next version
of the ID.

svn path=/trunk/; revision=18812
2006-08-01 18:06:35 +00:00
Martin Mathieson 5e4e2632b4 Fix some fussy warnings seen on the Ubuntu buildbot logs
svn path=/trunk/; revision=18811
2006-08-01 17:20:13 +00:00
Martin Mathieson a4b212c8f0 Fix a duplicate MSRP filter string
svn path=/trunk/; revision=18810
2006-08-01 17:15:31 +00:00
Martin Mathieson ac41d69be5 Delete leftover printf
svn path=/trunk/; revision=18809
2006-08-01 17:07:28 +00:00
Anders Broman 4203db3d4e From Sean Sheedy:
A disassembly module I wrote for Pegasus Lightweight Stream Control, a protocol used by some cable set-top boxes for video-on-demand.

svn path=/trunk/; revision=18807
2006-07-28 21:41:53 +00:00
Anders Broman 4f7ff62fcf From Martin Mathieson:
- allow SDP to parse the IP address + port for the MSRP session from the 
path attribute
- setup an MSRP conversation using this address, whose data points back 
to the SDP frame
- link to the SDP setup frame while dissecting MSRP (can be switched off 
by a preference)
- I also changed sdp.media.port to be a numeric field

svn path=/trunk/; revision=18806
2006-07-28 21:26:39 +00:00
Luis Ontanon ed3b76044e as per RFC 3611 - 4.1.1 run length is 14 bits not 15.
Fixes Bug 1022


svn path=/trunk/; revision=18805
2006-07-28 16:40:46 +00:00
Ronnie Sahlberg f01fcc9369 fropm martin m
fix for h450 to prevent an assertion for uninitialized hffields



Thanks for the capture, Keith.  The problem was with h450 hf fields that
weren't initialised sucessfully (at all in one case, or with non-unique
filter strings in several others) - it was hitting an assertion in proto.c
when an attempt was made to use those fields.

I was able to test by editing packet-h450.c directly, I couldn't regenerate
it from packet-h450-template.c.  I'm attaching a patch to
packet-h450-template.c that hopefully does the same thing.  If someone can
generate and check it packet-h450.c in for me I'll retest.



svn path=/trunk/; revision=18804
2006-07-28 07:50:05 +00:00
Luis Ontanon a472c767a2 a better regex for names in DTDs
svn path=/trunk/; revision=18795
2006-07-26 22:54:48 +00:00
Jörg Mayer 50b6680fd7 One of the bytes in the cisco header is the channel number that
the AP received the frame.

svn path=/trunk/; revision=18790
2006-07-25 05:17:17 +00:00
Ronnie Sahlberg 07af276bf4 licence info
svn path=/trunk/; revision=18787
2006-07-22 22:15:15 +00:00
Ronnie Sahlberg ef802fac44 add gpl licence
svn path=/trunk/; revision=18786
2006-07-22 22:11:54 +00:00
Ronnie Sahlberg a7d4fed9da add licence information
svn path=/trunk/; revision=18785
2006-07-22 22:02:04 +00:00
Ulf Lamping ccef184052 add some more "informational" (generated) fields to the dcerpc tree
these fields can help with the everyday work of the DCE/RPC (and upper) protocol dissections

svn path=/trunk/; revision=18784
2006-07-22 11:33:24 +00:00
Ronnie Sahlberg 64fba459da from martin m
Hi,

This patch allows FT_NONE items to be built into filter expressions
(i.e. testing for their presence or absence rather than comparing with a
value) using the Apply|Prepare a Filter menus.  What drove me to add
this was having to type in !tcp.analysis.out_of_order.

Does this seem reasonable?

Regards,
Martin




svn path=/trunk/; revision=18782
2006-07-22 03:24:28 +00:00
Ronnie Sahlberg f8c939e218 from Jeff Morriss
The attached patch makes the Skinny dissector "new style".  Please
consider it for inclusion.




svn path=/trunk/; revision=18781
2006-07-22 03:06:32 +00:00
Ronnie Sahlberg 64c10f19dc from ian abel
Hi,

The attached file should fix the following two bugs in the AJP dissector.

1) The dissector doesn't know about CPING/CPONG
2) The dissector misinterprets multiple requests in one connection if a
prior request has a Body request part.




svn path=/trunk/; revision=18780
2006-07-22 01:44:10 +00:00
Tomas Kukosa 2b4d003c06 H.225.0 update to version 6 (05/2006)
H.245 updated to version 13 (05/2006)

svn path=/trunk/; revision=18779
2006-07-21 07:05:39 +00:00
Jörg Mayer 1c888f57c9 Daniel Drake <dsd@gentoo.org>:
The barker preamble bit is set when a station associates
	which does not support short preambles. When it is 0, short
	preambles are allowed.

Me: Add a reference to the spec stating the above.


svn path=/trunk/; revision=18777
2006-07-20 22:25:04 +00:00
Gerald Combs 20093fdaa4 snprintf -> g_snprintf. Fix up whitespace.
svn path=/trunk/; revision=18776
2006-07-20 21:29:45 +00:00
Gerald Combs cb1089a5b1 Remove remaining instances of NEED_SNPRINTF_H. Fix up whitespace.
svn path=/trunk/; revision=18775
2006-07-20 17:45:52 +00:00
Luis Ontanon 87d6b997c6 From Mike Digou:
- free the right object.


svn path=/trunk/; revision=18774
2006-07-20 17:32:10 +00:00
Luis Ontanon ba3a83a475 allow for some uppercasing in names.
"fix" for Bug 1010


svn path=/trunk/; revision=18773
2006-07-20 17:23:58 +00:00
Ronnie Sahlberg e27d8be9d3 from michael stevens
fix an incorrect expression to decode keydata properly


svn path=/trunk/; revision=18770
2006-07-20 09:21:32 +00:00
Anders Broman 70c0428e0b Add licence info.
svn path=/trunk/; revision=18768
2006-07-19 19:11:17 +00:00
Anders Broman 73fcdb3c5f From Martin Mathieson:
This patch:
- adds headers found in later versions of the msrp drafts
- fixes a problem where wrong length values were used while parsing the 
request/status line and it was going beyond linelen
- "Transaktion" -> "Transaction"
- status code now appears as a numerical field
- removes unused parameters from check_msrp_header()
- tidies up some indentation
It has survived some fuzz-testing.

svn path=/trunk/; revision=18766
2006-07-19 18:51:25 +00:00
Gerald Combs 65bd143c7b Link libwireshark with libiconv if needed.
svn path=/trunk/; revision=18763
2006-07-19 13:41:59 +00:00
Ronnie Sahlberg 21b45abc1e add two missing CHECK_BYTE_COUNT
to not cause an exception for clearly malformed packets


will resolve "bug" 987   (which is NOT a bug)



svn path=/trunk/; revision=18762
2006-07-19 10:02:49 +00:00
Anders Broman f47dfde23a Remove leftover(?) plugin code.
svn path=/trunk/; revision=18761
2006-07-18 21:16:02 +00:00
Gerald Combs c52c646842 Apply The Written Word's patch from bug 333, which changes HAVE_ICONV_H
to HAVE_ICONV.

svn path=/trunk/; revision=18758
2006-07-18 15:54:03 +00:00
Anders Broman e36045c1ca From Ravi Valmikam:
"Translate" MSID BCD digits and make them filterable, fixes bug
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=997

svn path=/trunk/; revision=18757
2006-07-18 06:15:22 +00:00
Jörg Mayer e226affa31 stephentfisher@yahoo.com:
Adds $(LIBGCRYPT_CFLAGS) to two Makefiles
	(fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1005)


svn path=/trunk/; revision=18753
2006-07-17 19:37:21 +00:00
Anders Broman 527dc673f4 From Martin Mathieson:
sip_stats.c and tap_sipstat.c:
adds the code 429 ("Provide Referrer Identity", from RFC 3892) to 
SIP stats.

chargecontrol.xml packet-diameter.c :
These patches
- add a few more chargecontrol AVPs, and add the vendor-id where needed
- report as expert info when AVPs' lengths don't match their type

svn path=/trunk/; revision=18743
2006-07-17 05:51:14 +00:00
Gerald Combs 786666ea4c Fix compilation problems for Windows and GTK1.
svn path=/trunk/; revision=18741
2006-07-15 14:17:42 +00:00
Ronnie Sahlberg b048bbcfe7 add request response tracking and response times
svn path=/trunk/; revision=18738
2006-07-14 23:04:35 +00:00
Gilbert Ramirez a85563c3d4 Register the MPLS dissector on its standard IP protocol number.
svn path=/trunk/; revision=18735
2006-07-14 14:58:17 +00:00
Ronnie Sahlberg ce5366cc43 dont dissect reserved bits in a bitmap
svn path=/trunk/; revision=18734
2006-07-14 09:40:10 +00:00
Ronnie Sahlberg 48dab097e5 new protocol PANA from
Peter Racz



svn path=/trunk/; revision=18733
2006-07-14 09:17:11 +00:00
Ronnie Sahlberg 79addae4eb cosmetic updates redindentation etc
svn path=/trunk/; revision=18732
2006-07-14 07:55:53 +00:00
Anders Broman e9a4ce8196 Decode PDU Type Extension.
svn path=/trunk/; revision=18731
2006-07-13 20:13:35 +00:00
Ronnie Sahlberg 8b9e4e40e4 from Krzysztof Burghardt
KISMET protocol support



svn path=/trunk/; revision=18728
2006-07-13 08:42:34 +00:00
Anders Broman 917bdbc877 Francesco Fondelli:
Protocol Extensions for Support of Diffserv-aware MPLS Traffic Engineering
(DSTE) as per RFC 4124.

svn path=/trunk/; revision=18727
2006-07-13 05:57:20 +00:00
Jörg Mayer 4070ac6967 Decode another byte in Cisco's IE 133 (number of associated clients)
svn path=/trunk/; revision=18726
2006-07-13 05:40:48 +00:00
Anders Broman b6bec03bfc From Stefan (metze) Metzmacher:
small typo fix in smb2 dissector

svn path=/trunk/; revision=18724
2006-07-12 20:44:54 +00:00
Gerald Combs d4819d4690 Make sure our strings aren't null before we pass them to strncmp().
svn path=/trunk/; revision=18723
2006-07-12 18:12:15 +00:00
Ronnie Sahlberg ed3e02ed61 prettify dissection od ldap attributes
special case some common special attributes such as DomainSid and DomainGuid
and dissect them as SIDs and GUIDs

examples of these special attributes can be seen in Xiaoguang Liu's email to wireshark dev



svn path=/trunk/; revision=18719
2006-07-12 09:02:00 +00:00
Anders Broman 3094096ae4 Decode RANAP in LongSignalInfo and RadioResourceInformation.
svn path=/trunk/; revision=18718
2006-07-11 19:46:52 +00:00
Michael Tüxen cd948f55d8 Get it compiling...
svn path=/trunk/; revision=18715
2006-07-11 18:19:09 +00:00
Gerald Combs 133539b55e More from Ilja van Sprundel. When we call tvb_new_subset() with a
length fetched using tvb_get_netohl(), make sure the length ends up
being positive.

svn path=/trunk/; revision=18714
2006-07-11 17:53:15 +00:00
Jörg Mayer 37f75a64d1 Bugfix: If we have an rc4 key and the length remaining for the
actual key is 0, then this isn't a malformed packet. The key
locally generated by the peer itself should be used.

svn path=/trunk/; revision=18713
2006-07-11 16:18:36 +00:00
Ronnie Sahlberg a003f7cd8f fix two of iljas bugs
svn path=/trunk/; revision=18710
2006-07-11 03:19:15 +00:00
Anders Broman 7eb7109842 From Nils Ljungberg:
TLLI shown twice (create-bss-pfc) PFI not fully decoded (dynamically assigned 

Fixed decoding of RAN-INFORMATION and RAN-INFORMATION-REQUESTadded dekoding of RAN_INFORMATION_ACC, RAN_INFORMATION_ERROR, RAN_APPLICATION_ERROR

svn path=/trunk/; revision=18708
2006-07-10 21:39:07 +00:00
Gerald Combs 1f8334d9e9 Two more bugs from Ilja van Sprundel.
packet-ndmp.c:
  Fix our payload length check.

packet-nfs.c:
  Check for a maximum bitmap length.

Fix up whitespace.

svn path=/trunk/; revision=18699
2006-07-10 19:54:41 +00:00
Gerald Combs e212e73354 Reset ldm_tree in dissect_ldap_pdu(). Fixes a couple of the current fuzz
bugs.

svn path=/trunk/; revision=18697
2006-07-10 13:42:59 +00:00
Tomas Kukosa 06c13b19d1 from DuBingyao
patch for the OICQ dissector to identify unknown command

svn path=/trunk/; revision=18696
2006-07-10 05:05:01 +00:00
Gerald Combs d55ec3bd66 Fix compilation on systems with Net-SNMP.
svn path=/trunk/; revision=18695
2006-07-10 01:05:24 +00:00
Gerald Combs 8b315480f1 In new_format_oid(), handle a zero-length OID.
Fix a bug introduced recently in packet-rpc.c.

Replace DISSECTOR_ASSERT() with THROW(ReportedBoundsError) in my recent 
checkins, since fuzz-test.sh sets WIRESHARK_ABORT_ON_DISSECTOR_BUG.

svn path=/trunk/; revision=18693
2006-07-09 22:12:02 +00:00
Gerald Combs 6dd2196da6 One more bug from Ilja van Sprundel. Be more paranoid about our offset during
a loop.  Fix up whitespace.

svn path=/trunk/; revision=18692
2006-07-09 17:58:28 +00:00
Jörg Mayer eb2e0d867d Start declaring the proto_reg... functions to fix 'warning: no previous declaration'
svn path=/trunk/; revision=18691
2006-07-09 12:11:30 +00:00
Jörg Mayer ba62d2e1b3 include packet-cdt.h to declare prototypes
svn path=/trunk/; revision=18689
2006-07-09 11:18:13 +00:00
Ulf Lamping c2e7ac88f2 don't use only upper case letters for ResolveWin32UUID parameter and variable names
svn path=/trunk/; revision=18688
2006-07-08 15:04:20 +00:00
Ulf Lamping 78bda25f6d if the request/response subdissector couldn't be called because of missing bind information,
add a generated field telling the user and add an expert info entry

This often happens when the capture misses the binding procedure at the beginning of a conversation "capture start too late".

svn path=/trunk/; revision=18687
2006-07-08 14:55:43 +00:00
Gerald Combs 974c67ec86 Catch another infinite loop. Fixes bug 985.
svn path=/trunk/; revision=18686
2006-07-08 01:40:53 +00:00
Gerald Combs 545236879f Fix more bugs reported by Ilja van Sprundel.
packet-pktc.c:
  Catch an underflow.

packet-ospf.c:
  Don't burn CPU cycles unnecessarily.

packet-rpc.c:
  Catch an overflow.

packet-mq.c:
  Check a header size.

Fix up whitespace.

svn path=/trunk/; revision=18685
2006-07-07 22:39:23 +00:00
Ulf Lamping 515562005d add missing #include <epan/emem.h> to fix a related warning
svn path=/trunk/; revision=18684
2006-07-07 21:01:01 +00:00
Gerald Combs ec75c41241 Fix our loop checks.
svn path=/trunk/; revision=18683
2006-07-07 20:11:06 +00:00
Gerald Combs 58e634a3ef Fix another infinite loop. Remove redundant code.
svn path=/trunk/; revision=18681
2006-07-07 15:13:11 +00:00
Anders Broman 12161363c5 From Martin Mathieson:
packet-diameter.c
- show vendor ID as a decimal number

diameter/chargecontrol.xml
- add more AVP entries from 3GPP TS 32.299 (6.6.0)

svn path=/trunk/; revision=18679
2006-07-07 04:51:12 +00:00
Gerald Combs bbc5a76517 Fix more bugs found by Ilja van Sprundel.
packet-mount.c:
  Don't allocate a huge amount of memory.

packet-ntp.c:
  Fix a possible format string bug.

packet-ndps.c:
packet-nmas.c:
  Fix an off-by-one buffer error.

svn path=/trunk/; revision=18678
2006-07-07 04:01:09 +00:00
Gerald Combs 7976c442db Fix a few format string bugs found by Ilja van Sprundel.
svn path=/trunk/; revision=18677
2006-07-07 00:45:54 +00:00
Ulf Lamping 6018876eea add another CBA DCOM HRESULT
svn path=/trunk/; revision=18675
2006-07-06 21:39:50 +00:00
Gerald Combs f2d83a530e Catch an infinite loop.
svn path=/trunk/; revision=18672
2006-07-06 16:47:50 +00:00
Jörg Mayer 2c5f918366 New dissector for the cisco wireless ids communication protocol
(name invented by me, better suggenstions welcome).

svn path=/trunk/; revision=18671
2006-07-06 10:58:48 +00:00
Jörg Mayer a3430f8bb1 Includeing prefs.h once is sufficient
svn path=/trunk/; revision=18670
2006-07-06 10:39:37 +00:00
Ronnie Sahlberg 3e3c4312a3 the pidl parameter is now --ws-parser and not --eth-parser
svn path=/trunk/; revision=18669
2006-07-06 07:51:58 +00:00
Gerald Combs a4c816cfc3 Fix an infinite loop in dissect_ber_tagged_type(). Fix up whitespace.
svn path=/trunk/; revision=18668
2006-07-05 21:33:01 +00:00
Gerald Combs de826c3425 Don't pass an empty OID to sprint_realloc_variable(). This should fix a
recent fuzz error.

Fix up whitespace.

svn path=/trunk/; revision=18667
2006-07-05 21:30:25 +00:00
Gerald Combs 3ec4dc74e8 Fix a format string bug. This should fix some of the current fuzz
crashes.

svn path=/trunk/; revision=18666
2006-07-05 19:14:59 +00:00
Gerald Combs 9022de04b1 Make our tvb exists before we try to dereference it. Fixes some of the
current fuzz errors.

svn path=/trunk/; revision=18665
2006-07-05 18:47:21 +00:00
Jörg Mayer 16f0ca977a Add a comment about a Cisco proprietary tag.
svn path=/trunk/; revision=18663
2006-07-05 14:57:25 +00:00
Anders Broman 2c39ec122c From Jeff Morriss:
- changes the ISUP dissector preference to follow MTP3's preference 
rather than having its own (similar to SCCP, M3UA, etc.).  I did not 
obsolete the old preference because it was never put out in a release 
(only SVN users would have seen it).  I can change that if desired.

- add dissection of ANSI CRM message

svn path=/trunk/; revision=18661
2006-07-05 05:11:22 +00:00
Anders Broman e2c1051a56 From Willem Dekker:
The attached patch fixes this and converts the sms content (7 bit encoded, gms 03.38 alphabet)  into utf8.

svn path=/trunk/; revision=18660
2006-07-05 05:05:29 +00:00
Ronnie Sahlberg b1215a0a85 coverity 201
remove some dead code introduced in the recent rewrite



svn path=/trunk/; revision=18654
2006-07-04 09:51:47 +00:00
Tomas Kukosa 956dcf3ca0 get rid of warning message
svn path=/trunk/; revision=18653
2006-07-04 09:02:26 +00:00
Tomas Kukosa c333c6b5bd few formal changes in PER dissector (rename asn_* types to asn1_* ones)
svn path=/trunk/; revision=18652
2006-07-04 06:49:53 +00:00
Ronnie Sahlberg 735240b656 make the string allocated with g_,alloc since preferences have a scope longer than se
svn path=/trunk/; revision=18651
2006-07-04 03:59:36 +00:00
Ronnie Sahlberg a8113a9dd0 memory allocated by strdup is not frred by using g_free
replace with se storage


svn path=/trunk/; revision=18650
2006-07-04 03:37:15 +00:00
Ronnie Sahlberg b9ee7a9b4f replace the two remaining g_malloc with ep_alloc
this indirectly fixes a tiny memory leak with one of the g_mallocs



svn path=/trunk/; revision=18649
2006-07-04 03:27:14 +00:00
Ronnie Sahlberg 45cb7d3fab check_var_length can also return ewp allocated memory now
svn path=/trunk/; revision=18648
2006-07-04 03:15:58 +00:00
Ronnie Sahlberg 889fe1c6fe make new_format_oid return ep allocated data.
this also removes several small memory leaks through get_oid_name and get_oid_str_name where the callers nevber freed the data





svn path=/trunk/; revision=18647
2006-07-04 02:36:18 +00:00
Ronnie Sahlberg c27681ad4d make format_oid use ep allocated memory internally instead of malloced memory
svn path=/trunk/; revision=18645
2006-07-04 02:15:55 +00:00
Ronnie Sahlberg 69ccdaa778 make format_var return ep allocated memory
svn path=/trunk/; revision=18644
2006-07-04 01:56:52 +00:00
Guy Harris 6dee3c0d76 Note what the standards are for FDDI.
svn path=/trunk/; revision=18643
2006-07-04 00:58:08 +00:00
Ronnie Sahlberg a24ff36da6 from Stephen Fisher
REXEC support


svn path=/trunk/; revision=18642
2006-07-03 22:49:39 +00:00
Anders Broman 2032e960d7 From Martin Mathieson:
packet-diameter.c
--------------------------
I completely reindented dissect_avps() before I made any changes, but 
when ignoring white space (in tkdiff, -w plus checking 'Ignore blanks 
when diffing'), its easy to see the small changes I've made:
- when fail to find AVP info, show code in tree parent in decimal (as 
specs do)
- add an expert info (undecoded, note) to indicate unknown AVP codes

diameter/imscxdx.xml
-------------------------------
- added 'Associated-Identities'

svn path=/trunk/; revision=18641
2006-07-03 21:18:36 +00:00
Anders Broman 2a5e5f26a1 From Nils Ljungberg:
activate_secondary_pdp_contex_acc - radio priority missing, QoS wrongly dekoded.
Fault in i detach_req: should be ELEM_OPT_TLV
identiy half-octeten ignored.
 "Cause" written as "LLC SAPI"
Decoding of TFT.

svn path=/trunk/; revision=18640
2006-07-03 21:10:14 +00:00
Jaap Keuter 3e2659699e From: Hannes Gredler
attached a patch for the BGP dissector for correct display of
VPLS NLRIs as per the latest spec (draft-ietf-l2vpn-vpls-bgp-08).

svn path=/trunk/; revision=18638
2006-07-03 08:38:30 +00:00
Tomas Kukosa 6ceb7937bc remove name field from per_sequence_t structure, it can be retrieved from field information
svn path=/trunk/; revision=18637
2006-07-03 07:03:57 +00:00
Jaap Keuter e850e6bd97 Rewrite of dissector: get rid of static structures and use helper functions available in the form of ptvcursor. Add AF_INET6 support to fix bug 961.
svn path=/trunk/; revision=18636
2006-07-01 19:19:35 +00:00
Ulf Lamping be94c1a5b0 lower the expert info level from NOTE to CHAT for the multiple PDU message, as this is a common behaviour
svn path=/trunk/; revision=18634
2006-07-01 12:19:33 +00:00
Ulf Lamping 692a3adfbb remove two old comments
svn path=/trunk/; revision=18632
2006-07-01 12:13:54 +00:00
Ronnie Sahlberg ca3288b0f7 minor indentation changes
put an entry in the tree for the encrypted payload



svn path=/trunk/; revision=18629
2006-07-01 05:41:30 +00:00
Guy Harris fa10d33734 Include <epan/oid_resolv.h> to declare get_oid_str_name().
svn path=/trunk/; revision=18627
2006-07-01 00:11:49 +00:00
Guy Harris a3099ba15c Get rid of an unused variable.
svn path=/trunk/; revision=18626
2006-07-01 00:10:03 +00:00
Guy Harris 211c2dcd24 Get rid of an unused variable.
svn path=/trunk/; revision=18625
2006-07-01 00:09:32 +00:00
Guy Harris 1502a3ea05 true_false_strings are just structures, not arrays of structures.
svn path=/trunk/; revision=18624
2006-07-01 00:08:34 +00:00
Guy Harris d8bb12debc Use #if 0/#endif, not commenting out, to remove a routine, so we don't
have to worry about comments in the routine.

Fix up indentation a bit.

svn path=/trunk/; revision=18623
2006-07-01 00:07:52 +00:00
Tomas Kukosa ba9d5cd625 fix wrong terminator record in per_sequence_t tables
svn path=/trunk/; revision=18621
2006-06-30 10:18:25 +00:00
Ronnie Sahlberg 0e34335c80 from aaron christensen
fix dissection of get_auth_attr



svn path=/trunk/; revision=18619
2006-06-30 07:51:52 +00:00