Commit graph

13491 commits

Author SHA1 Message Date
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
Gerald Combs
eadb365e2a For UDP output, set the length to 65535 instead of 0.
svn path=/trunk/; revision=13768
2005-03-16 16:44:06 +00:00
Jörg Mayer
be2bab3d18 IEEE is correct about 00:00:39
svn path=/trunk/; revision=13767
2005-03-16 16:42:53 +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
Ronnie Sahlberg
e5f203eb7a jxta updates from duigou
svn path=/trunk/; revision=13762
2005-03-15 10:18:54 +00:00
Ronnie Sahlberg
abd7102bed fix a compiler warning
svn path=/trunk/; revision=13761
2005-03-15 10:05:54 +00:00
Ronnie Sahlberg
e85d023949 ikev2 support from Shoichi Sakane
svn path=/trunk/; revision=13760
2005-03-15 09:58:58 +00:00
Ronnie Sahlberg
b140a83293 more idl2eth and drsuapi updates
svn path=/trunk/; revision=13759
2005-03-15 09:36:18 +00:00
Ronnie Sahlberg
5d7b72fd86 update to idl2eth adding WERROR as a built in type
svn path=/trunk/; revision=13758
2005-03-15 08:24:10 +00:00
Guy Harris
5817da91dc Export another routine that's been asked for at least once.
svn path=/trunk/; revision=13757
2005-03-14 23:41:08 +00:00
Anders Broman
612e924994 Routines for Unlicensed Mobile Access(UMA) dissection ( http://www.umatechnology.org/
UMA Protocols (Stage 3) R1.0.2 (2004-11-05) )
Work in progress.

svn path=/trunk/; revision=13756
2005-03-14 22:26:57 +00:00
Ronnie Sahlberg
1fe0f9022e a lot of people dont specify top level pointers in teh idl and just
cerlare it as a parameter that is a struct/union and not a ref pointer to one.

this is ok since toplevel ref pointers are invisible in the wire encoding anyway.

unfortunatelky  ethereal dce runtime needed to see that pointer to keep track of whisch one was a toplevel and which one wasnt.


implement a new api to call pointers which explicitely specifies whether the pointer is toplevel or embedded.
eventually all dce dissectors will use this new interface and the generic dissect_ndr_pointer() can be retired.



svn path=/trunk/; revision=13755
2005-03-14 20:51:13 +00:00
Ulf Lamping
e7a72ba624 from Frederic Peters: bring debian package generation .deb up to date
I don't have the facility to test this, hopefully Frederic knows what he's doing :-) 

However, this was out of date since a long time ago, so can't get worse anyway...

svn path=/trunk/; revision=13754
2005-03-14 20:46:46 +00:00
Guy Harris
9ce4ff20ef Tagged integers have 4 bytes of data (1 byte of tag, 3 bytes of
integer), not 5 bytes.

svn path=/trunk/; revision=13753
2005-03-14 20:23:11 +00:00
Guy Harris
a81c8f1738 Some VoIP VLAN query and reply fields have a length of 6, not 7, with
only 2 bytes of data; dissect those differently.

svn path=/trunk/; revision=13752
2005-03-14 19:53:07 +00:00
Guy Harris
c7e7167a2b Combine the two switch statements on IE type into one; this cleans
things up a bit (so that if we go through one switch statement we don't
fall into the other).

svn path=/trunk/; revision=13751
2005-03-14 11:12:00 +00:00
Guy Harris
0c70225fc6 Comment changes.
svn path=/trunk/; revision=13750
2005-03-14 10:45:46 +00:00
Ronnie Sahlberg
549ec8ee25 fix typo in name of KINK developer
svn path=/trunk/; revision=13749
2005-03-14 10:27:25 +00:00
Ronnie Sahlberg
59b3267d40 updates for drsuapi
svn path=/trunk/; revision=13748
2005-03-14 09:49:58 +00:00
Guy Harris
5f1b64cf8c Don't cruft up the display of the bitmap with "Tag interpretation".
(Perhaps we should just get rid of the "tag interpretation" field and,
instead, have explicit hf_ values for each of the fields and subfields.)

svn path=/trunk/; revision=13747
2005-03-14 03:08:38 +00:00
Ulf Lamping
49213d49da Very first start of a dissection of the VNC (RFB) protocol.
This is not much more than the dissector skeleton code.

svn path=/trunk/; revision=13746
2005-03-14 00:53:58 +00:00
Ulf Lamping
f1f48a30bd fix a bug and add a forward declaration in the example skeleton code
svn path=/trunk/; revision=13745
2005-03-14 00:43:39 +00:00
Guy Harris
4d5d55b604 Handle the packet headeer for sFlow V5, put in a stub dissector for V5
samples, and give the URL of the V5 spec and some hints about how to
handle the private enterprise code in those samples.

For subtrees that cover structures, make the tree cover the entire
structure, not just the first field.

Add the flow sample type and extended data type to the protocol tree.

Set the protocol column name to capitalize "sFlow" the conventional way,
and remove the redundant "sFlow" from the Info column.

svn path=/trunk/; revision=13744
2005-03-13 21:42:51 +00:00
Guy Harris
99d60f21aa Don't attempt to get a pointer to the entire tagged field when
dissecting it; instead, fetch items from the tagged field as we go. 
Also, check the length of the tagged field against a minimum length, if
there is one.

When adding the SSID, just fetch it directly as a string, and leave it
up to the string display code to deal with non-printable characters.

When dissecting a tagged field, don't zero out the "out_buff" buffer
beforehand, just stick in the terminating '\0' afterwards.

svn path=/trunk/; revision=13743
2005-03-13 13:28:06 +00:00
Guy Harris
3fd9dac8e4 Don't use the result of "format_text()" as a format string argument, as
it might contain %'s; instead, use "%s" as the format string.

svn path=/trunk/; revision=13741
2005-03-13 10:26:56 +00:00
Guy Harris
d5c1aec8b5 Get rid of extra semicolon - it might be giving MSVC++ heartburn.
svn path=/trunk/; revision=13740
2005-03-13 07:53:19 +00:00
Gerald Combs
9d5ee3cfea Fix a check for the number of suboptions.
svn path=/trunk/; revision=13739
2005-03-13 05:48:43 +00:00
Guy Harris
4047793286 Use the tokenizing routines to parse HTTP request and status lines.
Rename the RequestDissector type to ReqRespDissector as it's used to
dissect status (response) lines as well as request lines.

svn path=/trunk/; revision=13738
2005-03-13 00:49:33 +00:00
Luis Ontanon
3e98d671fd From Graeme Hewson:
don't try to call register_all_plugin_tap_listeners() if configured without plugins.

svn path=/trunk/; revision=13737
2005-03-12 21:36:24 +00:00
Ronnie Sahlberg
8123288f6d some auth padding update from metze
svn path=/trunk/; revision=13736
2005-03-12 21:01:38 +00:00
Ronnie Sahlberg
3a26213e88 the previous drsuapi patch showed how idl2eth can handle embedded arrays just fine.
beautifully fine.

this patch overrides the array,   tells idl2eth to not generate code to unmarshall the conformance blob or the data for the array.

a handwritted replacement function is implemented in the template instead which prettifies the output a lot.



svn path=/trunk/; revision=13735
2005-03-12 12:04:44 +00:00
Ulf Lamping
7d7a541125 from Joerg Mayer: go towards "normal" makefile.
svn path=/trunk/; revision=13734
2005-03-12 11:10:23 +00:00
Ronnie Sahlberg
2ee14eef27 refine IDL
svn path=/trunk/; revision=13733
2005-03-12 10:55:50 +00:00
Ulf Lamping
25531c9a70 from Micheal Duigou: some more doxygen tags
svn path=/trunk/; revision=13732
2005-03-12 09:59:28 +00:00
Jörg Mayer
5ee5f5c71f - Add 3d logo in size 64x64 (copied from Suse, who *may* have generated
it from eicon3d64.xpm)
- Fix comment: The 3d logos seem to have a transparent background

svn path=/trunk/; revision=13731
2005-03-12 09:38:31 +00:00
Ronnie Sahlberg
cc6d037933 fix small bug from previous checkin for fixed arrays
svn path=/trunk/; revision=13730
2005-03-12 09:24:54 +00:00
Ronnie Sahlberg
0e3ff62701 initial DRSUAPI dissector
now that we can decrypt DCERPC

the dissection is not complete since idl2eth can not yet handle
all the weird extensions in the idl file yet.


svn path=/trunk/; revision=13729
2005-03-12 09:02:01 +00:00
Jörg Mayer
bbba7523e7 warning: function declaration isn't a prototype
svn path=/trunk/; revision=13728
2005-03-12 07:37:14 +00:00
Guy Harris
3d38e6bcea We don't have a TODO file any more; it's on the Wiki.
svn path=/trunk/; revision=13727
2005-03-12 02:16:28 +00:00