Commit Graph

5437 Commits

Author SHA1 Message Date
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
Ronnie Sahlberg d0aae6dd3e from metze
prettify dissection of filters containing substring and extensiblematch



svn path=/trunk/; revision=18617
2006-06-29 21:04:37 +00:00
Anders Broman 18c69d17b0 Add a heuristic table to SUA (SUA and SCCP should share the same table) to heuristically
dissect RANAP ower SUA.

svn path=/trunk/; revision=18616
2006-06-29 20:39:53 +00:00
Ulf Lamping f4c7cae6b0 add various enhancements to the CBA-ACCO dissector, including an added profinet_type field to the packet_info struct
svn path=/trunk/; revision=18615
2006-06-29 19:46:51 +00:00
Ulf Lamping 5616d05c1f keep the (optional) Object UUID in the call value
svn path=/trunk/; revision=18613
2006-06-29 18:51:30 +00:00
Tomas Kukosa 9be9eb8e14 use "type function" instead of "field function" in PER CHOICE and SEQUENCE tables
it matches asn2wrs approach and makes generated dissectors source shorter

svn path=/trunk/; revision=18612
2006-06-29 15:26:41 +00:00
Guy Harris 20b7999d60 Fix description of EAPOL Key Descriptor Version values, as per mail from
Michael Stevens.

svn path=/trunk/; revision=18610
2006-06-29 09:53:12 +00:00
Ronnie Sahlberg 9957aa8e0d ssl update register protocols with a decryption key with the protocol name instead of a "tunneled protocol" fake port thing.
this break old preference settings   but as we havent shipped any win32 version with this feature yet    it shouldnt be any drama



see wiki for updates on the new format


(we still need many many updates and cleanups to the code   but the non-backward compatible preference change must go in asap)



svn path=/trunk/; revision=18609
2006-06-29 09:06:41 +00:00
Ronnie Sahlberg 24c8815c09 make these two protocols (that are commonly transported atop SSL) register themself with their name so the new SSL preference parsing will be able to find them
svn path=/trunk/; revision=18608
2006-06-29 08:31:38 +00:00
Ulf Lamping 61396bca97 the drep parameter of dissect_dcerpc_uuid_t() should be guint8 * instead of char * (just like all the other dissect_dcerpc_...() functions).
This should fix some "differ in signedness" warnings (and maybe will raise new ones, which should be fixed at the calling places then)

svn path=/trunk/; revision=18605
2006-06-29 08:08:36 +00:00
Ronnie Sahlberg a134276421 make the three decryption preferences only be visible IF wireshark is compiled for ssl decryption (==with libgcrypt and gnutls)
this makes it easier for users to determine whether their versaion of wireshark can or can not decrypt ssl traffic



svn path=/trunk/; revision=18604
2006-06-29 07:31:52 +00:00
Anders Broman ef7bfcdd45 Update a reference and a comment.
svn path=/trunk/; revision=18603
2006-06-29 06:32:21 +00:00
Anders Broman 3074f01988 From Martin Peylo:
Bug 978 TIPC: Malformed Packet when valid "Cluster Internal Connection Based Non-Routed Message

Bug 979 TIPC: descriptions switched in dissected package

Bug 980 TIPC: "Source Droppable" bit is missing in dissected message

svn path=/trunk/; revision=18602
2006-06-29 06:27:57 +00:00
Gerald Combs 835afe4a96 Reset ldm_tree to NULL each time we dissect an LDAP packet. This should
fix a current Buildbot crash.  Fix up whitespace.

svn path=/trunk/; revision=18601
2006-06-28 22:07:23 +00:00
Gerald Combs 8e5bdb964d Pass tvb_format_text() through a format string, in case it returns any
"%" characters.

svn path=/trunk/; revision=18600
2006-06-28 20:30:42 +00:00
Graeme Lunt 832136aee8 Support for the acp127-notification-request extension.
svn path=/trunk/; revision=18599
2006-06-28 19:31:49 +00:00
Graeme Lunt 5f1d7923bf Support for the message-token, proof-of-delivery and recipient-certificate p1 envelope extensions.
Patch for unknown built-in content type.


svn path=/trunk/; revision=18598
2006-06-28 19:07:10 +00:00
Ulf Lamping d8725b9436 add dissection of the RemoteCreateInstance method (as far as known)
svn path=/trunk/; revision=18597
2006-06-28 18:54:19 +00:00
Ulf Lamping 690bfd0bff add dissection of custom marshalled OBJREF's (as far as known)
svn path=/trunk/; revision=18596
2006-06-28 18:51:24 +00:00
Tomas Kukosa 56d7db0c08 remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
use add_oid_str_name() and get_oid_str_name() instead of them

svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Ronnie Sahlberg 45aac4eb43 coverity 200 remove redundant null tests for pinfo->fd
svn path=/trunk/; revision=18594
2006-06-28 07:51:31 +00:00
Ronnie Sahlberg 1bcccd9863 coverity 199 remove a pointless test for NULL for something that can never be null.
svn path=/trunk/; revision=18593
2006-06-28 07:44:47 +00:00
Ronnie Sahlberg a2e5a1c806 coverity 198
svn path=/trunk/; revision=18592
2006-06-28 07:37:54 +00:00
Tomas Kukosa 0fcacced04 export functions from oid-resolv.h
svn path=/trunk/; revision=18591
2006-06-28 07:01:15 +00:00
Tomas Kukosa 7d9564c459 few OID names
svn path=/trunk/; revision=18590
2006-06-28 06:50:39 +00:00
Anders Broman 0bf4780bf2 From Martin Mathieson:
Fix Bug 976

Looking at frame 170 in the trace, it looks like 
tvb_get_ephemeral_text() struggles with the null character in the middle 
of the 4th parameter (in the WWW-Authenticate header) and returns NULL.  
The attached patch uses tvb_format_text() instead which also does a 
better job of showing the string.

svn path=/trunk/; revision=18589
2006-06-27 22:04:35 +00:00
Anders Broman 93f7312e1d From Neil Piercy:
Just to add dissector name registration to the main IETF AMR dissector.

svn path=/trunk/; revision=18587
2006-06-27 19:16:38 +00:00
Anders Broman 5f09b2fcce From Neil Piercy:
The patch avoids the crash for unknown messages, adds the Common Id 
message dissection which caused it, and also add dissector name 
registration for the 2 other protocols which this file can provide.

svn path=/trunk/; revision=18586
2006-06-27 19:15:43 +00:00
Ulf Lamping c63ce3b15d MSVC doesn't like the conversion from guint64 to double, use gint64 instead (should be safe if I understand the implementation correct)
svn path=/trunk/; revision=18585
2006-06-27 16:50:28 +00:00
Ulf Lamping f661fd9b80 #include <epan/value_string.h> must be done, even if HAVE_LIBGNUTLS isn't defined
svn path=/trunk/; revision=18584
2006-06-27 16:41:32 +00:00
Ronnie Sahlberg ad274d0542 make the called subdissectors create their protocol expansion at the first level of the tree and not deep inside the SSL layer
makes the traces much more readable


svn path=/trunk/; revision=18583
2006-06-27 13:51:13 +00:00
Ronnie Sahlberg 16d463dac6 from Authesserre Samuel
SSL updates and DTLS support


svn path=/trunk/; revision=18582
2006-06-27 13:36:10 +00:00
Tomas Kukosa f8ae861c94 the 1st very simple attempt to support RFC 2198 Redundant Audio Data
svn path=/trunk/; revision=18581
2006-06-27 12:40:53 +00:00
Ronnie Sahlberg ff22d9d066 fix a tiny memory leak where wireshark would lose a few kb once upon startup if there was no radius directory
svn path=/trunk/; revision=18580
2006-06-27 12:12:31 +00:00
Ronnie Sahlberg 5dd51dc735 fix a tiny memory leak where we would lose a few kbyte once when wireshark is starting up
svn path=/trunk/; revision=18579
2006-06-27 12:05:05 +00:00
Ulf Lamping ecb07acdef add a new column DCE/RPC context ID
svn path=/trunk/; revision=18578
2006-06-26 20:46:15 +00:00
Jaap Keuter 846331e8a6 Fix Ethereal bug 1004. Make UDP dissector work on top of IPv6 by filling in pinfo fields correctly.
svn path=/trunk/; revision=18574
2006-06-25 12:15:35 +00:00
Ronnie Sahlberg 139b870383 restore display of optional field names when the optional bit is displayed in the tree
svn path=/trunk/; revision=18573
2006-06-24 12:03:24 +00:00
Ronnie Sahlberg c72123bf4b coverity 197 dead code
svn path=/trunk/; revision=18572
2006-06-24 11:50:47 +00:00
Ronnie Sahlberg ee469dc8ea coverity 149 dead code
svn path=/trunk/; revision=18571
2006-06-24 05:45:06 +00:00
Ronnie Sahlberg 0911f08cb2 change a parenthesis
svn path=/trunk/; revision=18570
2006-06-24 05:39:38 +00:00
Ronnie Sahlberg b945d54c9f remove some dead code coverity 17
svn path=/trunk/; revision=18567
2006-06-24 00:01:33 +00:00
Ronnie Sahlberg 617227fe2a change a comment to #if to make it clearer the code is disabled
svn path=/trunk/; revision=18566
2006-06-23 23:51:55 +00:00
Ronnie Sahlberg 2258dfd5a9 coverity 172
remove a dead code condition


svn path=/trunk/; revision=18565
2006-06-23 23:44:17 +00:00
Ulf Lamping f62e617029 fix the reading of UUID's from the Win32 registry, it was broken as we switched to UNICODE compilation
I thought there was a bugzilla entry about this, but couldn't find it

svn path=/trunk/; revision=18561
2006-06-23 18:06:54 +00:00
Ronnie Sahlberg 142763b216 coverity 174
ifdef out a few lines of dead code for a feature that is not yet finished

remove two compiler warnings about uninitialized variables (they are not uninitialized, just gcc being dumb)



svn path=/trunk/; revision=18558
2006-06-23 12:04:00 +00:00
Ronnie Sahlberg cd65440deb coverity 190
remove some dead code


svn path=/trunk/; revision=18557
2006-06-23 09:27:17 +00:00
Ronnie Sahlberg 143f429c61 remove some dead code
coverity 191

svn path=/trunk/; revision=18556
2006-06-23 09:15:20 +00:00
Ronnie Sahlberg 332df10d7e coverity warning 177 deadcode
replace overly convoluted code with much simpler code.

stateid is a simple 16 byte structure and there is no need to make it more complex than it is.



svn path=/trunk/; revision=18555
2006-06-23 09:02:54 +00:00
Guy Harris f6f7bd756d The joys of the C switch statement - you have to remember to use
"break;" between cases except in those rare situations where you *want*
fallthrough.

svn path=/trunk/; revision=18550
2006-06-22 21:55:24 +00:00
Ulf Lamping efb558955d add another PROFINET specific subtype (5:CHASSIS_MAC)
svn path=/trunk/; revision=18549
2006-06-22 19:19:41 +00:00
Ronnie Sahlberg 946a39d4fc the dissector for AssertionValue that is implemented in the template file
did not check the implicit_tag flag and caused extensiblematch filters to show up as malformed packets.




svn path=/trunk/; revision=18540
2006-06-22 10:29:49 +00:00
Jaap Keuter a41dc5d874 Initial fix for bug 974. It does implement RSP header decoding, it lacks RSP trailer decoding. ASF 2.0 messages added to ASF decoder .
svn path=/trunk/; revision=18539
2006-06-22 00:07:46 +00:00
Anders Broman 67f84666c1 Put the correct IE names in GTPv1 messages.
svn path=/trunk/; revision=18538
2006-06-21 20:51:55 +00:00
Ulf Lamping 5e62ced7e3 comment out the "catapult_dct2000_board_ports_only" part, so the Win32 buildbot has at least a chance to compile again
This is really not the preferred solution, but the current situation is even more ugly.

svn path=/trunk/; revision=18537
2006-06-21 20:34:28 +00:00
Jaap Keuter 036661ed3d Somewhat improve heuristic when SIP is encapsulated in another protocol.
svn path=/trunk/; revision=18531
2006-06-21 17:57:10 +00:00
Ronnie Sahlberg f27bb044dd two things have irritated me immensly with nfs filehandles
1, (minor) the heuristics are too weak and everyting is always decoded either as netapp filehandles or one of the others   even when just capturing ibetween say two classic unix boxens
2, (major) you can not filter on specific subfields of the filehandle


observation: 5 people or less in the world care about implementation specific storage of data inside an opaque blob.


remove the too weak heuristics for nfs filehandles.
make decoding of filehandles accorrding to specific implementations controlled by a preference setting.
default this setting to "unknown"

display unknown filehandles using proto_tree_add_item()  FT_BYTES/BASE_HEX to make it fitlerable instead of a useless proto_tree_add_text()


wiki needs to be updated tomorrow


svn path=/trunk/; revision=18530
2006-06-21 09:45:50 +00:00
Ulf Lamping 53a3dd33e7 update PROFINET port2/3 status text
svn path=/trunk/; revision=18529
2006-06-21 07:30:11 +00:00
Ulf Lamping df377ffcc5 fix a comment
svn path=/trunk/; revision=18527
2006-06-21 07:26:39 +00:00
Gerald Combs f7e38bd5e6 Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variable
definition in the Catapult DCT2000 code.

svn path=/trunk/; revision=18524
2006-06-20 18:30:54 +00:00
Ronnie Sahlberg 797bb2d5d7 for iscsi traces where there is a lot of packetloss the dissector frequently gets out of sync
and the weak heuristics often cause wireshark to mistake some segment containing read/write data to be iscsi.


make the heuristics to check that a packet really is iscsi much stronger


svn path=/trunk/; revision=18523
2006-06-20 13:16:50 +00:00
Anders Broman 0e1b053f82 From Albert Chin:
This fixes a redefine of AF_INET6 on AIX 4.3.3. We pull in <sys/socket.h> so the OS can define it first, nullifying the #define in epan/inet_v6defs.h.

svn path=/trunk/; revision=18522
2006-06-20 05:59:55 +00:00
Anders Broman c72d4e8f2e From Albert Chin:
Fix some C++ comments in C source files and fixes some non-constant initializations.

svn path=/trunk/; revision=18521
2006-06-20 05:57:29 +00:00
Anders Broman d327d37e82 Fix Ethereal bug 994 in Wireshark:
MIP Advertisement reverse tunneling flag not dissected

svn path=/trunk/; revision=18520
2006-06-19 15:54:13 +00:00
Anders Broman 764e3ac167 New rutine tvb_format_text_wsp() which will change "whiite space" characters to space
before output.

svn path=/trunk/; revision=18519
2006-06-19 15:53:03 +00:00
Ronnie Sahlberg c71d5ef7cb coverity 195
remove a redundant check for str==NULL
since str can never be NULL here


svn path=/trunk/; revision=18517
2006-06-19 10:18:42 +00:00
Ronnie Sahlberg 75030295d1 add tracking of TID -> sharenames
reuse the recent structure for fid->filename mappings since the problemspace is virtually the same


(go to tired of trying to find the sharename in 10mpacket traces with 1000s of shares)



svn path=/trunk/; revision=18516
2006-06-19 09:44:15 +00:00
Ronnie Sahlberg 15c935b535 make fid->filename tracking work for files opened with NTCreateAndX
This needs to be done for all other Create/Open calls as well but would notmally just be 6 lines tyo add.

I rarely see older methods to open files   so others using older clients are encoraged to use these 6 lines to the other places where needed.




svn path=/trunk/; revision=18515
2006-06-19 07:41:09 +00:00
Ronnie Sahlberg 986085204d add infrastructure to make tracking of fid->filename easy to implement and use
svn path=/trunk/; revision=18514
2006-06-19 07:39:19 +00:00
Ronnie Sahlberg d76b58cbfb track smb FIDFs when tehy are opened and closed.
add an expansion to the fid that display which frame itr was opened in and when it was closed.



someone may want to add tracking of actual filenames here as well.   i am not sure i need that feature myself   so ...



svn path=/trunk/; revision=18512
2006-06-18 05:45:40 +00:00
Ronnie Sahlberg ab54bfdf50 include emem.h
svn path=/trunk/; revision=18508
2006-06-18 05:15:55 +00:00
Ronnie Sahlberg 533be475fc include emem.h
svn path=/trunk/; revision=18507
2006-06-18 05:14:45 +00:00
Ronnie Sahlberg a5db166102 rename add_fid() to dissect_smb_fid() as a firsdt step towards adding tracking of filename/openedframe/closedframe tracking for smb fids
svn path=/trunk/; revision=18506
2006-06-18 01:58:34 +00:00
Ronnie Sahlberg 9b67217fb5 ethereal to wireshark changes
svn path=/trunk/; revision=18499
2006-06-17 12:04:30 +00:00
Ronnie Sahlberg 0c222fdbd0 ethereal to wireshark change
svn path=/trunk/; revision=18498
2006-06-17 12:00:41 +00:00
Ronnie Sahlberg 9647ea21f8 ethereal to wireshark change
svn path=/trunk/; revision=18497
2006-06-17 11:57:26 +00:00
Ronnie Sahlberg 85f49f1d49 fix for coverity 182
this bug can not currently trigger    but if someone would rename the module
in the future then this could potentially cause a null dereference.



svn path=/trunk/; revision=18494
2006-06-17 11:11:34 +00:00
Ronnie Sahlberg 847090fe54 fix coverity 188
at the same time, get rid of some unused parameter compiler warnings


svn path=/trunk/; revision=18493
2006-06-17 10:47:10 +00:00
Ronnie Sahlberg d8e1827401 allocate the correct size of buffer to store the itlq structure for scsi
we used the wrong size which caused emem to complain that the canary value had been stomped upon.

another win for the canary feature.  thanks gerald


svn path=/trunk/; revision=18491
2006-06-17 08:40:14 +00:00
Ronnie Sahlberg 2849771e3d make ndmp track itl structures
everytime a ndmp_[scsi|tape]_open is seen   create a new itl

we need an itl structure to be able to know what commandset a certain device is using.




svn path=/trunk/; revision=18490
2006-06-17 08:22:03 +00:00
Ronnie Sahlberg cea0653059 we need a itl structure to decode a scsi cdb properly.
make dissect_scsi_cdb abort with an assert if called with a null pointer for itl.

This means scsi over ndmp will be aborted by an assert sicne ndmp passes a null pointer here always but at least is better than a segv since some cdb's require itl to decode properly.


next checkin will fix ndmp in this regard.



svn path=/trunk/; revision=18489
2006-06-17 05:42:55 +00:00
Guy Harris 535a8bd006 Not all UN*Xes have MAP_ANONYMOUS; some have MAP_ANON instead, and some
have neither.  For those with MAP_ANON but not MAP_ANONYMOUS, use
MAP_ANON; for those with neither, add some code to use "/dev/zero".

svn path=/trunk/; revision=18488
2006-06-17 02:31:56 +00:00
Jaap Keuter 2288c8590d From Albert Chin
HP-UX doesn't have MAP_ANON but it does have MAP_ANONYMOUS. Moreoever,
according to mmap(2) on RHEL:
       MAP_ANONYMOUS
              The mapping is not backed by any file; the fd and offset argu-
              ments are ignored.  This flag in conjunction with MAP_SHARED is
              implemented since Linux 2.4.

       MAP_ANON
              Alias for MAP_ANONYMOUS. Deprecated.


svn path=/trunk/; revision=18486
2006-06-16 21:30:58 +00:00
Guy Harris 2d20359c26 Include <epan/dissectors/packet-tcp.h> to declare tcp_dissect_pdus().
svn path=/trunk/; revision=18483
2006-06-16 07:18:25 +00:00
Guy Harris 753aa36dbf "proto_tree_add_text()" supports printf-style formats; there's no need
to format into a buffer and then pass that buffer.

Make a count an "int" rather than a "size_t" to squelch a (valid)
compiler warning.

svn path=/trunk/; revision=18482
2006-06-16 07:17:00 +00:00
Anders Broman c19f6b2d97 gsm_a: Dissect LLC
Q.931: Add Bit 8 first in Bearer Cap IE

svn path=/trunk/; revision=18477
2006-06-15 21:14:26 +00:00
Anders Broman e803b5cefa Fix BUG 971 Facility IE dissection error in GSM_DTAP.
svn path=/trunk/; revision=18476
2006-06-15 21:12:47 +00:00
Ulf Lamping 28f87e7d3b add a missing status code
svn path=/trunk/; revision=18470
2006-06-15 11:43:35 +00:00
Ulf Lamping 39e7f020e6 fix the hresult "filter" fields
svn path=/trunk/; revision=18469
2006-06-15 11:42:47 +00:00
Tomas Kukosa f0f319acf1 - BER_MAX_OID_STR_LEN removed and replaced with MAX_OID_STR_LEN
- x411 and dop regenerated
- dissect_ber_tagged_type() prepared (support in asn2wrs will follow)

svn path=/trunk/; revision=18468
2006-06-15 07:46:07 +00:00
Anders Broman 012f0c5f73 RANAP:
Handle the case where length is two octets.

SS-Operations.asn - cosmetict change.

svn path=/trunk/; revision=18466
2006-06-15 05:40:21 +00:00
Ronnie Sahlberg 2f95f76a1e fix tcp reassembly to work again for
ldap   and ldap+sasl


remove a recent ber length validation in packet-ber.c that cant work and breaks reassembly  and also makes all ber pacvket sspanning multiple segments show up as malformed packets.



svn path=/trunk/; revision=18465
2006-06-14 11:51:25 +00:00
Jörg Mayer b2fe8eb03e No , at end of enum
svn path=/trunk/; revision=18463
2006-06-14 08:11:29 +00:00
Jörg Mayer 392e584e1e Include <ctype.h> to fix some warnings. Regenerate the
dissector.

svn path=/trunk/; revision=18461
2006-06-14 08:08:51 +00:00
Jörg Mayer 49e50f70d0 configure.in:
Check for libgcrypt 1.1.0 (note: I don't know which version
        is required, so maybe the version number needs to be changed
        for this test to work reliably).

packet-ipsec.c:
        - Replace __USE_LIBGCRYPT__ by HAVE_LIBGCRYPT to follow
          conventions.
        - Warning fixes: signedness in sscanf (%i -> %u)
        - Warning fixes: mixed declaration and code


svn path=/trunk/; revision=18460
2006-06-14 08:04:43 +00:00
Ulf Lamping f1f0e294b4 (on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
add Media Redundancy and Media Redundancy Realtime Protocol dissectors (PN-MRP and PN-MRRT)

svn path=/trunk/; revision=18454
2006-06-13 18:26:49 +00:00
Ulf Lamping aa748fc102 dcom_tvb_get_nwstringz0(): convert output to hexdump if the string contains nonprintable characters
svn path=/trunk/; revision=18453
2006-06-13 18:18:53 +00:00
Tomas Kukosa a063a87af5 - "next tvb" list moved from h225 to new file next_tvb.[ch]
- h225 updated and regenerated
- restore calling subdissectors for SNMP variables which was broken with new SNMP

svn path=/trunk/; revision=18451
2006-06-13 13:21:12 +00:00
Tomas Kukosa a557a61ae0 new function epan_get_version()
svn path=/trunk/; revision=18450
2006-06-13 08:18:50 +00:00
Ronnie Sahlberg f3c5f96124 from metze
make the display of the filters more similar to how the ldap c api represents
filters and how they are commonly represented in documentation and other texts.




svn path=/trunk/; revision=18449
2006-06-13 07:44:37 +00:00
Guy Harris 6d2e9ee5f7 Constify to fix compiler warnings.
Check for printable ASCII - 0x7F is >= 0x20, but it's not printable, and
0x80 through 0xFF aren't ASCII.

Note that we should perhaps be using RFC 2252-style schemas to figure
out which attribute and assertion values are text and which are binary.

svn path=/trunk/; revision=18447
2006-06-13 05:39:55 +00:00
Anders Broman f51e366267 Fix some warnings.
svn path=/trunk/; revision=18445
2006-06-12 21:48:51 +00:00
Ulf Lamping fca1199357 add some more DCOM related HRESULTS
svn path=/trunk/; revision=18437
2006-06-12 19:28:54 +00:00
Ulf Lamping 974baa0485 slightly extend information about TCP checksum offloading problems (still far from being a real good way to handle this)
svn path=/trunk/; revision=18436
2006-06-12 19:27:05 +00:00
Ulf Lamping 2ed2cdc39d I couldn't find the filter string to show only the marked frames until I had a look at the source code (the corresponding field was hidden) -> that's not very intuitive.
So make the field "frame.marked" visible and tag it as generated.

Move both "time reference" and "marked frame" fields towards the end of the "frame" protocol fields.

Should be copied over to trunk-1.0

svn path=/trunk/; revision=18435
2006-06-12 19:24:36 +00:00
Ronnie Sahlberg b501e15fe9 prettify dissection of LDAP search filters.
svn path=/trunk/; revision=18431
2006-06-12 08:30:07 +00:00
Anders Broman 81bda938ff From Martin Mathieson:
This patch:
- treats the variant field as a variable-length string field.  This is 
needed for some of the more complicated protocols where the variant 
number of the embedded protocol is also represented

- the patch to Makefile.am was not applied from 
http://www.wireshark.org/lists/wireshark-dev/200606/msg00009.html

svn path=/trunk/; revision=18427
2006-06-11 08:26:55 +00:00
Ronnie Sahlberg 452226586d rework the previous patch slightly since we really need to push a string upward to our callers to be able to generate and display nice filter expressions on the top line as the original ldap dissectopr did
svn path=/trunk/; revision=18421
2006-06-10 06:48:09 +00:00
Ronnie Sahlberg fcf198a69d add simple heuristics to the decoding of assertionvalues to make it display ascii strings as ascii and binary data as hex bytes
svn path=/trunk/; revision=18420
2006-06-10 05:07:42 +00:00
Ronnie Sahlberg 5e49882844 make CLDAP show up as CLDAP in the dissectyion tree and not as LDAP
this also makes the "cldap" filter work


svn path=/trunk/; revision=18419
2006-06-10 04:29:26 +00:00
Guy Harris 3d93d3f99c Mark "inap.tcap.itu_ssn" and "inap.tcap.itu_ssn1" as obsolete
preferences, so we don't warn about them, we just silently discard them.

svn path=/trunk/; revision=18418
2006-06-10 00:26:48 +00:00
Guy Harris a85199af18 Make dissect_tivoconnect() a proper "new-style" dissector, and register
it as such.

Use "tvb_strncaseeql()" to do the check for "tivoconnect" at the
beginning of the packet.

svn path=/trunk/; revision=18415
2006-06-09 23:06:38 +00:00
Ronnie Sahlberg 1edbac09c0 fix for bug 766
display truncated responses as "truncated response" and not "malformed packet"



svn path=/trunk/; revision=18412
2006-06-09 22:55:25 +00:00
Ronnie Sahlberg e3bdf2986f From Christoph Werle
fix for ieee802.11 aid


svn path=/trunk/; revision=18411
2006-06-09 22:06:21 +00:00
Ronnie Sahlberg 912d222720 update properties
svn path=/trunk/; revision=18410
2006-06-09 21:45:06 +00:00
Ronnie Sahlberg 795e49d637 From Thomas Dreibholz
RSerPool protocol stack and four new protocols


svn path=/trunk/; revision=18409
2006-06-09 21:41:02 +00:00
Ronnie Sahlberg de2e6dc731 some updates from new pidl
svn path=/trunk/; revision=18408
2006-06-09 21:17:58 +00:00
Ronnie Sahlberg ecdde88d46 from tim endean
handle the "broken" case when someone sends an indefinite length that is 0.



svn path=/trunk/; revision=18407
2006-06-09 21:09:57 +00:00
Ronnie Sahlberg 067de606f2 from Stephen Fisher
make icmp timestamps more readable



svn path=/trunk/; revision=18406
2006-06-09 20:44:16 +00:00
Ronnie Sahlberg fea1419b6f from Metze
fix the bug where decryption of dcerpc wrapped inside gsskrb sometimes fail




svn path=/trunk/; revision=18404
2006-06-09 08:54:23 +00:00
Jörg Mayer eb808f2cdb rtcp.profile-specific-extension was defined twice
svn path=/trunk/; revision=18400
2006-06-08 14:42:53 +00:00
Jörg Mayer 904756e54b Compile fix: update generated rnsap files
svn path=/trunk/; revision=18399
2006-06-08 14:37:28 +00:00
Jörg Mayer 10d81045a1 warning fix: no , at end of enum
svn path=/trunk/; revision=18398
2006-06-08 14:36:45 +00:00
Jörg Mayer 548d9ec98e warning fix: make function static
svn path=/trunk/; revision=18397
2006-06-08 14:36:17 +00:00
Anders Broman 78d971d999 MAke it possible to get a tvb with a BIT STRING, regenerate PER dissectors.
svn path=/trunk/; revision=18396
2006-06-08 06:07:18 +00:00
Anders Broman 581dc56d63 MAke it possible to get a tvb with a BIT STRING, regenerate PER dissectors.
svn path=/trunk/; revision=18395
2006-06-08 06:06:17 +00:00
Gerald Combs d5da1670f1 Update the download link in the help dialog. More Ethereal -> Wireshark.
svn path=/trunk/; revision=18391
2006-06-07 22:57:54 +00:00
Anders Broman 41dc49bc3e From Michail Koreshkov:
Added option "ANSI MAP" in Preferences menu, that ansi_map protocol dissector can parse packets with non-standart SSN.

svn path=/trunk/; revision=18358
2006-06-06 18:39:49 +00:00
Anders Broman 65aadc0d79 From Martin Mathieson:
- shows profile-specific extension data at the end of SR/RR reports (if 
packet length has not yet been reached after parsing normal data) and 
advances offset (further packets were not recognised+dissected as this 
data wasn't being skipped).
- checks that the length of the RTCP data in the whole frame matches the 
combined length from the length fields (the last check in RFC 3550, "A.2 
RTCP Header Validity Checks") with a generated field and expert info 
when wrong.
- reports the length field in all of the message types consistently (the 
length was confusingly shown multiplied by 4 only in APP packets...)

svn path=/trunk/; revision=18357
2006-06-06 18:26:57 +00:00
Tomas Kukosa a12a5a7148 uncomment newly supported TYPE-IDENTIFIER usage and per regeneration
svn path=/trunk/; revision=18339
2006-06-05 06:52:50 +00:00
Tomas Kukosa 1f24a713be - packet-per.[ch]: Open Type support
- asn2wrs.py: TYPE-IDENTIFIER and ABSTRACT-SYNTAX information object classes support

svn path=/trunk/; revision=18338
2006-06-05 06:49:52 +00:00
Jörg Mayer 49618dfd6d warning fix: declare some functions static
svn path=/trunk/; revision=18335
2006-06-04 18:22:03 +00:00
Jörg Mayer af663527d2 warning fix: guint16 is always <= 0xFFFF
svn path=/trunk/; revision=18334
2006-06-04 17:48:18 +00:00
Jörg Mayer 98477bc4e4 Add some rudimentary dissector for what seems to be
Telkonets ethernet over powerline communication protocol.

svn path=/trunk/; revision=18333
2006-06-04 13:07:13 +00:00
Anders Broman 5f6f853d16 From Martin Mathieson:
- while parsing fmtp lines, the dissector looks for the MPEG4 'profile-level-id' parameter.  If there is no '=' present, it was throwing an exception and the frame marked as malformed (see e.g. the attached
capture)
- I've added a few comments where the code wasn't obvious to me...

svn path=/trunk/; revision=18332
2006-06-03 11:48:27 +00:00
Ronnie Sahlberg d72e2d6f6c some functions return dos error codes and not nt status codes
svn path=/trunk/; revision=18331
2006-06-03 02:03:52 +00:00
Guy Harris 013ca90c42 Get rid of unused variable.
svn path=/trunk/; revision=18328
2006-06-03 00:44:02 +00:00
Anders Broman b590de7ce0 From Richard van der Hoff:
Q.931:I
mprovesthe dissection of Q.931 Channel 
Identification information elements, by using proper (filterable) header 
fields rather than text tree items.

H253:
make the h.263 dissector dissect the group-of-block 
number which comes after a GOB start code.

svn path=/trunk/; revision=18323
2006-06-02 20:29:05 +00:00
Anders Broman 770777bd17 dissect_geographical_description updates.
svn path=/trunk/; revision=18318
2006-06-02 16:58:22 +00:00
Jörg Mayer 3e3dc39b29 The actual file packet-tivoconnect.c was missing
svn path=/trunk/; revision=18314
2006-06-02 07:11:11 +00:00
Jörg Mayer d9b930a7d7 image/wireshark.rc.in
svn path=/trunk/; revision=18310
2006-06-02 06:50:57 +00:00
Anders Broman 409519d0f2 From Kees Cook:
A dissector for "TiVoConnect Beacon" traffic.

svn path=/trunk/; revision=18308
2006-06-02 05:31:41 +00:00
Anders Broman 2143fccee3 Correct dissect_geographical_description.
svn path=/trunk/; revision=18307
2006-06-02 05:02:54 +00:00
Anders Broman 6471c00a55 From Cvetan Ivanov:
H225.cnf
I noticed is that the voip call flow graph does not have a label for the setupAck packet. I traced this to the empty frame_label.

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18304
2006-06-01 20:19:51 +00:00
Ronnie Sahlberg 66bf41c493 the very recently added unaligned-per support and the ulp dissector could cause an infinite loop in dissect_per_constrained_integer()
if the interval spans the entire 32 bit range.


special case the two common cases when this may happen  until a real fix is included.

if the range variable becomes 0 due to 32bit overflow   do a g_assert_not_reached to prevent an infinite loop.



this function should be enhanced to work with 64 bit integers.


svn path=/trunk/; revision=18299
2006-06-01 10:16:43 +00:00
Anders Broman ed5e8f550c Complete reasembly code.
svn path=/trunk/; revision=18279
2006-05-31 20:22:51 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Michael Tüxen 232c213eca Editorial fixes from Thomas Dreibholz.
svn path=/trunk/; revision=18265
2006-05-31 13:41:35 +00:00
Tomas Kukosa 34e1acfc08 get rid of few warnings in packet-per.c
svn path=/trunk/; revision=18264
2006-05-31 13:38:10 +00:00
Ronnie Sahlberg 697974ae8d improve the tcp retransmission vs outoforder heuristics to address the issue in PeterBruno's email of may18
dont reply to mailinglist that issue has been resolved since "ethereal" is still in limbo


svn path=/trunk/; revision=18263
2006-05-31 11:15:45 +00:00
Tomas Kukosa 9b2a95f2d4 H.245 update to version 12 (10/2005)
svn path=/trunk/; revision=18262
2006-05-31 07:33:47 +00:00
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Anders Broman c510c6118e Preparations for reassembly. Currently there is a problem with the rrlp dissector...
svn path=/trunk/; revision=18258
2006-05-30 20:52:43 +00:00
Anders Broman 9aa99b16fe Ethereal->Wireshark
svn path=/trunk/; revision=18248
2006-05-29 20:44:06 +00:00
Anders Broman 9491711ab4 From Martin Mathieson:
- shows profile-specific extension data at the end of SR/RR reports (if 
packet length has not yet been reached after parsing normal data) and 
advances offset (further packets were not recognised+dissected as this 
data wasn't being skipped).

svn path=/trunk/; revision=18245
2006-05-29 18:16:23 +00:00
Anders Broman 581f2e92aa From Martin Mathieson:
This version of the patch won't look for the authentication scheme (it 
just skips that part for Authentication-Info headers).  I tested it 
using the enclosed file (pasted from the RFC and fed through 
od/text2pcap, then messed around with so I could test the other new 
parameters, even if they don't really belong in that header...).

svn path=/trunk/; revision=18244
2006-05-29 18:13:55 +00:00
Tomas Kukosa 667fed5915 - h225.asn renamed to H323-MESSAGES.asn
- h245.asn renamed to MULTIMEDIA-SYSTEM-CONTROL.asn
- rollback changes in .asn sources to keep them in original ITU-T form and put necessary changes into .cnf files
- PER dissectors regenerated

svn path=/trunk/; revision=18238
2006-05-29 13:06:44 +00:00
Anders Broman 996d4db495 Ethereal->Wireshark
svn path=/trunk/; revision=18234
2006-05-28 19:49:07 +00:00
Ronnie Sahlberg 42a4ebe633 basic sdp dissector for the bluetooth stack
svn path=/trunk/; revision=18229
2006-05-28 06:14:20 +00:00
Anders Broman c20d559c91 Fix bug 973:
While in 3GPP spec, the last two (Down/up nextPDCP-PDU seq. no.) would be 2 
BYTES. So ethreal could not read the message correctly. We have to modify the 
log to make Ethreal analysis it.

Add disection of TargetID.

svn path=/trunk/; revision=18228
2006-05-27 22:09:07 +00:00
Anders Broman 859e520bdf From Markus Meier:
Better dissection of chanel descriptions.

svn path=/trunk/; revision=18227
2006-05-27 18:26:04 +00:00
Anders Broman 949a2d9bf7 Handle the case with only one speech sample.
svn path=/trunk/; revision=18226
2006-05-27 18:25:08 +00:00
Anders Broman f377855e9f Dissect RTP Redundancy Support correctly.
svn path=/trunk/; revision=18225
2006-05-27 18:24:29 +00:00
Ronnie Sahlberg 36171caca7 the bluetooth SCO transport layer from the affix bluetooth patch
svn path=/trunk/; revision=18224
2006-05-27 06:45:46 +00:00
Ronnie Sahlberg 666c144dd4 add reassembly of bluetooth ACL packets
doing the reassembly internally in acl instead of calling reassembly.c since the fragmentation is so simple and packets are so small anyway so full reassembly.c support would be overkill.



svn path=/trunk/; revision=18223
2006-05-27 06:10:52 +00:00
Ronnie Sahlberg 38a0ca26c6 initial bluetooth rfcomm dissector.
this dissector will not yet detect when ppp is passed over the rfcomm link
but the old code to detect and deescapt the ppp data is still in the dissector, though ifdeffed out   to serve as inspiration when ppp over rfcomm captures are made available.


the only captures i have with rfcomm are for raw serial communications so they dont contain any ppp frames. :-(



svn path=/trunk/; revision=18221
2006-05-27 01:52:02 +00:00
Ronnie Sahlberg a002e7b0c8 pass both chandle and cid from l2cap to higher layer protocols.
higher layer protocols need the chandle, cid and direction (from pinfo) in order to identify packets for the same "conversation"

(it is not a conversation per se in bluetooth butn one unidirectional flow that we track)


svn path=/trunk/; revision=18220
2006-05-26 22:34:33 +00:00
Ronnie Sahlberg fd8f1cee34 protocols running atop ACL/L2CAP needs to be able to track pdus based on
acl chandle + direction + l2cap-CID    to uniquely identify a single specific
flow of PDU packets.

So we need to pass the chandle upp from acl to l2cap at least.



It would have been nice to handle this using "conversations" but the bluetooth
stack does not eaily map to the idiom host:port<->host:port

instead in bluetooth you have unidirectional flows that are identified by ACL-chandle:L2CAP-CID:direction     and additional state held inside l2cap  would attach two such flows together into a "conversation".
Bluetooth packets themself    only indentify "half" of the two way conversation.




svn path=/trunk/; revision=18218
2006-05-26 08:30:56 +00:00
Tomas Kukosa 604000a6b3 - remove some #.MODULE_IMPORT from .cng files
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs

svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +00:00
Anders Broman d17dad9ead Atempt to fix bug 967 crash on fuzzed SNMP capture. I can't reproduce the Bug.
svn path=/trunk/; revision=18216
2006-05-23 20:36:49 +00:00
Anders Broman b727e4e355 From Markus Meier:
The UMA-message Handover From UMAN Command includes the complete L3-message (and header) and not only the handover-IE's.

svn path=/trunk/; revision=18215
2006-05-23 19:02:05 +00:00
Anders Broman 1814821adc From Martin Mathieson:
- Many DCT2000 protocols can be embedded within an IP primitive 
message.  Add a heuristic to see if we can find the protocol payload 
within in IP primitive message, and look for an ethereal dissector 
matching the DCT2000 protocol name (this is useful for simple protocol 
testing where no physical links are involved)
- Make some more of these protocols (diameter, http, mgcp) findable by name
- Adds protocol 'variant' number to stub and dissector
- Break the duplicated writing of the stub header out into a separate 
function

svn path=/trunk/; revision=18212
2006-05-23 05:48:00 +00:00
Anders Broman 28509cb311 Dissect rrlp payload.
svn path=/trunk/; revision=18211
2006-05-23 05:35:20 +00:00
Tomas Kukosa fbd2a3fe3e - fix bugs in dissect_per_octet_string() introduced with unaligned variant
- step to new ASN.1 API - pass asn_ctx_t* through PER dissectors instead of packet_info*
- PER ALIGNED/UNALIGNED flag moved to asn_ctx_t
- PER created tree item pointer moved to asn_ctx_t
- add nbap into PER dissectors in asn1/Makefile.nmake
- use add_oid_str_name() instead of register_ber_oid_name() in H.225 and H.245
- export asn_ctx_init from library
- PER dissectors regenerated

svn path=/trunk/; revision=18209
2006-05-22 11:49:50 +00:00
Ronnie Sahlberg 6075ec39fb ethereal->wireshark
svn path=/trunk/; revision=18207
2006-05-22 08:21:22 +00:00
Ronnie Sahlberg f0b33a4789 ethereal->wireshark updates
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Guy Harris 629f0ecbe5 Put a newline at the end of the file.
svn path=/trunk/; revision=18193
2006-05-20 21:45:07 +00:00
Jaap Keuter f08e4931e1 From Ted Percival:
I have updated the TELNET dissector to dissect encryption negotiation
commands as specified by RFC 2946. 

svn path=/trunk/; revision=18187
2006-05-18 17:08:41 +00:00
Guy Harris 635ae7e19a As suggested by Jim Prince, pass the right argument to "getcwd()" - the
buffer argument is a mallocated buffer, so sizeof doesn't return its
size, it returns the size of the pointer to the buffer.  Fixes bug 907.

svn path=/trunk/; revision=18186
2006-05-18 12:01:33 +00:00
Guy Harris 402a762818 Put a newline at the end of the file.
svn path=/trunk/; revision=18184
2006-05-18 11:34:57 +00:00
Lars Roland d9b9565032 Improve fix for Bug 915 by using GetVersionEx() as it is recommended by Microsoft. Tested on Win98 SE.
svn path=/trunk/; revision=18183
2006-05-18 00:25:14 +00:00
Anders Broman 86d8177cc1 Decode Ext-GeographicalInformation.
svn path=/trunk/; revision=18182
2006-05-17 20:09:48 +00:00
Anders Broman aefbf4ab72 Fix decoding of Ext-GeographicalInformation.
svn path=/trunk/; revision=18181
2006-05-17 19:30:57 +00:00
Anders Broman fff13e4653 Add missing add_new_data_source.
svn path=/trunk/; revision=18180
2006-05-17 18:11:12 +00:00
Anders Broman 2002225c79 Fix BUGs:
955 UMA: Handover Command message not decoded.
956 UMA: multirate-configuration not decoded correctly .
957 UMA: Received Signal Level List not decoded.

svn path=/trunk/; revision=18179
2006-05-17 18:09:14 +00:00
Ulf Lamping 1c69907dcd attempt to fix #915:
if the GetVersionEx() call fails, force the dwPlatformId to VER_PLATFORM_WIN32_WINDOWS so the return value from VirtualProtect() won't trigger an assert.

svn path=/trunk/; revision=18178
2006-05-17 09:28:14 +00:00
Ronnie Sahlberg 6217c69fdd for "connection oriented channels" place a generated psm field in the display to make it filterable and also to show what the payload should be.
svn path=/trunk/; revision=18177
2006-05-17 08:25:54 +00:00
Anders Broman 622f6d8922 PER:
Adapt dissect_per_octet_string to unaligned PER.
Call rrlp dissector from ulp dissector. 

svn path=/trunk/; revision=18176
2006-05-16 22:00:18 +00:00
Anders Broman 8d6661b911 From Axel Schwenke:
- complete dissector for greeting/login packets
- nearly complete dissector for requests, except:
  + parameters for COM_EXECUTE
  + requests from replication slave
- added some features to response dissectors

svn path=/trunk/; revision=18174
2006-05-16 19:07:48 +00:00
Anders Broman 56f73049b9 From Martin Mathieson:
- adds application/xpidf+xml as a media type known to be xml
- appends /xml to the protocol column (as SDP does).  It would be nice 
to append the top-level element, or the name taken from a matching DTD, 
but this will do for now (at least its a short name).
- corrects the help text for the preference.  I can see that it is 
registered as a heuristic for "http", "sip" and "media"

I've also included a slightly updated version of reginfo.dtd (RFC 3680) 
for the dtds folder.

svn path=/trunk/; revision=18173
2006-05-16 19:04:53 +00:00
Ronnie Sahlberg 5857560a7f add dissection of the bluetooth btl2cap layer
svn path=/trunk/; revision=18170
2006-05-16 08:31:34 +00:00
Jaap Keuter c59f032fec Change return value checking to the true meaning of the spec:
"If the function succeeds, the return value is nonzero."
This may or may not solve bug 915.

svn path=/trunk/; revision=18168
2006-05-15 21:42:02 +00:00
Anders Broman a23a5b603a Fix bug 951 UMA: message URR_RELEASE not decoded corretly
and 952 UMA: IE length-field of UMA-message can always be 2 bytes 

svn path=/trunk/; revision=18167
2006-05-15 20:23:37 +00:00
Anders Broman 5b69723fdc dissect_diameter_tcp should be static void
svn path=/trunk/; revision=18166
2006-05-15 20:22:24 +00:00
Anders Broman 7f033bd485 PER Enumerated is working now.
svn path=/trunk/; revision=18165
2006-05-15 20:21:33 +00:00
Guy Harris aa4b59de6f Don't throw an exception in oid_to_subid_buf() if the generated OID is
zero-length - oid_to_subid_buf() can be called when we're not in the
middle of a dissection, and throwing a "dissector bug" assertion in that
case is itself a bug.

svn path=/trunk/; revision=18164
2006-05-15 17:58:39 +00:00
Tomas Kukosa 31547dee95 regenerated with new asn2eth
svn path=/trunk/; revision=18158
2006-05-15 06:36:17 +00:00
Tomas Kukosa 726820fd03 updated to H.235.0:09/2005 and H.235.8:09/2005
svn path=/trunk/; revision=18157
2006-05-15 06:32:01 +00:00