Commit Graph

4147 Commits

Author SHA1 Message Date
Jörg Mayer f440212994 Jelmer Vernooij:
The attached patch replace the use of 'depends()' with "import" (the
latter is a standard IDL statement).


svn path=/trunk/; revision=19914
2006-11-16 21:57:31 +00:00
Martin Mathieson 8aa44209fa Make multipart part a proper field, and append contained content-type to
it label to make it easier to find the part you're looking for.

svn path=/trunk/; revision=19909
2006-11-16 14:35:52 +00:00
Jaap Keuter 29c109e5bd Adding ISC Object Management API dissector
svn path=/trunk/; revision=19904
2006-11-15 20:55:46 +00:00
Luis Ontanon ca6a9a7d13 solve both issues pointed out in:
http://wireshark.org/lists/ethereal-dev/200605/msg02351.html

- dtd_parse.l:
   be more liberal on what a name can be (a number now can be a name)

- packet-xml.c
  if proto-name is given use it instead of the root element name as prefix for generated fields


svn path=/trunk/; revision=19903
2006-11-15 18:40:37 +00:00
Anders Broman e89aadc13a Add OID translation for some more Generic codecs.
svn path=/trunk/; revision=19900
2006-11-15 07:04:22 +00:00
Stephen Fisher 3193603d78 Fix problem reported on -dev list by Frank Maerz with Wireshark crashing
when it encountered a proxy http connect to port 80.  This was caused by
the dissector calling itself over and over.  Now if the connect to port is
one of the defined http ports, it calls the data dissector.


svn path=/trunk/; revision=19899
2006-11-15 06:46:11 +00:00
Jörg Mayer dd26a7021b nikai@nikai.net:
Remaining fixes from:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

svn path=/trunk/; revision=19895
2006-11-14 20:32:29 +00:00
Jörg Mayer c3814a25de nikai@nikai.net:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

Attempting a simple cleanup of duplicated includes, will attach patch.


svn path=/trunk/; revision=19894
2006-11-14 20:08:44 +00:00
Anders Broman f8bc3dd4a6 From martin Peylo:
This patch changes the name of "Link Configuration" Packets to "Neighbour Discovery" - as preferred by the creator of TIPC - and shows the TIPC src/dst in the columns instead of the MAC address for those packages.

svn path=/trunk/; revision=19887
2006-11-14 05:49:59 +00:00
Anders Broman 12b5181f46 From Stephen Fisher:
a new more accurate fix for bug #1163.  Thanks to Graeme Lunt for pointing out that the first patch broke a different capture with legitimate SES data in it.  My patch also corrects the check for number of bytes existing from 4 to 2 as the minimum length of an SES PDU is only 2 bytes: 1 byte type, 1 byte length.

svn path=/trunk/; revision=19886
2006-11-14 05:47:57 +00:00
Anders Broman e53bccdfca This is Gerrit Renker code which:
* makes checksum computation dependent
         upon the header CsCov field (cf. RFC 4340, 5.1)
       * removes the case where checksums are zero
         (unlike UDP/packet-udp, from which the code stems,
          zero checksums are illegal in DCCP (as in TCP))
       * fixes a minor typo - missing bitshift of the
         CCVal field

svn path=/trunk/; revision=19885
2006-11-14 05:45:28 +00:00
Ashok Narayanan 06d1297a6b Add support for IPv4-Aggregate session/template/filter types.
svn path=/trunk/; revision=19884
2006-11-13 17:30:38 +00:00
Guy Harris a54a816f92 Mark Krochmal says that the class field should be treated in mDNS as a
flag and a 15-bit field even for OPT RRs.

svn path=/trunk/; revision=19882
2006-11-12 23:42:08 +00:00
Guy Harris 43cd0ad045 Flag the question as a "QM" question if the QU flag isn't set.
svn path=/trunk/; revision=19881
2006-11-12 22:35:21 +00:00
Guy Harris 63cd996fa5 mDNS treats the class field as a flag bit and 15 bits of class; display
it as such.

svn path=/trunk/; revision=19879
2006-11-12 22:12:39 +00:00
Gerald Combs d20f77d3ec Add a plain "radiotap.channel" field to the radiotap dissector.
Check for an invalid channel frequency.  Pass the channel, data rate,
and quality to the 802.11 dissector, so that they show up there
as well.  Clean up whitespace.

svn path=/trunk/; revision=19878
2006-11-12 00:52:05 +00:00
Ronnie Sahlberg 14810dd30c fix so that tcp.pdu.time works again.
it broken in one of the previous bugfixes to tcp

add a function to print an emem tree to the console for easier emem tree debugging


svn path=/trunk/; revision=19877
2006-11-11 22:39:25 +00:00
Ulf Lamping aca8366250 add dissection of PROFINET "MRP Port Status"
svn path=/trunk/; revision=19876
2006-11-11 01:29:43 +00:00
Ronnie Sahlberg d8c269be98 From Alex B
Added support for upcoming Netapp's ONTAP-GX nfsv3 filehandle.

Alex.




svn path=/trunk/; revision=19875
2006-11-10 23:36:57 +00:00
Martin Mathieson 82203cdb6c Fix test
svn path=/trunk/; revision=19873
2006-11-10 12:06:10 +00:00
Martin Mathieson 9cc8175f5f Use value_string for info column. Also use fences to handle compound packets
svn path=/trunk/; revision=19872
2006-11-09 16:46:58 +00:00
Martin Mathieson 3dfa2fdfc3 Make it easier to track user-buffer-space vs capacity requests for HSDPA calls
svn path=/trunk/; revision=19871
2006-11-09 16:35:12 +00:00
Jaap Keuter a29881ba55 Improve HP Switch Protocol Dissection.
svn path=/trunk/; revision=19870
2006-11-09 12:27:52 +00:00
Anders Broman 28e73ca8d2 Sorry that should have been static int. Corrcted now.
svn path=/trunk/; revision=19869
2006-11-08 21:28:03 +00:00
Jörg Mayer c0d26bccb9 Make Wireshark build on my system (gcc 4.1.0) again
svn path=/trunk/; revision=19868
2006-11-08 13:59:46 +00:00
Anders Broman 3f1b8044d0 Use h248v3.asn.
svn path=/trunk/; revision=19867
2006-11-08 06:57:29 +00:00
Jörg Mayer 5bd45dfdb9 Make things build on my system again
svn path=/trunk/; revision=19866
2006-11-08 00:10:09 +00:00
Guy Harris b6986a0b81 The tvb_ensure_length_remaining() calls aren't needed - we want an
exception to be thrown if all the data for the icon isn't there, so the
packet gets marked as incomplete.

svn path=/trunk/; revision=19865
2006-11-07 21:27:52 +00:00
Anders Broman 8d8af34ba4 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1206
MEGACO message cannot be decoded correctly for ServiceChange Command
And decoding of serviceChangeReason.

svn path=/trunk/; revision=19861
2006-11-07 19:25:59 +00:00
Ronnie Sahlberg 5a0ba5b0c7 fix for bug 1200
there used to be a bug in tcp reassembly that even if the dissector only asked for x more bytes from the next segment   the entire segment would still be added to reassembly.
this caused some issues when there was a new multisegment pdu that started at the end of the segment   but this bug was fixed when tcp reassembly was refactored semi-recently.


there was also another "bug" in the http reassembly that it would only ask for one more byte at a time when doing reassembly.
this did work well however when we still had the bug in tcp reassembly   but made wireshark become very very very slow once this tcp bug was fixed  since it is very very very slow to reassemble a huge http pdu just one byte at a time.


this patch adds partial support (what we need for http   which does not use tcp_dissect_pdus() ) for the desegmentation flag : DESEGMENT_ONE_MORE_SEGMENT and also to the http dissector   so that reassembly of http headers spanning multiple semgents now become fast again



svn path=/trunk/; revision=19859
2006-11-07 13:19:31 +00:00
Guy Harris a19025c3f6 Bitfields are bad - the C language spec does *NOT* guarantee which bits
will correspond to which bit fields.  Don't use them.

Use #defines rather than numbers in the appropriate places.

Constify some arguments.

Get rid of C++ comments.

svn path=/trunk/; revision=19854
2006-11-07 09:06:53 +00:00
Ronnie Sahlberg 6a745262b4 from albert chin
The Solaris C compiler, among others, do not allow anonymous unions.
Patch attached.



thanks albert


svn path=/trunk/; revision=19852
2006-11-07 08:33:24 +00:00
Guy Harris 5ea6272700 You run perl, not make, on Makefile.PL files.
svn path=/trunk/; revision=19851
2006-11-07 08:19:57 +00:00
Jörg Mayer 7acc35d3c6 regenerate with news pidl
svn path=/trunk/; revision=19849
2006-11-07 08:00:30 +00:00
Jörg Mayer e44e0795ce Update to use --includedir instead of copying idl_types.h.
svn path=/trunk/; revision=19847
2006-11-07 07:57:07 +00:00
Jaap Keuter 5f955a0fcc From Albert Chin:
Patch attached to convert usage of ntohl() -> g_ntohl(). On HP-UX,
ntohl() isn't available unless you -D_XOPEN_SOURCE_EXTENDED but there
are other uses of g_ntohl().

svn path=/trunk/; revision=19844
2006-11-07 07:39:16 +00:00
Ronnie Sahlberg b84d470206 convert restrictiontype to be an enum
svn path=/trunk/; revision=19834
2006-11-06 20:47:37 +00:00
Ronnie Sahlberg 3c65eab84e building the nspi dissector depends also on the nspi.cnf file, add this dependency to the makefile
add tracking of policyhandles to the dissector


svn path=/trunk/; revision=19832
2006-11-06 20:28:19 +00:00
Ronnie Sahlberg 258b3af063 new acn dissector from Bill Florac
svn path=/trunk/; revision=19830
2006-11-06 20:13:32 +00:00
Jörg Mayer 9cb8ab0b8a Fix some warnings about missing newline at end of file.
svn path=/trunk/; revision=19829
2006-11-06 19:58:06 +00:00
Jörg Mayer b9c69db9d3 Remove some // comments.
Fix a warning about nested comments.

svn path=/trunk/; revision=19828
2006-11-06 19:56:11 +00:00
Jörg Mayer c7d28461ce Don't do forward declarations in the file. I'll try to eventually
put this stuff into an external file but just doing a forward
declaration to squelch a compiler warning isn't the way to go - it
needs to be done right one day.

svn path=/trunk/; revision=19827
2006-11-06 19:53:39 +00:00
Jörg Mayer 207c844d36 Copy over the nspi.cnf file which was recently added
svn path=/trunk/; revision=19826
2006-11-06 19:47:39 +00:00
Jaap Keuter cf9adce9be Fix bug 1207, simple swap of the two text strings.
svn path=/trunk/; revision=19819
2006-11-06 12:19:26 +00:00
Jaap Keuter 066cab237e Don't remove a preference, make it obsolete instead.
svn path=/trunk/; revision=19818
2006-11-06 11:41:02 +00:00
Ronnie Sahlberg e04e99427b some compilers dont like unnamed unions and structs
svn path=/trunk/; revision=19817
2006-11-06 09:30:15 +00:00
Ulf Lamping 59d6c8ea33 change all file offsets from long to gint64 so we can - theoretically - handle files > 2GB correct.
Please distclean Win32 builds!

svn path=/trunk/; revision=19814
2006-11-05 22:46:44 +00:00
Jaap Keuter 12f3d9fe37 Add HP Switch Protocol SAP value
svn path=/trunk/; revision=19812
2006-11-05 18:26:21 +00:00
Graeme Lunt 326773f754 Tidy up of information column for NTLM authentication.
Related to Bug 1148.


svn path=/trunk/; revision=19810
2006-11-05 12:15:52 +00:00
Ronnie Sahlberg 06eaa14930 we used the wrong offset for attribute lists, fixed
add decoding for attribute lists for another instance where these blobs appear in the data in/out buffers


svn path=/trunk/; revision=19809
2006-11-05 11:19:46 +00:00