Commit Graph

19333 Commits

Author SHA1 Message Date
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
Anders Broman 09bd61c233 Update to use the latest gtk 2.8 glib and pango libraries.
Note from a mail on gtk dev list:
-rwxr-xr-x    1 tml      Administ   224510 Oct  3 18:35 libpango-1.0-0.dll
-rwxr-xr-x    1 tml      Administ    37952 Oct  3 18:35 libpangocairo-1.0-0.dll
-rwxr-xr-x    1 tml      Administ    58749 Oct  3 18:35 libpangowin32-1.0-0.dll

(That's the relevant DLLs from the "bin" folder in Pango 1.14.5, where
the module(s) are built-in into the DLLs, so no
lib/pango/1.5.0/modules folder is needed.)

svn path=/trunk/; revision=19880
2006-11-12 22:18:50 +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
Ronnie Sahlberg b6059df9e2 fix for bug 1142
if we dont have a content-length   but we do have a keepalive in the header then we should not do reassemble-until-fin.

convert some tvb_get_String into tvb_get_ephemeral_string at the same time


svn path=/trunk/; revision=19874
2006-11-10 20:53:42 +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
Guy Harris 0fe89db102 Revert the previous changes - the problem Paul Blankenbaker was fixing
was really a problem with bytes_repr_len() and zero-length FT_BYTES
fields, and it's not clear what to do about fields that have zero
length.  (Put in a comment about that.)

Clean up indentation a bit.

svn path=/trunk/; revision=19864
2006-11-07 21:04:41 +00:00
Guy Harris 5123a82b3c Fix bytes_repr_len() to correctly handle a zero-length FT_BYTES field
svn path=/trunk/; revision=19863
2006-11-07 20:30:34 +00:00
Guy Harris 4c2f1f7ccb Based on a change from Paul Blankenbaker, make the "show" attribute for
a field an empty string if the field is zero-length; for some reason,
the existing code doesn't handle that correctly.

Also, the NetPDL Visualization Extension:

	http://www.nbee.org/Docs/NetPDL/NetPDLVisualization.htm

seems to imply that "value" has to be present, so display it even if the
field is zero-length.

svn path=/trunk/; revision=19862
2006-11-07 19:49:58 +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
Guy Harris ad3c10a20a Update to describe all that the read routine needs to return, and to
indicate what the seek_read routine needs to do and that you *have* to
have a seek_read routine.

svn path=/trunk/; revision=19860
2006-11-07 19:25:32 +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
Jörg Mayer b3c98fecbc Another packet-acn.c leftover
svn path=/trunk/; revision=19858
2006-11-07 10:55:12 +00:00
Guy Harris 97939febb9 As Ulf Lamping notes:
if the pipename argument to cap_pipe_open_live() is null, that's
	a bug, and we want a crash so it's caught;

	if ld->pcap_h is null in capture_loop_dispatch(), that's a bug,
	and we want a crash so it's caught;

	if capture_opts is null in capture_loop_start(), that's a bug,
	and we want a crash so it's caught;

	there's no need to null out capture_opts->save_file twice.

Also, errmsg and secondary_errmsg are null-terminated strings, so the
array size should be the maximum length + 1.

svn path=/trunk/; revision=19857
2006-11-07 09:50:09 +00:00
Ulf Lamping e13cec2560 don't copy mibs.txt files to mibs, but to snmp\mibs
svn path=/trunk/; revision=19856
2006-11-07 09:36:26 +00:00
Guy Harris 8f3f19975d Add Yet Another Portability Recommendation.
svn path=/trunk/; revision=19855
2006-11-07 09:12:30 +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
Jörg Mayer 46df9a118a albert chin:
version_info.c has:
  #ifdef HAVE_LIBGCRYPT
  #include <gcrypt.h>
  #endif /* HAVE_LIBGCRYPT */

  #ifdef HAVE_LIBGNUTLS
  #include <gnutls/gnutls.h>
  #endif /* HAVE_LIBGNUTLS */

However, Makefile.am doesn't include the necessary CPPFLAGS/LDFLAGS to
resolve symbols from the above. Patch attached.


Note: dumpcap should not need to be linked to gnutls, but that's a
problem with the version infrastructure.

svn path=/trunk/; revision=19853
2006-11-07 08:41:46 +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 c16b5e2647 Warning fix about empty source file
svn path=/trunk/; revision=19850
2006-11-07 08:04:11 +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
Jörg Mayer bfffb8d4b8 Updated to revision 19604.
Update from samba tree revision 19582 to 19604
============================ Samba log start ============
------------------------------------------------------------------------
r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/idl.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

Add support for some more standard IDL instructions:
 - `include' (replaces helper())
 - `import' (replaces depends())

Add support for parsing importlib() - importlib() is now ignored (with a
warning), but no longer causes syntax errors.

helper() and depends() are now marked deprecated and will cause warnings.


------------------------------------------------------------------------
r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/idl.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm

Use include and import statements rather than depends() and helper().

------------------------------------------------------------------------
r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/idl.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm

Fix --includedir.

------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============


svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
Jörg Mayer 80f82b9203 Warning fixes (void) instead of (), no newline at end of file.
svn path=/trunk/; revision=19845
2006-11-07 07:47:49 +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
Guy Harris faed34492b Get rid of another ACN reference.
svn path=/trunk/; revision=19843
2006-11-07 00:56:45 +00:00
Guy Harris 6481d6f8d4 Get rid of another ACN reference.
svn path=/trunk/; revision=19842
2006-11-07 00:56:04 +00:00
Guy Harris 0c0c517dae Get rid of more ACN plugin references.
svn path=/trunk/; revision=19841
2006-11-07 00:55:14 +00:00
Guy Harris 4ceca9beb1 Split the ".." and subdirectory into two separate "cd"s, in the hopes of
reducing the chances that, if a plugin is removed, an extra ".."
reference will be left in.

Get rid of the extra ".."s that were left in when the ACN plugin was
recently removed.

svn path=/trunk/; revision=19840
2006-11-07 00:54:01 +00:00
Ulf Lamping ba962a91ea fix 1203 as found by stephen fisher
svn path=/trunk/; revision=19839
2006-11-06 23:59:49 +00:00
Gerald Combs 02735fce79 Remove ACN references.
svn path=/trunk/; revision=19838
2006-11-06 23:38:35 +00:00
Gerald Combs c77637f7fa Fix an inadvertent change.
svn path=/trunk/; revision=19837
2006-11-06 23:08:11 +00:00
Gerald Combs 7a6159175f Remove ACN.
svn path=/trunk/; revision=19836
2006-11-06 23:04:53 +00:00
Anders Broman 261a964be1 Remove the references to acn
svn path=/trunk/; revision=19835
2006-11-06 20:49:47 +00:00
Ronnie Sahlberg b84d470206 convert restrictiontype to be an enum
svn path=/trunk/; revision=19834
2006-11-06 20:47:37 +00:00
Anders Broman 6b45c9b92b Remove the references to acn
svn path=/trunk/; revision=19833
2006-11-06 20:36:43 +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