Commit Graph

3315 Commits

Author SHA1 Message Date
Guy Harris 17449f1186 rquota support completed by Ronnie Sahlberg.
svn path=/trunk/; revision=3357
2001-04-21 08:00:12 +00:00
Guy Harris 21f7cca50a SPRAY support, from Ronnie Sahlberg.
svn path=/trunk/; revision=3356
2001-04-21 07:57:23 +00:00
Guy Harris 54ad35f58a Update the reassembly item to note that IPv4 fragments are now
reassembled.

svn path=/trunk/; revision=3355
2001-04-21 07:49:24 +00:00
Guy Harris 2d07385002 In ANSI C (and in pre-ANSI UNIX implementations), if you return from
"main()", the program exits, and exits with an exit status equal to the
return value of "main()", so "return 0;" is sufficient at the end of
"main()".

svn path=/trunk/; revision=3354
2001-04-20 22:35:19 +00:00
Guy Harris b119052e5b Use "%u", not "%d", to print unsigned quantities.
Remove an extra space from one format.

svn path=/trunk/; revision=3353
2001-04-20 22:31:25 +00:00
Guy Harris b361003bc5 Explain BASE_{DEC,HEX,OCT,BIN} a bit more, note that BASE_BIN is for
binary but currently is just decimal, and note that you may not use
BASE_NONE for integers.

svn path=/trunk/; revision=3352
2001-04-20 22:00:27 +00:00
Guy Harris f4db05c7d1 When displaying the numeric value for the value_string string that was
selected in the filter-construction GUI, treat BASE_BIN like BASE_DEC,
as that's currently how it's treated elsewhere.

svn path=/trunk/; revision=3351
2001-04-20 21:57:55 +00:00
Guy Harris 39710cd582 In ANSI C (and in pre-ANSI UNIX implementations), if you return from
"main()", the program exits, and exits with an exit status equal to the
return value of "main()", so "return 0;" is sufficient at the end of
"main()".

svn path=/trunk/; revision=3350
2001-04-20 21:50:06 +00:00
Guy Harris 6e6ee8ca04 Include "process-x11-fields.pl" and "x11-fields" in the source
distribution.

svn path=/trunk/; revision=3349
2001-04-20 21:29:02 +00:00
Guy Harris 3c1508a6b3 Fix Gerald's e-mail address - and fix it in "README.developer", so
people don't blindly insert the old address into new dissectors, which
is probably how it got into the dissectors being fixed here.

svn path=/trunk/; revision=3348
2001-04-20 20:34:31 +00:00
Gilbert Ramirez 950d194eb9 Add a "return 0;" at the end of main() to pacify MSVC 5 (and probably
other compilers, too.)

svn path=/trunk/; revision=3347
2001-04-20 19:41:42 +00:00
Guy Harris 690ef44bff Put an RCS ID/GPL/copyright notice into the "process-x11-fields.pl"
script.

svn path=/trunk/; revision=3346
2001-04-20 19:20:31 +00:00
Guy Harris 5827d2e45b KLM support, from Ronnie Sahlberg.
svn path=/trunk/; revision=3345
2001-04-20 18:37:53 +00:00
Guy Harris 4ead3692a3 Put the top-level item for a TLV into the protocol tree with a text
value, so that if we throw an exception while processing that TLV before
setting it in the dissector for that particular TLV we at least have
something in the tree.

svn path=/trunk/; revision=3344
2001-04-20 08:14:35 +00:00
Guy Harris 87898cd6b8 Make the fields that correspond to drawable IDs, masks, and the like
display as hex rather than decimal.

svn path=/trunk/; revision=3343
2001-04-20 06:28:34 +00:00
Guy Harris 1d6263e265 Fix up "process-x11-fields" to allow both a base *and* VALS to be
specified - with or without a name for the list of values - and to roll
up *all* the tokens at the end into the blurb for the field.

Supply a base in "x11-fields" for all numeric fields, and supply a base
of NONE rather than a parent-field width for Boolean fields that aren't
bitfields.

svn path=/trunk/; revision=3342
2001-04-20 06:01:10 +00:00
Guy Harris 986bd7f261 Check in the file used to define fields for the X11 dissector, and the
Perl script that generates them, so that if we have to change those
fields we can do so more conveniently.

Remove the generated header files from CVS, and arrange that we generate
them when we do a build.

svn path=/trunk/; revision=3341
2001-04-20 04:16:19 +00:00
Ed Warnicke c16aaa518b Put BASE_NONE back into the FT_INTn and FT_UINTn display functions
with useful error messages.  Some dissector are registering
FT_INTn or FT_UINTn fields with BASE_NONE.  Now when ethereal dies
because of it the offending field will be identified so that it
can be fixed.

svn path=/trunk/; revision=3340
2001-04-20 03:59:11 +00:00
Guy Harris 4ef93d0651 All the object class-specific types are interior nodes, and the only
interesting thing about them is whether they're present or absent - make
them FT_NONE, rather than FT_BOOLEAN, so they don't have an extra ":
True" added to the protocol tree display line.

svn path=/trunk/; revision=3339
2001-04-20 01:22:23 +00:00
Guy Harris 88ba07d41b DCE RPC updates from Todd Sabin.
svn path=/trunk/; revision=3338
2001-04-19 23:39:27 +00:00
Guy Harris 7961bd2692 Don't allow BASE_NONE to be used with FT_INTn and FT_UINTn variables -
you have to select a base (even before this change, you had to select
one, otherwise the filter-construction GUI would crash if you selected
an FT_INTn or FT_UINTn field with BASE_NONE and then selected a
comparison operator).

svn path=/trunk/; revision=3337
2001-04-19 23:21:44 +00:00
Guy Harris 8f88bdae4a "ethereal -G" and "tethereal -G" won't show the pseudo-field for
"proto_tree_add_text()" any more, so the scripts that take that output
and massage it into various forms don't have to check for it any more.

Get rid of the FT_-name-to-description filtering in eproto2sgml, as it's
not used, and fix it in the other two scripts to correspond to the
current list of FT_ values.

svn path=/trunk/; revision=3336
2001-04-19 23:17:30 +00:00
Guy Harris 4caa331d21 Patch from Ronnie Sahlberg to cause the field description section of the
status bar to display nothing, rather than "Text (text)", when a
"proto_tree_add_text()" field is selected.

While we're at it, use a similar test to eliminate the text pseudo-field
from the output of "{ethereal,tethereal} -G", as well.

svn path=/trunk/; revision=3335
2001-04-19 23:06:23 +00:00
Guy Harris 0fa45bb541 FT_UINTn and FT_INTn fields must always have a base selected for them;
otherwise, the filtering GUI gets very upset when you try to construct a
filter expression to test the value of that field.  Make them BASE_DEC.

svn path=/trunk/; revision=3334
2001-04-19 23:02:44 +00:00
Guy Harris 477cefc2d5 FT_UINTn and FT_INTn fields must always have a base selected for them;
otherwise, the filtering GUI gets very upset when you try to construct a
filter expression to test the value of that field.  Make some of them
that are really Booleans ("is there an object of this class in the
packet?") FT_BOOLEAN, and give others BASE_DEC, for now.

Give the hidden field for the RSVP object class to have a name (so it
shows up as "Object class" in the filtering GUI).

svn path=/trunk/; revision=3333
2001-04-19 22:55:31 +00:00
Guy Harris 44941f70c0 Fix up the messages printed for the SSL checks - AC_MSG_CHECKING without
AC_MSG_RESULT is an error (it produces a message without a newline at
the end, as AC_MSG_RESULT is supposed to finish the message with the
result of the test), and, according to the autoconf documentation,
you're not supposed to use AC_MSG_RESULT without AC_MSG_CHECKING,
either.

svn path=/trunk/; revision=3332
2001-04-19 01:08:16 +00:00
Guy Harris d9d0f31006 Include "image/Makefile.nmake" in the distribution tarball.
svn path=/trunk/; revision=3331
2001-04-19 01:05:19 +00:00
Gilbert Ramirez 3277a5255a Distribute wtap.def
svn path=/trunk/; revision=3330
2001-04-18 21:34:22 +00:00
Guy Harris 41cb0c0df7 YPPASSWD support, from Ronnie Sahlberg.
svn path=/trunk/; revision=3329
2001-04-18 20:41:12 +00:00
Guy Harris 30e95d966b Change from Ronnie Sahlberg to add ONC RPC strings to the tree as
strings, with a field index, rather than as text, so they can be
filtered.

svn path=/trunk/; revision=3328
2001-04-18 20:27:42 +00:00
Guy Harris 98a6960c42 Fix from Patrick Wolfe.
svn path=/trunk/; revision=3327
2001-04-18 20:01:17 +00:00
Guy Harris d2d999fb74 Check the validity of numbers specified in command-line options.
svn path=/trunk/; revision=3326
2001-04-18 05:45:58 +00:00
Gilbert Ramirez 1ae90b3d24 nmake was compiling lemon.c twice; now let it use its default
rules, keeping it from over-compiling.

svn path=/trunk/; revision=3325
2001-04-18 04:55:36 +00:00
Guy Harris d93fa98b6e IP fragment reassembly, from Ronnie Sahlberg.
svn path=/trunk/; revision=3324
2001-04-18 04:53:51 +00:00
Gilbert Ramirez e79474408f Revert. MSVC is wrong. Thanks to Guy for pointing that out.
svn path=/trunk/; revision=3323
2001-04-18 04:52:51 +00:00
Gilbert Ramirez 6c89e58e7f #define YY_NEVER_INTERACTIVE to avoid reference to isatty() on Win32,
and thus avoid a compiler warning when compiling ascend-scanner.c.

svn path=/trunk/; revision=3322
2001-04-18 03:03:42 +00:00
Gilbert Ramirez d61a474b93 Makefile.nmake pulls in settings from config.nmake
Move 'const' keyword to keep const qualifiers balanced... gets rid
of complaint from MSVC.

svn path=/trunk/; revision=3321
2001-04-18 03:02:57 +00:00
Nathan Neulinger 10cde4fd22 Tvbuffify packet-yhoo.c. I could use some feedback on this, as it's my
first tvb dissector. Looks like it works, but I'm not sure I'm doing
everything the best way.

svn path=/trunk/; revision=3320
2001-04-18 00:21:01 +00:00
Guy Harris 1985272288 WTLS client and trusted key ID handling enhancements, from Patrick Wolfe.
svn path=/trunk/; revision=3319
2001-04-17 23:26:52 +00:00
Guy Harris 3782799323 As of GLib 1.2.9, you won't automatically get "-I/usr/local/include" and
"-L/usr/local/lib" added to CFLAGS and LDFLAGS merely as a result of
running AM_PATH_GLIB, as 1.2.9 and later don't install headers directly
under "/usr/local/include".  Therefore, we have to put
"-I/usr/local/include" into CFLAGS ourselves, just as we do in the
top-level configure script, or we run the risk of not being able to find
other packages (libpcap, zlib, etc.) if it's installed under
"/usr/local".

svn path=/trunk/; revision=3318
2001-04-17 22:47:37 +00:00
Guy Harris aa1b532612 Tvbuffified by Heikki Vatiainen.
svn path=/trunk/; revision=3317
2001-04-17 21:25:13 +00:00
Guy Harris 4694e6b0d8 Fix to WTP retransmission indicator dissection, from Olivier Biot.
svn path=/trunk/; revision=3316
2001-04-17 18:57:10 +00:00
Guy Harris 4acaa8b961 Fix to a preferences dialog bug, from <inoue@ainet.or.jp>.
svn path=/trunk/; revision=3315
2001-04-17 18:49:55 +00:00
Guy Harris 2aa31bea47 Move the declaration of "etype_vals[]" from "epan/packet.h" to
"etypes.h".

svn path=/trunk/; revision=3314
2001-04-17 06:43:21 +00:00
Guy Harris c5aaac7823 Move the declaration of "ipprotostr()" out of "epan/packet.h" into a new
"ipproto.h" header file.

svn path=/trunk/; revision=3313
2001-04-17 06:29:14 +00:00
Gerald Combs d01ff0c857 Quarterly (or so) update.
svn path=/trunk/; revision=3312
2001-04-17 02:53:49 +00:00
Guy Harris d73302ad9b Fix the e-mail address for Joerg Mayer (and remove it from files he
wasn't involved with).

svn path=/trunk/; revision=3311
2001-04-17 00:46:06 +00:00
Guy Harris aedaabc8c8 GCC 2.95.1 on SPARC/Solaris, at least, is clever enough to figure out
that the loop in "lanalyzer_open()" is an infinite loop, so the "return
0;" at the end isn't necessary to suppress a compiler warning with that
compiler - and Sun C not only figures it out, it warns that the
"g_assert_not_reached()" and the "return 0;" are unreachable, so I'll
take them out for now (and put them back if my older GCC at home still
requires it to suppress warnings).

svn path=/trunk/; revision=3310
2001-04-16 22:06:34 +00:00
Guy Harris 122ed97b4a The "data" member of a Buffer structure is a "u_char *"; when assigning
the result of a "g_malloc()" to it, cast it to "u_char *", not "char *".

svn path=/trunk/; revision=3309
2001-04-16 21:59:38 +00:00
Guy Harris 77789be82e Assorted ISIS enhancements from Hannes Gredler.
When dissecting the ISIS NLPID CLV, use the "nlpid_vals" array to
convert NLPID values to protocol names.

svn path=/trunk/; revision=3308
2001-04-16 10:04:33 +00:00