Commit Graph

7955 Commits

Author SHA1 Message Date
Guy Harris 9fcb7601ee Get rid of check for a null "docsis_vsif_handle" - "dissector_add()"
should blow up when handed a null pointer on all platforms that map low
addresses out of the address space, which is most if not all of them at
this point, and calls to "assert()" cause problems if you mix
GCC-compiled and Sun-C-compiled code.

svn path=/trunk/; revision=8047
2003-07-19 02:11:34 +00:00
Guy Harris 07e49022d4 Include the same headers that "plugin_api.h" does.
svn path=/trunk/; revision=8046
2003-07-18 22:47:18 +00:00
Olivier Abad 5d8e9b0d14 Various fixes related to GTK2 :
- give the focus to the packet_list when a capture file is opened, and
  each time we change the selection in the packet list (it seems that
  the tree view has the focus if we don't do this) ;

- in set_plist_sel_browse() : it seems that packet_list->selection_mode
  is always 0 in GTK2 so we can't use it to determine the current mode.
  Use a static variable instead.

This should fix the second part of debian bug #199763

svn path=/trunk/; revision=8045
2003-07-18 20:55:11 +00:00
Guy Harris 1cd5aad5eb Put in an XXX comment about the code to remember the number of results
between the LDAP_RES_SEARCH_ENTRY and LDAP_RES_SEARCH_RESULT messages
depending on those messages occurring in the same frame.

svn path=/trunk/; revision=8044
2003-07-18 06:12:43 +00:00
Guy Harris 42d9c722d7 Alter_context is sort of like Bind, and its authentication stubs are
dissected like those on Binds; the same is true for their corresponding
acks.

svn path=/trunk/; revision=8043
2003-07-18 06:07:14 +00:00
Guy Harris a9a326cec8 I've seen NTLMSSP DCE RPC packets with a protection level of
DCE_C_AUTHN_LEVEL_CONNECT.

svn path=/trunk/; revision=8042
2003-07-18 05:51:21 +00:00
Guy Harris 44799be397 I've seen captures with Netlogon Secure Channel security with a
protection level of DCE_C_AUTHN_LEVEL_PKT_INTEGRITY.

svn path=/trunk/; revision=8041
2003-07-18 05:48:39 +00:00
Guy Harris 8e9693aa50 Capitalize "C" in "Channel" in "Secure Channel", as is done elsewhere.
svn path=/trunk/; revision=8040
2003-07-18 05:19:42 +00:00
Guy Harris 585467779f It looks, from some SNA stuff found on the Web, as if the exception
response indicator should just be shown as set or not set, as the two
definite response indicators are.

svn path=/trunk/; revision=8039
2003-07-18 05:12:13 +00:00
Guy Harris bef8e395a8 From Matthijs Melchior: generate all declarations and definitions for
plugin ABI from a single file.

svn path=/trunk/; revision=8038
2003-07-18 03:02:12 +00:00
Guy Harris 5fb0511328 Put in a note about the call heuristics.
svn path=/trunk/; revision=8037
2003-07-17 23:08:52 +00:00
Richard Sharpe a7338cabc6 Add the KRB5 User-to-user OID
svn path=/trunk/; revision=8036
2003-07-17 22:17:01 +00:00
Guy Harris e8b54ff082 From Xuan Zhang: eDonkey support.
svn path=/trunk/; revision=8035
2003-07-16 21:13:49 +00:00
Guy Harris ebc8a7846a Eliminate some signed-vs-unsigned-comparison and signed-char-subscript
warnings.

svn path=/trunk/; revision=8034
2003-07-16 21:05:12 +00:00
Ronnie Sahlberg 38b4c33520 Make h221nonstandard and nonstandardparameter externaly visible
h225 will need them

svn path=/trunk/; revision=8033
2003-07-16 19:05:37 +00:00
Ronnie Sahlberg 987d45a974 Add a new parameter to the constrained integer dissector so that it also handles
constrained integers with an extension marker.

Update all calls to the constrained integer dissector

Add dissection to the rfc_number type  which is a constrasined integer with an extension marker

Add H245 so that it builds by default in ethereal.
It has been tested extensively by a semi-large number of people with a lot of real and synthetic captures  and seems to work very well.

New protocol added to ethereal

svn path=/trunk/; revision=8032
2003-07-16 09:23:56 +00:00
Ronnie Sahlberg cc4aeb23e6 remove a function that was not used/obsolete
fix an instance where the wrong dissector was called instead of RequestMultiplexEntryRejectionDescriptions.

svn path=/trunk/; revision=8031
2003-07-16 08:53:08 +00:00
Ronnie Sahlberg d25a4feb53 minor updates.
make reassembly a preference
update comments

svn path=/trunk/; revision=8030
2003-07-16 08:38:16 +00:00
Ronnie Sahlberg 54ab042328 updates bugfix for the NumericString alphabet.
Implement some restricted ia5strings

svn path=/trunk/; revision=8029
2003-07-16 08:17:14 +00:00
Guy Harris f016eab390 Put in "XXX - implement me" comments on routines that have unused
arguments because they're currently stubs, as they no longer produce
unused-argument warnings to flag them as unimplemented.

svn path=/trunk/; revision=8028
2003-07-16 05:39:25 +00:00
Guy Harris 19302f6d59 Squelch a (potentially-valid) compiler warning.
svn path=/trunk/; revision=8027
2003-07-16 05:26:19 +00:00
Tim Potter 8b89bd76ee Move all DCERPC authentication/encryption dissection code from packet-dcerpc.c
to the dissector that handles the particular authentication flavour.  This
gets rid of a couple of ugly switch statements and allows other authentication
modules to be written easily.

svn path=/trunk/; revision=8026
2003-07-16 04:20:33 +00:00
Tim Potter 83665ca82b Fix unused variable warning.
svn path=/trunk/; revision=8025
2003-07-16 02:07:18 +00:00
Guy Harris 836b7ccb6b Clean out the correct hash table.
svn path=/trunk/; revision=8024
2003-07-16 00:04:21 +00:00
Guy Harris d4e29bafd6 From Michael Kopp: add some entries for Cisco VSA for SSG Communication
via Radius Packets.

svn path=/trunk/; revision=8023
2003-07-15 22:16:52 +00:00
Tim Potter 6b9461a08b Removed unused local variable.
svn path=/trunk/; revision=8022
2003-07-15 01:37:27 +00:00
Tim Potter f4950ee8d6 COL_INFO goodies for ldap dissector:
- display DN in COL_INFO for bindi, search and add requests
  - display errors in COL_INFO for all replies
  - for search entries, display the number of results returned
  - display the message type in the "top level" protocol item

svn path=/trunk/; revision=8021
2003-07-14 23:47:32 +00:00
Richard Sharpe c54f58c798 Fix the decoding of SIDs and Attributes so that a SamLogon response with extra
SIDs can be dissected properly. However, I am not sure if this affects anything
else.

svn path=/trunk/; revision=8020
2003-07-14 19:51:42 +00:00
Tim Potter 860d64e038 Fix misdissection of spoolss enumprinterdataex replies:
- skip dissection of value if value length is zero
 - add placeholder for REG_MULTI_SZ value proto item
 - rename local variable start to start_offset for consistency

svn path=/trunk/; revision=8019
2003-07-14 04:46:48 +00:00
Ronnie Sahlberg e146533cfd Add decoding of NumericString
svn path=/trunk/; revision=8018
2003-07-13 01:43:33 +00:00
Ronnie Sahlberg 6ffb0280ee Break out the PER functions from the alternative h245 dissector
and put them in their own file.

I had to put them im packet-per.c  instead of asn1-per.c  since othervise
i couldnt get it to invoke the register  routine from register.c

the per dissector is compiled into ethereal by default,  but there are no callers in ethereal until  the h245 dissector is added.

someone that knows the registry stuff better might consider renaming it to asn1-per.c instead of packet-per.c

svn path=/trunk/; revision=8017
2003-07-12 22:35:21 +00:00
Guy Harris aa9cd7b7d7 Put relevant field offset and lengths back in packet-mip6.h, along with
option lengths, and use them in packet-mip6.c.

svn path=/trunk/; revision=8016
2003-07-11 21:03:13 +00:00
Guy Harris 0c88f96ca0 Add a routine "dissect_ipv6_options()" that works like
"dissect_ip_tcp_options()" but for options that are like IPv6 options
(i.e., the length byte has a value that doesn't include the option code
or length byte).

Add an "ip_opts.h" header to declare it, and move the declaration of
stuff used by it and "dissect_ip_tcp_options()", and the declaration of
"dissect_ip_tcp_options()", to that header.

Use "dissect_ipv6_options()" for Mobile IPv6 options.

Get rid of the unused "mip6_opt_types[]" array in "packet-mip6.h".

svn path=/trunk/; revision=8015
2003-07-11 09:30:49 +00:00
Guy Harris 48b1ab757e From smhuang [AT] pcs.csie.nctu.edu.tw: fix a "g_string_append()" call.
svn path=/trunk/; revision=8014
2003-07-11 06:46:00 +00:00
Ronnie Sahlberg dcbe6da00a small updates
IA5String when tehre are no restriction on the alphabet is actually just an octet string

start populating the COL_INFO with request/response  commandname
COL_INFO will be tricky to get nice.
we might needs some hack to pass different values around through the dissect_per layer so can format values from different parts/subdissector functions nicely.

svn path=/trunk/; revision=8013
2003-07-10 07:31:50 +00:00
Tim Potter d33c5365da Support for CIFS UNIX extensions as documented in the CIFS TR 1.0,
Appendix D.

svn path=/trunk/; revision=8012
2003-07-10 04:48:59 +00:00
Tim Potter 59e1cb5d57 Add more entries to the query/set path/file info value_strings for
some extra info levels discovered by tridge.

Put subcommand information in COL_INFO for trans2 query fs/path/file
info.

svn path=/trunk/; revision=8011
2003-07-10 04:44:58 +00:00
Ronnie Sahlberg 946b5baffa remove one more NOT_DECODED_YET for the subAddress IA5String
svn path=/trunk/; revision=8010
2003-07-09 11:07:57 +00:00
Ronnie Sahlberg d8643b8a13 Some more guesswork applied.
It looks like the constrained version of IA5String might be encoded as
a constrained integer followed by (byte aligned) a list of ASCII bytes makeing up shte string.

svn path=/trunk/; revision=8009
2003-07-09 11:02:50 +00:00
Michael Tüxen a49c85bab1 Fixed a bug reported by Michael Lum regarding the display of the SLS
field in ITU MTP 3.

svn path=/trunk/; revision=8008
2003-07-09 10:41:07 +00:00
Ronnie Sahlberg 0e4218f45e Make ethereal decode normal unconstrained INTEGER types.
svn path=/trunk/; revision=8007
2003-07-09 10:21:45 +00:00
Ronnie Sahlberg 249b06f6e2 fix bug in dissect_per_GeneralString()
use proto_tree_add_item() instead of proto_tree_add_string() since there is nothing that says the string will be null terminated.

svn path=/trunk/; revision=8006
2003-07-09 09:45:42 +00:00
Guy Harris e8b5b4fec2 Decode a bit more of the mobility management context message, and use
"mm_sec_modep[]" to decode the security type.

svn path=/trunk/; revision=8005
2003-07-09 07:12:23 +00:00
Guy Harris 90f2c788d0 Use "fcencap_proto_vals[]" for the protocol field.
svn path=/trunk/; revision=8004
2003-07-09 06:24:48 +00:00
Guy Harris 8601b5b34c Show the routing part of R_CTL symbolically, if possible.
Show the lower 4 byts if R_CTL symbolically, if possible.

svn path=/trunk/; revision=8003
2003-07-09 06:24:32 +00:00
Guy Harris 0a81e11c8e At least from the latest Zebra source, it appears that the messages to
the Zebra daemon don't have Zebra errors or SAFIs in them, so get rid of
the unused #defines and value_string tables for them.  (If that's not
so, the dissectors need fixing....)

Some do have address families in them, though, so use the "families"
value_string table.

svn path=/trunk/; revision=8002
2003-07-09 05:42:23 +00:00
Tim Potter 0e2d9b4341 Removed duplicate definitions of flags_set_truth.
svn path=/trunk/; revision=8001
2003-07-09 05:37:47 +00:00
Guy Harris eb36afb16c X11 arcs don't have a mode - the mode is in the graphics context.
svn path=/trunk/; revision=8000
2003-07-09 05:23:50 +00:00
Guy Harris 3406367d05 Use "sna_rh_eri_truth[]" for the Exception Response Indicator field.
svn path=/trunk/; revision=7999
2003-07-09 04:33:05 +00:00
Guy Harris 1d985935a6 Use the right #defines and tables when dissecting options in partial
sequence number PDUs.

svn path=/trunk/; revision=7998
2003-07-09 04:25:16 +00:00