Commit graph

7134 commits

Author SHA1 Message Date
Guy Harris
8959d1b66d Put out the "Checking whether to use UCD SNMP/NET-SNMP library if
available" message *after* checking for net-snmp-config - nesting
something such as AC_PATH_PROG that produces a "Checking..." message
inside another check causes the pairing of check and result messages to
be broken.

svn path=/trunk/; revision=7221
2003-02-28 06:44:57 +00:00
Guy Harris
02743108b7 Check for <ucd-snmp/ucd-snmp-config.h>, not <ucd-snmp/snmp.h> - we don't
include <ucd-snmp/snmp.h>, we incldue <ucd-snmp/ucd-snmp-config.h>, and,
at least with some UCD SNMP versions, you can't just include
<ucd-snmp/snmp.h> without including a header to typedef "oid", so you
get a warning from the configure script if it's built with autoconf 2.57
(it whines because the test program won't compile but the header exists).

svn path=/trunk/; revision=7220
2003-02-28 06:04:30 +00:00
Guy Harris
939b9d0752 Call the capabilities subfields "mysql.caps.XXX", not "tcp.caps.XXX".
svn path=/trunk/; revision=7219
2003-02-28 05:18:49 +00:00
Guy Harris
959282506a Fixes for a couple of problems, from Albert Chin:
1. On Solaris, inet_ntop and inet_pton need to be linked against
   -lnsl. AC_CHECK_FUNC() isn't good enough unless LIBS already
   has -lnsl.
2. On IRIX, the blanket redefinition of the inet_ntop function
   prototype is incorrect (compiling with MIPSpro 7.4):
     cc-1143 cc: ERROR File = inet_v6defs.h, Line = 32
       Declaration is incompatible with
               "const char *inet_ntop(int, const void *, char *, socklen_t)"
               (declared at line 89 of "/usr/include/arpa/inet.h").

       extern const char *inet_ntop(int af, const void *src, char *dst,
                     ^

     1 error detected in the compilation of "inet_pton.c".
     gmake[4]: *** [inet_pton.o] Error 2

   On IRIX, the correct prototype is:
     extern const char *inet_ntop(int, const void *, char *, socklen_t);

   Rather than blindly replacing the prototype we detect if a
   prototype exists and define it only if one does not exist.

svn path=/trunk/; revision=7218
2003-02-28 05:09:50 +00:00
Guy Harris
aa43cd779c Don't offer desegmentation to DCERPC if we have a short or fragmented
packet.

svn path=/trunk/; revision=7217
2003-02-28 03:00:59 +00:00
Guy Harris
608e53fb5e From Laurent Meyer: let the user data in CALL REQUEST and CALL CONFIRM
PDUs be dissected by the appropriate dissector for the connection.

svn path=/trunk/; revision=7216
2003-02-28 00:48:06 +00:00
Jörg Mayer
633f353444 Add comment about Packetformat (including URL).
Remove unused includes.

svn path=/trunk/; revision=7215
2003-02-28 00:08:04 +00:00
Guy Harris
ebde4baf76 "in_str" is a boolean; make it so.
For strings, make the item for the string cover all the characters of
the string, not just the first one.

svn path=/trunk/; revision=7214
2003-02-27 05:54:31 +00:00
Guy Harris
cb6c25fddd From Tom Nisbet: SLIMP3 protocol version 2 support.
svn path=/trunk/; revision=7213
2003-02-27 05:37:36 +00:00
Guy Harris
4156806b8b From Didier Gautheron: provide a mechanism to indicate why reassembly
wasn't done, and, for TCP, use that mechanism if reassembly isn't done
is an incorrect TCP checksum.

svn path=/trunk/; revision=7212
2003-02-27 03:56:48 +00:00
Guy Harris
1837c71d7d From Olivier Biot: fix up various field names and descriptions, add a
URL for WAP specifications, and clean up some other stuff.

svn path=/trunk/; revision=7211
2003-02-27 02:52:50 +00:00
Guy Harris
5408067454 From Akira Endoh: Wellfleet Breath of Life support.
svn path=/trunk/; revision=7210
2003-02-27 02:45:42 +00:00
Guy Harris
f7b3583e8a From Devin Heitmueller: dissection for user info requests (away message,
user profile, etc).

svn path=/trunk/; revision=7209
2003-02-27 02:38:19 +00:00
Guy Harris
1697aac429 From Jason Copenhaver: put the address fields in the Ethernet header in
the right order.

svn path=/trunk/; revision=7208
2003-02-27 02:31:00 +00:00
Guy Harris
dd4aa69e83 Arrange that "make maintainer-clean" get rid of "register.c",
"register-static.c", and "ps.c", to make a really clean start.

svn path=/trunk/; revision=7207
2003-02-27 02:28:37 +00:00
Guy Harris
55195b959e From Brad Hards: don't have "make distclean" delete "register.c",
"register-static.c", or "ps.c", as we distribute them in the tarball.

Add Georgi Guninski to the credits list in the man page.

svn path=/trunk/; revision=7206
2003-02-27 02:07:57 +00:00
Guy Harris
f2562bd84d Add "packet-mip6.h" to the list of header files.
svn path=/trunk/; revision=7205
2003-02-27 00:52:08 +00:00
Guy Harris
99e1970ea5 Ethereal.desktop is in the top-level directory, not the "doc" directory,
and it's already in the EXTRA_DIST list in the top-level directory.

svn path=/trunk/; revision=7204
2003-02-27 00:09:53 +00:00
Guy Harris
4632490ab1 From Pavel Roskin:
Get rid of acconfig.h, as it's an archaism; put descriptions
	into AC_DEFINE instead.  That squelches some warnings from
	later versions of autoconf.

	Fix an unquoted call to AC_MSG_ERROR.

	Move the stuff to define HAVE_SOME_SNMP into configure.in.

svn path=/trunk/; revision=7203
2003-02-26 20:08:33 +00:00
Gerald Combs
12bfe0ed30 Add Georgi Guninski to the list of contributors.
svn path=/trunk/; revision=7202
2003-02-26 01:39:10 +00:00
Gerald Combs
1da3bdf2ea From Georgi Guninski: Fix a format string problem.
svn path=/trunk/; revision=7201
2003-02-26 01:35:07 +00:00
Guy Harris
7005595a7f From Greg Morris: don't delete the EID hash table after the first pass,
as it's needed whenever a packet is dissected.

svn path=/trunk/; revision=7200
2003-02-25 21:28:04 +00:00
Guy Harris
d6097fb658 From Brad Hards: show a description of the FTP reply code.
svn path=/trunk/; revision=7199
2003-02-25 19:27:19 +00:00
Guy Harris
0462c4d806 From Laurent Meyer: register the ESIS dissector by name, so it can be
called from other dissectors.

svn path=/trunk/; revision=7198
2003-02-25 19:07:07 +00:00
Guy Harris
5c8110c0a8 From Laurent Meyer: pass on to a subdissector user data for COTP CR/CC
packets, and add a heuristic dissector list for CLNP payloads not
dissected as COTP packets.

svn path=/trunk/; revision=7197
2003-02-25 18:59:47 +00:00
Guy Harris
ca28a41f1f Put in a blank between "Intercept" and "packets".
svn path=/trunk/; revision=7196
2003-02-25 18:43:38 +00:00
Tim Potter
40f0abad4b Don't append text in cb_notify_str_postprocess() if text is the empty string.
Cleaned up some all caps proto items to more friendly looking text.

Append number of notifies within a notify option structure to the proto_item.

svn path=/trunk/; revision=7195
2003-02-25 02:08:05 +00:00
Tim Potter
96c217f2dc Don't append text in cb_str_postprocess() if text is the empty string.
svn path=/trunk/; revision=7194
2003-02-25 02:04:56 +00:00
Tim Potter
fc71b17968 hf_samr_mask is actually an nt_acct_ctrl.
svn path=/trunk/; revision=7193
2003-02-25 02:03:11 +00:00
Tim Potter
41b5162c2c Added 'server unavailable' dos error message.
svn path=/trunk/; revision=7192
2003-02-25 02:00:33 +00:00
Guy Harris
92ab400add From Laurent Meyer: NLPID for Subnetwork Dependent Convergence Function.
svn path=/trunk/; revision=7191
2003-02-24 19:49:04 +00:00
Guy Harris
1fecbdd169 Get rid of the default "dissect_subopt()" suboption negotiation data
dissector - have a null dissector pointer be the indication that there's
no real dissector (we have to handle a null dissector pointer in any
case, as the option code might be past the end of the table).

svn path=/trunk/; revision=7190
2003-02-24 19:25:00 +00:00
Guy Harris
f485c8e49a Put back the stuff for an attribute authentication block at the end of a
V1 Service Deregister message; I can't see anything in the RFC that says
it's possible to have one, but maybe it's a post-RFC-2165 addition.

svn path=/trunk/; revision=7189
2003-02-24 19:23:26 +00:00
Tim Potter
ce00b6057c Change SPOOLSS policy handle string names to be consistent with
the SAMR ones.

svn path=/trunk/; revision=7188
2003-02-24 04:39:21 +00:00
Guy Harris
a9d8ca4d87 Rename "dissect_url_entry()" to "dissect_url_entry_v1()".
Fix up the handling of V1 Service Deregister messages to match the RFC.

Remove the item before the body of the message reiterating the message
type in V1 messages; it's not present in V2 messages.

Strings don't have a number base; use BASE_NONE, not BASE_DEC.

Don't abbreviate "Previous Response".

svn path=/trunk/; revision=7187
2003-02-24 02:04:18 +00:00
Guy Harris
e345e5640e Rename "fake_unicode()" to "tvb_fake_unicode()" as it works on a tvbuff,
give it a byte-order argument, and move it to "epan/tvbuff.c".

Use it to handle UCS-2 strings in version 1 of the Service Location
Protocol.  In SRVLOC V1, use registered fields that are already there
for SRVLOC V2, and add some as needed.  Fix some field names.

svn path=/trunk/; revision=7186
2003-02-24 01:22:30 +00:00
Guy Harris
1c159b152b Non-ASCII characters can't be part of the name in a MIME header; if we
see one, assume we're dealing with data, not a MIME header.

Spaces are separators.

svn path=/trunk/; revision=7185
2003-02-24 01:17:45 +00:00
Guy Harris
49a0375064 Add a framework for dissecting Telnet option subnegotiation data.
Add in dissectors for some options.

Mark all options with the RFC number (or other document) that describes
them.

svn path=/trunk/; revision=7184
2003-02-24 01:04:30 +00:00
Guy Harris
bedd818b3f From Pavel Roskin: in the GTK+ 2 code, associate the "Print Detail"
button with the correct group.

svn path=/trunk/; revision=7183
2003-02-21 21:06:27 +00:00
Guy Harris
097f40cae8 From Devin Heitmueller: handle the AIM logon reply.
svn path=/trunk/; revision=7182
2003-02-21 04:38:53 +00:00
Guy Harris
6ce26a1eba Well, perhaps that padding really *is* padding, or maybe it's some other
gunk stuck in there to make NTLMSSP happy (perhaps the encrypted body
length has to be a multiple of 16 bytes or something such as that for
the encryption to work).

No packet in any capture I have appears to be misdissected if you get
rid of the mod 4 stuff, so I'm removing it.

svn path=/trunk/; revision=7181
2003-02-21 04:31:38 +00:00
Tim Potter
a0684a7fd2 Forgot to rename constant for bit 0x80 of SAMR domain handle permissions.
svn path=/trunk/; revision=7180
2003-02-21 02:04:31 +00:00
Guy Harris
d8629a2747 Protect against wraparound when scanning through a bunch of TCP data in
"tcp_dissect_pdus()".

svn path=/trunk/; revision=7179
2003-02-21 00:22:45 +00:00
Tim Potter
5ef6684a97 Apparently bit 0x80 of a SAMR domain handle is the permission to look
up alias members.

svn path=/trunk/; revision=7178
2003-02-21 00:19:02 +00:00
Guy Harris
365107a43d Don't return a success/failure value from a function if we're not going
to check the value, or if we always return "success".

Have "dissect_cops_object()" check for a bogus object length and give
up, returning an error indication, if it gets one.  Also don't store the
object length in a guint16, as we might round it up to a multiple of 4,
and if it's 65535, it gets rounded up to 0, not 65536, if it's 16 bits
long.

Have "dissect_cops_pr_objects()" check for a bogus object length and
give up if it gets one.  Also don't store the object length in a
guint16, as we might round it up to a multiple of 4, and if it's 65535,
it gets rounded up to 0, not 65536, if it's 16 bits long.

If "dissect_cops_object()" returns a "bogus length" indication, stop
dissecting.

If we've fetched a value, don't fetch it again to pass it to
"proto_tree_add_uint()".  If we haven't fetched the value, don't fetch
it to pass it to "proto_tree_add_uint()", use "proto_tree_add_item()".

svn path=/trunk/; revision=7177
2003-02-21 00:11:31 +00:00
Jörg Mayer
13c4434e9f Move packet-rsync.c into alphabetically correct posision in Makefile.*
Remove comma after last element in enum.

svn path=/trunk/; revision=7176
2003-02-20 12:04:11 +00:00
Guy Harris
dd22e794c3 At least in regular SMB Browse and RAP messages, the server type mask is
not guaranteed to be aligned on a 4-byte boundary, so, if we're not
dissecting a DCE RPC request or reply, don't use "dissect_ndr_uint32()"
to extract the access mask.

svn path=/trunk/; revision=7175
2003-02-20 07:55:00 +00:00
Guy Harris
03533b258b Updates from Devin Heitmueller to add a framework to handle TLVs, and to
handle "oncoming buddy" and "signon" TLVs.

svn path=/trunk/; revision=7174
2003-02-20 04:42:08 +00:00
Guy Harris
46f4c41529 Don't try to put the policy handle name into the Info column if we don't
have a policy handle name.

svn path=/trunk/; revision=7173
2003-02-19 22:09:03 +00:00
Guy Harris
d902039842 Updates from Greg Morris:
1. Added a number of NCP Error return values.
	2. Added ability to pass byte strings to summary window.
	3. Modified file NCP's to reflect file handle in summary window.
	4. Changed all NCP's using QueueID from big endian to little endian.
	This is different from Novell's NCP documentation but matches same
	information obtained from NDS dissector.
	5. Added over 50 more NDS error return values.
	6. Partially fixed NDS Request verb 6 (Search Entries)

svn path=/trunk/; revision=7172
2003-02-19 21:47:46 +00:00