Commit Graph

6325 Commits

Author SHA1 Message Date
Guy Harris 4f471acc34 Fix some spelling errors.
svn path=/trunk/; revision=6410
2002-10-10 23:52:51 +00:00
Guy Harris cda87c4a51 Mark some fields as NDS fields.
svn path=/trunk/; revision=6409
2002-10-10 23:41:27 +00:00
Guy Harris 15c6ff4f2f Rename "ncp.nds_string" to "ncp.nds_tree_name", as it's not a generic
string, it's a tree name (as the field's display name suggests).

Get rid of the unused "ncp.nds_string_value" field.

Fix up the names of some fields, and use "proto_tree_add_uint()" rather
than "proto_tree_add_uint_format()" to add them to the protocol tree.

svn path=/trunk/; revision=6408
2002-10-10 23:32:01 +00:00
Guy Harris ce4a4b3149 Fix up the handling of bitfields in NDS messages - get rid of extra
blanks, and don't put the list of flag values in if no bits are set.

svn path=/trunk/; revision=6407
2002-10-10 23:06:00 +00:00
Guy Harris c0baecc0bb "tm_isdst" must be set to -1 before "mktime()" is called, so that
"mktime()" bases the DST-vs-non-DST decision on the date/time and on the
current time zone.

svn path=/trunk/; revision=6406
2002-10-10 21:47:12 +00:00
Guy Harris ccab7497b2 "proto_tree_add_string_format()" requires that the string value be
passed as an argument before the format string; fix some calls to do so.

svn path=/trunk/; revision=6405
2002-10-10 21:24:59 +00:00
Guy Harris d6377805f5 When deciding whether to put "NDS" into the protocol field in the packet
list, check whether the protocol field is enabled, not whether the info
field is enabled.  Update the protocol field before trying to look at
the packet, so it gets updated even for short packets.

Only parse service reply packets as NDS packets; don't parse positive
ack packets that way.

svn path=/trunk/; revision=6404
2002-10-10 21:08:45 +00:00
Guy Harris 6ea504c2e2 Remove an extra blank in the Connection Control field display.
svn path=/trunk/; revision=6403
2002-10-10 21:05:05 +00:00
Guy Harris 9cefef1869 As we are (correctly) calling the IP dissector regardless of whether a
protocol tree is being built or not, we must also construct a tvbuff to
hand to that dissector regardless of whether a protocol tree is being
built or not.

svn path=/trunk/; revision=6402
2002-10-10 20:36:37 +00:00
Ed Warnicke b1241274d3 Fixed minor error in call ordering.
svn path=/trunk/; revision=6401
2002-10-10 19:06:04 +00:00
Guy Harris b3af4098d2 Don't attach the string for an NDS error to the completion code - attach
the string for the completion code.  Do put the string for the NDS error
into the summary line, however.

Don't clear the NDS error code if we can't translate it to a string.

svn path=/trunk/; revision=6400
2002-10-10 03:58:47 +00:00
Guy Harris 9a4b466497 "#if 0" out the code in "get_string()", as it will probably cause
crashes on many platforms, and other random behavior on others.

Don't create a temporary tree with an NCP tree underneath it if we
already have an NCP tree; we don't want the results of a dissection to
be stuck in an invisible temporary tree if we're supposed to be
generating a protocol tree.

svn path=/trunk/; revision=6399
2002-10-10 03:25:47 +00:00
Guy Harris 445a6bb87c Clean up white space.
Redo the stuff to check for various NDS requests to use a switch
statement, and #if 0-out the code to handle NDS Pings specially, as the
Novell documentation on their Web site and at least one capture I've
seen suggest that there's nothing but a function and subfunction code in
the ping request.

svn path=/trunk/; revision=6398
2002-10-10 03:03:30 +00:00
Jörg Mayer 687e8d11ba Add (back) some #include <string.h>
svn path=/trunk/; revision=6397
2002-10-10 02:57:13 +00:00
Jörg Mayer 6f032efe5c Backout previous patch - the warning was left intentionally
svn path=/trunk/; revision=6396
2002-10-10 02:18:41 +00:00
Jörg Mayer 0792646ea8 Silence an unjustified warning
svn path=/trunk/; revision=6395
2002-10-10 01:53:34 +00:00
Jörg Mayer 34141201f2 Add (back) some #include <string.h>
svn path=/trunk/; revision=6394
2002-10-10 01:49:21 +00:00
Jörg Mayer 6859b2caa6 Increase addr outside of macro
svn path=/trunk/; revision=6393
2002-10-10 01:45:25 +00:00
Gerald Combs 0a0aeffdb5 Properly check the return value of decode_prefix4(). This prevents an
infinite loop caused by a malformed packet.

svn path=/trunk/; revision=6392
2002-10-10 01:36:53 +00:00
Guy Harris 57c62c7879 From Didier Gautheron: add AFP 3.1's FPEnumerateExt2 call, and add a
warning when TCP or UDP ports are reused in different conversations.

svn path=/trunk/; revision=6391
2002-10-09 23:16:46 +00:00
Jörg Mayer 1b626a140a Add a missing #include <string.h>
svn path=/trunk/; revision=6390
2002-10-09 23:03:11 +00:00
Jörg Mayer 110f9caebc Support for both old and brand new libtool versions
svn path=/trunk/; revision=6389
2002-10-09 22:58:53 +00:00
Gerald Combs 7000420817 Update formatting, library information.
svn path=/trunk/; revision=6388
2002-10-09 13:39:17 +00:00
Guy Harris 2dcc8ee1fc From Ulf Lamping: keep "Update list of packets in real time" from
crashing on Windows.

svn path=/trunk/; revision=6387
2002-10-09 08:18:37 +00:00
Gerald Combs bd4ad18aeb Zlib and Net-SNMP updates.
svn path=/trunk/; revision=6386
2002-10-09 03:17:36 +00:00
Gerald Combs ec8fd2703a Link to libsnmp under Win32.
In gtk/main.c and tethereal.c set MIBDIRS to <get_program_path()>\snmp\mibs
so that we can drop the MIB files there, instead of the default c:\usr\...
path.

Add NET_SNMP_DIR to config.nmake and modify Makefile.nmake to adjust
CFLAGs, ethereal_LIBS and tethereal_LIBS accordingly.

Define HAVE_UCD_SNMP in config.h.win32.

I tested this by creating c:\program files\ethereal\snmp\mibs and
dropping in the MIB files that come with Net-SNMP.  Ethereal resolved
system.sysDescr.0 to "iso.3.6.1.2.1.1.1.0" under Windows.  Under Linux
it resolved to "SNMPv2-MIB::sysDescr.0".

Ethereal.nsi still needs to be updated.

A compiled version of the Net-SNMP library can be found at

    http://www.ethereal.com/distribution/win32/development/

svn path=/trunk/; revision=6385
2002-10-09 03:07:34 +00:00
Jörg Mayer 6743236a10 Remove experimental (and faulty) stuff that leaked in while adding a dissecotor in 1.500
svn path=/trunk/; revision=6384
2002-10-09 00:48:10 +00:00
Ashok Narayanan 58d356ad94 - Fixed RRO flag support that got dropped in the previous commit.
- Added support for FRR as per draft-ietf-mpls-rsvp-lsp-fastreroute-00.txt

svn path=/trunk/; revision=6383
2002-10-08 23:29:15 +00:00
Guy Harris c7d181b565 From Senthil Kumar Nagappan: fix a "proto_tree_add_uint()" call that was
supposed to be a "proto_tree_add_item()" call.

svn path=/trunk/; revision=6382
2002-10-08 19:35:10 +00:00
Guy Harris 49c1aa93cf From Lutz Jaenicke: use "g_htonl()" rather than "htonl()".
svn path=/trunk/; revision=6381
2002-10-08 19:26:37 +00:00
Guy Harris 9934126755 From cjs 2895: get rid of C++ comments, so IBM's Visual Age C compiler
can compile the code.

Note that Bill Fumerola rewrote the Cisco NetFlow dissector.

Update a bunch of addresses in the Ethereal man page, and put some
missing addresses in.

svn path=/trunk/; revision=6380
2002-10-08 19:19:00 +00:00
Guy Harris f3d86bdc37 Fix some compiler warnings.
Don't put the SPX connection control information into the Info column
unless we're running atop SPX.  (XXX - if we're running atop SPX, the
SPX dissector has already pruned off the SPX header, so we shouldn't be
acting as if we had an SPX header at which to look.)

svn path=/trunk/; revision=6379
2002-10-08 19:15:24 +00:00
Guy Harris 138a12ce60 Set the Info column in the SPX dissector regardless of whether we're
building a protocol tree or not.

Fix up white space.

svn path=/trunk/; revision=6378
2002-10-08 09:29:48 +00:00
Guy Harris 488f1216ad Make some variables unsigned to remove some compiler warnings.
svn path=/trunk/; revision=6377
2002-10-08 08:58:55 +00:00
Guy Harris 7a9e5ffc0b Include <string.h> to declare "memcpy()".
Cast the argument to "ip_to_str()" to eliminate a compiler warning.

svn path=/trunk/; revision=6376
2002-10-08 08:50:04 +00:00
Guy Harris bbd6688e1e Fix a cut-and-pasteo - PCLI isn't defined by RFC 2705; that's the MGCP
RFC, and has nothing to do with PCLI.

svn path=/trunk/; revision=6375
2002-10-08 08:26:31 +00:00
Guy Harris 59ae995a27 Update to note that libpcap 0.7.1 doesn't work perfectly with AIX's BPF,
but that the current CVS libpcap may at least fix the major known
problem.

svn path=/trunk/; revision=6374
2002-10-08 07:30:08 +00:00
Jörg Mayer 57ade583b7 Merge duplicate entries
svn path=/trunk/; revision=6373
2002-10-07 23:16:34 +00:00
Jörg Mayer 6c895e2d26 Change by Didier Gautheron to make automake 1.7 work.
svn path=/trunk/; revision=6372
2002-10-06 18:18:45 +00:00
Jörg Mayer e96b5aac15 Credit Didier Gautheron for automake fix
svn path=/trunk/; revision=6371
2002-10-06 18:14:28 +00:00
Jörg Mayer b0b1414991 Change by Didier Gautheron to make automake 1.7 work.
Replaced AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET.

svn path=/trunk/; revision=6370
2002-10-06 18:08:49 +00:00
Jörg Mayer 32f4580b93 Remove unnecessary config* stuff
svn path=/trunk/; revision=6369
2002-10-06 17:45:52 +00:00
Jörg Mayer 4dd583194e Ignore *.la and *.lo
svn path=/trunk/; revision=6368
2002-10-06 17:43:57 +00:00
Richard Sharpe efe17e3c7f Make sure that we can dissect KRB5 in NFSv4 blobs.
svn path=/trunk/; revision=6367
2002-10-05 06:26:42 +00:00
Ed Warnicke b54b76e697 Added a dissector plugin for Packet Cable Lawful Intercept.
svn path=/trunk/; revision=6366
2002-10-03 02:56:59 +00:00
Ashok Narayanan cb922419d3 Updates to RSVP
- Added the RESTART_CAP and PROTECTION_INFO objects (GMPLS)

- Cleaned up the tree variables & removed duplication

- Cleaned up the RRO/ERO subobject decoding and removed duplication

- Added IF-ID ERRORSPEC support

- Cleaned up the HOP IF-ID code and removed duplication

svn path=/trunk/; revision=6365
2002-10-02 21:15:27 +00:00
Gerald Combs 1062faf830 Update Jean-Francois Mule's email address
svn path=/trunk/; revision=6364
2002-10-02 18:51:10 +00:00
Gerald Combs d975e6c448 Update Jean-Francois Mule's address.
svn path=/trunk/; revision=6363
2002-10-02 14:49:52 +00:00
Ronnie Sahlberg e77b5ce9e8 From Brad Hards: Support for SRVLOC version 2
svn path=/trunk/; revision=6362
2002-10-02 08:57:32 +00:00
Gerald Combs bc73763541 Be more heavy-handed about deleting things during the uninstall process.
svn path=/trunk/; revision=6361
2002-09-30 14:43:18 +00:00