Commit Graph

19453 Commits

Author SHA1 Message Date
Guy Harris 252230934a Add Wiretap encapsulation type for IEEE 802.16 MAC Common Part Sublayer,
for which a DLT_ value and LINKTYPE_ value have just been assigned.

svn path=/trunk/; revision=20003
2006-11-27 18:10:12 +00:00
Ronnie Sahlberg 41c258daf3 create a nice helper to dissect bitmasks and implement some test useage of it in the scsi dissector
svn path=/trunk/; revision=20002
2006-11-27 14:50:23 +00:00
Jeff Morriss cc3567fabf Since this dissector is already 'new style' (it returns FALSE if it thinks the packet doesn't belong to it), register the dissector with new_create_dissector_handle() instead of create_dissector_handle(), thus fixing a compiler warning. Also comment out some (currently) unused hf_ fields to get rid warnings about them. Lastly, [AT]-ify the authors' email addresses.
svn path=/trunk/; revision=20001
2006-11-27 14:39:06 +00:00
Ronnie Sahlberg 3dca5cbed9 break the SCSI SBC commandset out into its own dissector
svn path=/trunk/; revision=20000
2006-11-27 11:00:06 +00:00
Ronnie Sahlberg 34cf894ed2 g_strdup takes one parameter not two
svn path=/trunk/; revision=19999
2006-11-27 09:42:19 +00:00
Ronnie Sahlberg 27c151c3d6 remove unused variable: tooltips
svn path=/trunk/; revision=19998
2006-11-27 09:40:08 +00:00
Ronnie Sahlberg 30a62fa3e7 remove file that is not used
bug 1247


svn path=/trunk/; revision=19997
2006-11-27 09:00:01 +00:00
Bill Meier b2d23fff1c fix property typos:
eol-type  --> svn:eol-style
  sv:eol-style --> svn:eol-style
  svn:eol-type --> svn:eol-style


svn path=/trunk/; revision=19996
2006-11-27 00:13:09 +00:00
Gerald Combs 00d5d4009b Wrap the declaration for tree_view_key_pressed_cb() in an #if/#endif.
svn path=/trunk/; revision=19995
2006-11-26 20:29:24 +00:00
Gerald Combs d6708de7ca Make keyboard navigation common for all tree views (for GTK2, at least).
svn path=/trunk/; revision=19994
2006-11-26 20:26:09 +00:00
Bill Meier 07a6f489a3 Fix property typo: svm:keywords --> svn:keywords
svn path=/trunk/; revision=19993
2006-11-26 18:53:35 +00:00
Bill Meier ff4739e437 Fix some property typos (eg: svn:kwywords, swn:keywords, etc)
Add 'svn:eol-style native' for a few .[hc] files


svn path=/trunk/; revision=19992
2006-11-26 18:31:53 +00:00
Bill Meier 0775839c11 fix compiler warning
svn path=/trunk/; revision=19991
2006-11-26 18:20:51 +00:00
Jeff Morriss bd39b74d5e Clean up a bunch of unused parameter warnings and 2 uninitialized variable warnings
svn path=/trunk/; revision=19990
2006-11-26 14:27:13 +00:00
Jeff Morriss 09078377d9 Change to show how to write a 'new style' dissector (that is, one that returns the number of bytes it was able to dissect). I think the Developer's Guide (docbook/) probably needs similar updates but I'm a bit shy about editing XML with good old vi; maybe if I can figure out if I can build the doc in the first place... Also rewrap a few pararaphs that went past 80 columns.
svn path=/trunk/; revision=19989
2006-11-26 14:00:01 +00:00
Jeff Morriss 382517930c If we found that the packet does not belong to Skinny (new style dissector), there's no need to call call_dissector(data_handle, ...) before returning FALSE.
svn path=/trunk/; revision=19988
2006-11-26 13:36:03 +00:00
Jaap Keuter ef1750b7d2 From Stefan Metzmacher:
I have a little additional patch, that makes it easier to see what which bytes
are not caught by the sub_dissector.
And it makes it easy to select and export the full payload to a file.

svn path=/trunk/; revision=19987
2006-11-26 13:24:07 +00:00
Jaap Keuter ba4895cdb4 From Stefan Metzmacher:
2nd try: implement dissection of SMB_NETLOGON cmd's 0x17 and 0x19

svn path=/trunk/; revision=19986
2006-11-26 13:22:14 +00:00
Graeme Lunt e5f1a984f1 U3 Packaging update for
a) Packaging changes - including the latest GTK/GLIB/PANGO libaries
b) File associations - made when Wireshark is first run and removed when device is removed.
c) Install WinPcap - by running the installer if WinPcap is not installed. Uninstalled (if the U3 device installed it) when the device is removed. (This is an interim approach until the appropriate WinPcap U3 installation can be determined).


svn path=/trunk/; revision=19985
2006-11-26 09:04:00 +00:00
Jeff Morriss 51143fa1ef Bug 1246: From Eric Hall, fix typo: s/NETSNMPCNFIG/NETSNMPCONFIG/
svn path=/trunk/; revision=19984
2006-11-26 08:28:09 +00:00
Bill Meier 6a9d8055ed Problem:
"off by 1" bug in 
   packet-smb-common.c:  dissect_ms_compressed_string_internal()
was causing a 1 character buffer overflow thus causing the canary to sing !

Fixes bug #1241


svn path=/trunk/; revision=19983
2006-11-26 00:23:50 +00:00
Anders Broman 692f21a184 Make dissecton of some of the annex packages work again.
svn path=/trunk/; revision=19982
2006-11-25 13:07:28 +00:00
Anders Broman 1509562c0f From Julian Cable:
New dissector for ETSI DCP (ETSI TS 102 821).

Code rearranged to look more like other Wireshark dissectors and some warnings/errors
on Windows fixed.

svn path=/trunk/; revision=19981
2006-11-25 13:03:48 +00:00
Anders Broman 643dc7099d From Eliot Blennerhassett :
Add Cirrus cobranet ethertype

svn path=/trunk/; revision=19980
2006-11-25 12:04:21 +00:00
Jörg Mayer 1256e89393 Update from samba tree revision 19759 to 19883
============================ Samba log start ============
------------------------------------------------------------------------
r19790 | vlendec | 2006-11-19 18:56:35 +0100 (Sun, 19 Nov 2006) | 10 lines
Changed paths:
   M /branches/SAMBA_3_0/source/libmsrpc/cac_winreg.c
   M /branches/SAMBA_3_0/source/librpc/gen_ndr/cli_unixinfo.c
   M /branches/SAMBA_3_0/source/librpc/gen_ndr/cli_unixinfo.h
   M /branches/SAMBA_3_0/source/librpc/gen_ndr/cli_winreg.c
   M /branches/SAMBA_3_0/source/librpc/gen_ndr/cli_winreg.h
   M /branches/SAMBA_3_0/source/librpc/gen_ndr/ndr_winreg.c
   M /branches/SAMBA_3_0/source/librpc/gen_ndr/winreg.h
   M /branches/SAMBA_3_0/source/rpcclient/cmd_unixinfo.c
   M /branches/SAMBA_3_0/source/utils/net_rpc_registry.c
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm

Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker

------------------------------------------------------------------------
r19829 | jelmer | 2006-11-22 00:15:57 +0100 (Wed, 22 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/pidl

Update documentation.

------------------------------------------------------------------------
r19830 | jelmer | 2006-11-22 00:21:08 +0100 (Wed, 22 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm

Warn about non-ref top-level pointers.

------------------------------------------------------------------------
r19834 | jelmer | 2006-11-22 14:59:14 +0100 (Wed, 22 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm

Prevent some inaccurate warnings.

------------------------------------------------------------------------
r19842 | jelmer | 2006-11-22 17:53:30 +0100 (Wed, 22 Nov 2006) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm

Complain about unknown pointer types.
Fallback to "unique" when "ptr" is specified instead of failing.

------------------------------------------------------------------------
r19845 | jelmer | 2006-11-22 18:13:19 +0100 (Wed, 22 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm

Add warning for pointer_default_top()

------------------------------------------------------------------------
r19854 | metze | 2006-11-23 14:11:08 +0100 (Thu, 23 Nov 2006) | 4 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm

readd support for 'sptr' pointers, to work against windows servers
until jelmer commits his 'ptr' support

metze
------------------------------------------------------------------------
r19856 | jelmer | 2006-11-23 14:48:01 +0100 (Thu, 23 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/librpc/idl/epmapper.idl
   M /branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm

Use sptr as basis for full ptr implementation. Will add checks for duplicates later.

------------------------------------------------------------------------
r19859 | jelmer | 2006-11-23 17:02:20 +0100 (Thu, 23 Nov 2006) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   M /branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   A /branches/SAMBA_4_0/source/pidl/tests/ndr_fullptr.pl

Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.

------------------------------------------------------------------------
r19866 | jelmer | 2006-11-23 19:26:55 +0100 (Thu, 23 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_fullptr.pl

Fix test compilation.

------------------------------------------------------------------------
r19868 | jelmer | 2006-11-23 21:59:09 +0100 (Thu, 23 Nov 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_align.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_represent.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_string.pl

Fix more tests.

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


svn path=/trunk/; revision=19979
2006-11-25 10:35:39 +00:00
Gerald Combs cd7b6c9dbf Make sure we don't trigger undefined behavior in isprint().
svn path=/trunk/; revision=19978
2006-11-25 06:15:51 +00:00
Bill Meier 356e5b65ce Also required to fix Win32 build problem
svn path=/trunk/; revision=19977
2006-11-24 18:47:50 +00:00
Guy Harris d3fed959bc Have separate proto_construct_match_selected_string() and
proto_can_match_selected() routines, to more clearly separate the two
functions - but have them both call the same underlying routine, so
they both make the same decisions as to whether a match-selected string
can be constructed or not.

svn path=/trunk/; revision=19976
2006-11-24 18:25:23 +00:00
Bill Meier 5f755468ee Another fix for Win32 build: add scsi_osd_vals
svn path=/trunk/; revision=19975
2006-11-24 17:41:09 +00:00
Jaap Keuter b5ef686041 From Peter Johansson:
The attached patch corrects the Win32 compilation problem.

svn path=/trunk/; revision=19974
2006-11-24 11:07:39 +00:00
Ronnie Sahlberg bd16443f38 add some missing commandsets to the preference for default commandset and to the scsi srt statistics
svn path=/trunk/; revision=19973
2006-11-24 08:22:30 +00:00
Jaap Keuter 14a576d293 From Patrick vd Lageweg:
This patch fixes a simple typo.

svn path=/trunk/; revision=19972
2006-11-24 07:28:02 +00:00
Jaap Keuter 5a648d6193 From Stefan Metzmacher:
This patch fixes some problems with encrypted DCERPC traffic

svn path=/trunk/; revision=19971
2006-11-24 07:16:06 +00:00
Jaap Keuter c9f25a4143 From Stefan Metzmacher:
I created two patches:
1.) move the handling of the compressed strings in CLDAP 'netlogon' replies into a generic place.
2.) implement dissection of SMB_NETLOGON cmd's 0x17 and 0x19

svn path=/trunk/; revision=19970
2006-11-24 07:09:38 +00:00
Stephen Fisher b667477f8c Fix for bug #940. Convert HSRP to a new-style dissector so that it can
reject datagrams that don't have both the source and destination port
of UDP_PORT_HSRP (1985).


svn path=/trunk/; revision=19969
2006-11-24 06:04:01 +00:00
Stephen Fisher 2cca9d7f55 Fix for bug #646: show the end of HTTP chunked encoding (a chunk with size 0)
as described in RFC 2616.

-This line, and those below, will be ignored--

M    packet-http.c

svn path=/trunk/; revision=19968
2006-11-24 02:59:43 +00:00
Guy Harris 37a6c02697 Rename proto_construct_dfilter_string() to
proto_construct_match_selected_string() to indicate what it does - and
have it return a Boolean indication of whether the string could be
built, returning the string through a pointer, and, if that pointer is
null, have it just return the Boolean and not construct the string.

Get rid of proto_can_match_selected() -
proto_construct_match_selected_string() can be used for that, which
means we have only one piece of code that knows whether a "match
selected" string can be constructed or not.

Have proto_construct_match_selected_string() support matching
zero-length FT_NONE (and FT_PCRE, but that shouldn't happen) fields even
if there's no epan_dissect_t, as such a match just checks whether the
field is present.

svn path=/trunk/; revision=19967
2006-11-23 21:16:46 +00:00
Anders Broman 789a5d581b Show the header size as number of bytes.
svn path=/trunk/; revision=19966
2006-11-23 20:17:58 +00:00
Luis Ontanon c5a984534c Errase the lua plugin, its not longer in use.
svn path=/trunk/; revision=19965
2006-11-23 12:58:58 +00:00
Ronnie Sahlberg 303187fad8 break the SCSI SMC commandset out into its own dissector
svn path=/trunk/; revision=19964
2006-11-23 09:21:16 +00:00
Gerald Combs e3ce33b8e4 Back out most of r19878; it was making the 802.11 dissector overwrite the
RSSI column with the wrong value.

svn path=/trunk/; revision=19963
2006-11-23 01:49:18 +00:00
Stephen Fisher 868d6e86c1 Fix for bug #1211. Patch from Joshua Wright to add -S option to tshark's
usage description (-h).


svn path=/trunk/; revision=19962
2006-11-23 01:45:51 +00:00
Guy Harris 621c7fe650 When checking whether a field supports "match selected", do the same
checks that we do when we try to construct the filter expression for
"match selected" - this means we don't just assert that all FT_NONEs are
filterable, as they aren't.

svn path=/trunk/; revision=19961
2006-11-23 00:15:49 +00:00
Anders Broman d12138839a From Cyril Margaria:
Patch to support RSVP notify and added a few error codes, with some more objectcodes
added.

svn path=/trunk/; revision=19960
2006-11-22 23:20:11 +00:00
Guy Harris 8532eef3c6 Make the "standard" case in proto_can_match_selected() and
proto_construct_dfilter_string() the default, so you add explicit cases
only when the type needs to be treated specially, so we don't end up
with types where we forget to have a case.

svn path=/trunk/; revision=19959
2006-11-22 22:11:38 +00:00
Ulf Lamping ff31e49dbc fix Win32 build: scsi_ssc2_vals -> scsi_ssc_vals
svn path=/trunk/; revision=19958
2006-11-22 20:52:40 +00:00
Ronnie Sahlberg 651ed76925 break the SCSI SSC commandset out into its own dissector
svn path=/trunk/; revision=19957
2006-11-22 10:12:59 +00:00
Ronnie Sahlberg b7e08d5059 ssc space6 count is a signed integer
svn path=/trunk/; revision=19956
2006-11-22 09:00:36 +00:00
Anders Broman d74d57789d From Michael Lum
1)
A small change in the number of teleservices recognized

2)
Finally finished a lot of the changes for IOS 5 support.

The attached files must be used together.

Built in Windows XP Pro using Visual Studio C++ with the latest repository.

packet-ansi_map.c.gz

packet-ansi_a.gz
    This file contains both packet-ansi_a.c and packet-ansi_a.h changes.

libwireshark.def.gz

ansi_a_stat.c.gz

svn path=/trunk/; revision=19955
2006-11-22 06:39:24 +00:00
Anders Broman e1c57b07f7 Revert changes to have named bits in the bitstring of unknown length.
svn path=/trunk/; revision=19954
2006-11-21 22:18:12 +00:00