Commit graph

2127 commits

Author SHA1 Message Date
Guy Harris
7431ca3f58 The table containing payload types and payload dissectors are now sparse
tables that are searched rather than dense tables that are indexed, so
there's no reason to tread payload types 130 and 131 specially.

svn path=/trunk/; revision=13844
2005-03-21 02:00:14 +00:00
Luis Ontanon
04dcf4e154 Rename all stats_tree extern functions to start with stats_tree_
svn path=/trunk/; revision=13840
2005-03-21 00:55:04 +00:00
Ulf Lamping
49045443e9 bugfix (hopefully make buildbot happy again): don't call a function pointer, if it's NULL
However, handling of payload 130 and 131 at that place still seems to be bogus to me

svn path=/trunk/; revision=13839
2005-03-21 00:54:13 +00:00
Guy Harris
6e2808c4bd Fix some offsets.
svn path=/trunk/; revision=13835
2005-03-20 22:24:51 +00:00
Michael Tüxen
cea073ec0b SCTP port numbers are 16 unsigned integers.
svn path=/trunk/; revision=13832
2005-03-20 20:46:54 +00:00
Guy Harris
0af4492612 Don't try to run net-snmp-config if we don't find it.
Check whether krb5.h defines KEYTYPE_ARCFOUR_56 - not all versions do
(in particular, the Heimdal that comes with FreeBSD 4.6 doesn't).

packet-kerberos.h includes krb5.h if we hae Heimdal; we don't need to do
so in packet-spnego.c.

svn path=/trunk/; revision=13828
2005-03-20 19:29:22 +00:00
Guy Harris
fa6f190539 Put the ports and addresses into "struct _sctp_info", as the dissector
fills them in.

svn path=/trunk/; revision=13827
2005-03-20 18:59:39 +00:00
Ulf Lamping
24b95cf326 bugfix: don't access node elements, after calling free_stat_node
svn path=/trunk/; revision=13825
2005-03-20 12:29:02 +00:00
Ulf Lamping
5ada21589e remove some MSVC warnings
svn path=/trunk/; revision=13824
2005-03-20 12:07:00 +00:00
Michael Tüxen
3aa6383210 From Oleg Terletsky: Support for SCTP chunk counters. Modified to handle bundling correctly.
svn path=/trunk/; revision=13823
2005-03-20 12:02:00 +00:00
Guy Harris
dec6cc3408 Fix dissect_per_restricted_character_string() calls in h225.cnf to pass
0, not NULL, for the last argument.

Re-generate packet-h225.c with the fixed h225.cnf.

svn path=/trunk/; revision=13820
2005-03-20 11:09:29 +00:00
Guy Harris
26722e4761 Fix asn2eth to pass 0, not NULL, for the last argument to
"dissect_per_restricted_character_string()", which is a guint32, not a
pointer.  Re-generate packet-h225.c with the fixed asn2eth.

svn path=/trunk/; revision=13819
2005-03-20 10:57:39 +00:00
Ulf Lamping
6e4536cb74 added two stats_tree functions
svn path=/trunk/; revision=13817
2005-03-20 00:49:57 +00:00
Luis Ontanon
9e9a658369 There was a design flaw that caused a crash on windows and
left uninitialized successive copies of the stats tree.

Split the stats_tree data in two different structs one for data that's
always needed and it's not going to change at every run and another
for each run of the tap.



svn path=/trunk/; revision=13816
2005-03-20 00:19:15 +00:00
Luis Ontanon
4012e774fd Make sure the tap info is created even when tree==NULL
svn path=/trunk/; revision=13815
2005-03-20 00:07:07 +00:00
Ulf Lamping
7ccbbdc45c Increase maximum number of characters for a preference/recent key, as the current window names in "recent" file reaches this value.
svn path=/trunk/; revision=13811
2005-03-19 18:11:44 +00:00
Ronnie Sahlberg
1af7ff9672 make idl2eth handle 8bit bitmaps
make atsvc an autogenerated dcerpc dissector


svn path=/trunk/; revision=13808
2005-03-19 14:30:05 +00:00
Ronnie Sahlberg
20d135115b bugfix to idl2eth : handle the case when pointers were not explicitely specified
and we have a pointer to an array of pointers

make the EFS dissector autogenerated by idl2eth



svn path=/trunk/; revision=13806
2005-03-19 09:11:56 +00:00
Ronnie Sahlberg
941769c640 fix a string in the hf fields
svn path=/trunk/; revision=13803
2005-03-18 20:24:08 +00:00
Michael Tüxen
95ddff547d From Jeff Morris: Display PC structured.
svn path=/trunk/; revision=13802
2005-03-18 19:50:17 +00:00
Michael Tüxen
db21ed4e2d From Jeff Morris: display protocol class at parameter level.
svn path=/trunk/; revision=13800
2005-03-18 14:32:41 +00:00
Ronnie Sahlberg
5233758ae4 from Ming Zhang
fix incorrect offset for a field in the READ ELEMENT STATUS cdb


svn path=/trunk/; revision=13799
2005-03-18 09:03:36 +00:00
Ronnie Sahlberg
27b1665acd only show the Status field in a DataIn PDU if the S bit is set.
svn path=/trunk/; revision=13798
2005-03-18 08:51:12 +00:00
Gerald Combs
67b0b5a54a Increase the width of some unsigned ints, so that we don't roll them over.
This fixes the crash file at
http://www.ethereal.com/distribution/buildbot-builds/randpkt/randpkt-udp.port==53,KINK.out.1111097410 .

Make the protocol name lower case.

svn path=/trunk/; revision=13797
2005-03-18 00:23:16 +00:00
Anders Broman
fe9a6628b8 From Jeff Morriss: use the new range preference type.
svn path=/trunk/; revision=13796
2005-03-17 22:08:50 +00:00
Guy Harris
c8a0d29d22 Use "format_text()" on strings fetched from packets.
svn path=/trunk/; revision=13794
2005-03-17 19:44:45 +00:00
Gerald Combs
023d72fb44 Fix a couple of format string bugs discovered by Bryan Fulton.
svn path=/trunk/; revision=13793
2005-03-17 18:32:36 +00:00
Ronnie Sahlberg
5162c81d71 iscsi LUNs were reported incorrectly for SCSI Command PDUs when they were not matched with a response.
Read the LUN value into a local variable always and use that to pass to the scsi dissector since we can always use this value from the iscsi heade for COMMAND pdus   (but not data/in/out)



svn path=/trunk/; revision=13791
2005-03-17 10:18:18 +00:00
Gerald Combs
fd61f72cb7 Use val_to_str instead of indexing a value_string directly. This keeps us
from crashing when we encounter an invalid type value.

svn path=/trunk/; revision=13790
2005-03-17 05:14:01 +00:00
Tim Potter
2ebd49cd2c Apply abartlet@samba.org's "raw NTLMSSP over GSS-SPNEGO" patch.
svn path=/trunk/; revision=13788
2005-03-17 02:27:26 +00:00
Guy Harris
e44a0c7dd1 Use 0, not NULL, for integer arguments; NULL might be defined as "(void *)0",
and that causes compiler warnings when it's passed as an integer argument.

svn path=/trunk/; revision=13785
2005-03-16 23:49:12 +00:00
Gerald Combs
8ff6c3d656 Replace malloc()/free() with g_malloc()/g_free().
svn path=/trunk/; revision=13784
2005-03-16 23:25:11 +00:00
Lars Roland
42dcc095af Add subversion Id to libethereal.def
svn path=/trunk/; revision=13783
2005-03-16 23:22:28 +00:00
Lars Roland
65fb9ef620 Remove support for the old plugin api.
TODO: 
cleanup files in /trunk/plugins

svn path=/trunk/; revision=13782
2005-03-16 23:07:08 +00:00
Guy Harris
90f8224360 Have GSS-API subdissectors supply a "data is encrypted" flag to their
callers, so that they can tell "no decrypted tvbuff because I couldn't
decrypt it" from "no decrypted tvbuff because it's not encrypted in the
first place".  Set that based on the Kerberos seal algorithm field in
the SPNEGO Kerberos 5 wrap dissector code.

Use that to determine whether the GSS-API encapsulated data in LDAP is
encrypted or not., rather than using a heuristic.

Set the length of the SASL blob tvbuff based on the SASL length and the
length of the tvbuff from which it's consstructed, rather than setting
it to the SASL length.

svn path=/trunk/; revision=13780
2005-03-16 21:59:25 +00:00
Guy Harris
c664c29958 Spell out "G.723".
svn path=/trunk/; revision=13779
2005-03-16 21:48:46 +00:00
Guy Harris
0eaac18fff Check whether we have a first byte before checking it.
svn path=/trunk/; revision=13778
2005-03-16 21:40:34 +00:00
Guy Harris
b678ec3704 Get rid of an unused variable.
svn path=/trunk/; revision=13777
2005-03-16 21:37:28 +00:00
Anders Broman
71e75d9183 Dissect a bit of the payload to, Picture start block and temporal ref.
svn path=/trunk/; revision=13776
2005-03-16 20:06:01 +00:00
Guy Harris
7846581664 Fix some comments.
Use the same code to handle payload types in sessions set up by SDP and
sessions set up by other protocols, rather than duplicating that code.

svn path=/trunk/; revision=13775
2005-03-16 19:55:49 +00:00
Guy Harris
38de3a617a Get rid of some redundant tests that cause compiler warnings.
svn path=/trunk/; revision=13774
2005-03-16 19:41:33 +00:00
Anders Broman
4bb41cd1c7 Dissect some more IE:s and bug fixes.
svn path=/trunk/; revision=13773
2005-03-16 19:30:39 +00:00
Anders Broman
fce4f45b75 Try the pt_dissector table also if conversation has been set up with SDP.
svn path=/trunk/; revision=13772
2005-03-16 19:25:13 +00:00
Guy Harris
ad555d7c60 Fix a typo in a comment, and get rid of some unused variables, to
squelch compiler warnings.

svn path=/trunk/; revision=13771
2005-03-16 19:07:32 +00:00
Guy Harris
6bf27da8ce Doing a g_assert() that can fail with data that could appear in a packet
is wrong; cast the "guint8" value to "guint" to widen it, so that adding
1 to it doesn't overflow.  (But I don't think that cast should be
necessary - the "usual arithmetic conversions" in C should widen the
value anyway.)

svn path=/trunk/; revision=13770
2005-03-16 18:53:28 +00:00
Gerald Combs
47999c28c4 Fix a format string vulnerability discovered by Bryan Fulton.
svn path=/trunk/; revision=13769
2005-03-16 17:22:38 +00:00
Ronnie Sahlberg
a01dfef2f7 close potential overflow causing malloc to allocate 0 bytes
svn path=/trunk/; revision=13766
2005-03-16 13:39:55 +00:00
Ronnie Sahlberg
a777d5b1ad prettify nlm a bit
svn path=/trunk/; revision=13765
2005-03-16 12:47:29 +00:00
Ronnie Sahlberg
bfdd246e65 make idl2eth able to handle negative case tags
svn path=/trunk/; revision=13764
2005-03-16 11:39:46 +00:00
Ronnie Sahlberg
525bdb673b decode some more of drsuapi
svn path=/trunk/; revision=13763
2005-03-16 11:29:09 +00:00