Commit graph

5252 commits

Author SHA1 Message Date
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