Commit Graph

1332 Commits

Author SHA1 Message Date
hannes
5bc1ef0f78 correct reference for the authentication TLV #10 as the draft turned into an rfc 2003-07-19 09:02:45 +00:00
hannes
ebdd8220c7 rework of the EXT-IS reach and EXT-IP reach subTLV decoders for
easier extensions;
2003-07-19 08:54:28 +00:00
itojun
37cba74a72 regen 2003-07-17 13:45:33 +00:00
itojun
2a087c952d fix build without libcrypto 2003-07-17 13:43:24 +00:00
itojun
f092086d6f regen 2003-07-17 13:39:46 +00:00
itojun
95fc64f066 no need to check rc5.h 2003-07-17 13:39:03 +00:00
itojun
2e75556186 regen 2003-07-17 13:32:41 +00:00
itojun
fe59684555 probe openssl/evp.h 2003-07-17 13:32:03 +00:00
itojun
0d821a59a7 lookup algorithm by EVP_xx in openssl. no need for algorithm table 2003-07-17 13:31:02 +00:00
itojun
0f4905efe6 KNF 2003-07-17 11:01:06 +00:00
itojun
96d5cdd506 decode dhcp6 relay message. from jinmei@kame 2003-07-16 16:15:53 +00:00
guy
0e956cfb6b Regenerate. 2003-07-08 16:46:24 +00:00
guy
b57da60ea5 Fix the test for libcrypto to use valid "test" syntax. 2003-07-08 01:19:10 +00:00
guy
fb7621f6ae Fix the separator for "bad cksum". 2003-07-08 01:14:44 +00:00
guy
891bd97172 Regenerate for the new version that checks for "-lcrypto" shared
libraries.
2003-07-04 23:21:29 +00:00
guy
0e797e0a4d Check for ".sl", which is what HP-UX uses for 32-bit shared libraries. 2003-07-04 23:19:54 +00:00
guy
e7b6ee317c Note the existence, in at least some Linux kernels, of capability bits
that could, in theory, let non-root users capture packets, if there were
userland support for giving particular accounts capability bits and
having them set on their login processes when they log in.

Note that Mac OS X is like the other BSDs, in that all you need in order
to capture is read access on the BPF devices.  Note also that on BSDs
with a devfs (which includes Mac OS X), giving a user that access isn't
as easy as running "chown" or "chmod" once.
2003-07-01 21:19:51 +00:00
guy
43c4a04b45 Check for shared-library versions of -lcrypto, not just archive
versions, in case a system includes a shared library but not an archive.
2003-07-01 20:44:16 +00:00
guy
d87f746286 Move the definitions of "bootp_flag_values[]" and "bootp_op_values[]"
out of "bootp.h" into "print-bootp.c", so we don't get unused copies of
them in files other than "print-bootp.c" that include "bootp.h", and so
we don't get warnings from GCC 3.3 about those unused copies.
2003-07-01 19:16:06 +00:00
guy
6f93affaeb Define "ethertype_values[]" in "print-ether.c", make it not static, and
have "ethertype.h" just declare it, so that

	1) we only have one such table, shared by all dissectors that
	   use it

and

	2) GCC 3.3 doesn't complain that it's defined but not used in
	   those dissectors that incldue "ethertype.h" but don't use
	   "ethertype_values[]".
2003-07-01 19:10:26 +00:00
guy
dc0522fcb1 Get rid of an unused variable.
Cast lengths to "int" when using them in "%*" formats.

Restore the "TODO print UTF-8 decoded text" comment, as RFC 2516 says
that text in PPPoE is, in fact, UTF-8, and we could, in principle, do
more than just dumping stuff as hex if there are more non-printable than
printable characters (and dumping it as text if there aren't).
2003-07-01 08:36:53 +00:00
guy
a2eaf8ffa7 Get rid of unused variables. 2003-07-01 08:34:30 +00:00
guy
e75b0eb764 Get rid of a bogus printf argument. 2003-07-01 08:33:43 +00:00
guy
15cf64c8de Document the "W" and "E" TCP flags for ECN. 2003-07-01 08:14:40 +00:00
hannes
e553790c34 replace bittok2str() lookalike when printing the restart TLV flags 2003-06-28 17:15:19 +00:00
hannes
5f3c628f70 - update the extd community decoder as per draft-ietf-idr-bgp-ext-communities-05
- additional support for 4-byte AS number format #2
  - get rid of lots of copy&paste code ans usage of bittok2str() for flag parsing
  - misc cleanups
- replace datap with tptr in the bgp_cap decoder
-
2003-06-17 13:12:59 +00:00
hannes
cc496527f0 align the comments in the code with what the code actually is doing 2003-06-17 06:05:22 +00:00
hannes
81909e7396 be a little more verbose about source-id and lsp-ids in non-verbose mode to better troubleshoot routing-churn 2003-06-16 07:06:28 +00:00
hannes
b6b96b4d5f credit Greg Stark as being the original Author of the PPPoE decoder 2003-06-14 06:05:52 +00:00
hannes
b2406c50ca from Greg Stark <gsstark[AT]mit.edu>:
honor the payload length in PPPoE frames to match actual
BRAS and client behaviour
2003-06-13 05:55:21 +00:00
guy
86403131b5 Move the definitions of the various GMPLS "struct tok"s out of gmpls.h
into a new gmpls.c file; have gmpls.h contain only external declarations
of those structures.  That removes compiler warnings about static
structures being defined but not used, and also lets more than one file
share structures used in both of those files, rather than having private
definitions of them.
2003-06-09 23:28:08 +00:00
hannes
31a4462cfe support for generalized label as per rfc3471, correct offset for waveband c-type, support for recover label as per rfc3474 2003-06-07 23:05:19 +00:00
hannes
4254cbe7d1 add support for GMPLS related objects as per rfc3473 2003-06-07 22:41:31 +00:00
guy
c90e936060 Add a new "ipproto.h" header file, with definitions of IP protocol type
values.  Use that rather than private definitions in various files.

Add "gmpls.h" to the list of files in FILES, and add it and "ipfc.h" to
the list of files in INSTALL.
2003-06-07 11:57:51 +00:00
hannes
dd6c78cdaa minor display cosmetics 2003-06-07 07:12:11 +00:00
hannes
8474904c14 outsource gmpls related tokens to gmpls.h 2003-06-06 23:47:53 +00:00
risso
8445c4f322 Added a fake gethostbyaddr function for Windows to proper handle IPv6 address resolution, since gethostbyaddr(...., AF_INET6) always returns a NULL pointer on WindowsXP. 2003-06-05 13:36:33 +00:00
guy
c4aa80257a The SCTP dissector is only called for SCTP packets, so there's no reason
for it to check the protocol number in the IP header.

Have the IPv6 dissector call the SCTP dissector for SCTP packets.

Get rid of the definition of IPPROTO_SCTP in sctpConstants.h, so we
don't have problems if <netinet/in.h> also defines it.
2003-06-03 23:49:22 +00:00
guy
09b6f818f0 Improve the comment for the code to relinquish set-UID privileges.
Check whether we succeeded in opening a capture file before we report
the link-layer type of the capture file.
2003-06-03 23:32:42 +00:00
guy
13137dd548 Based on a patch from Michele "mydecay" Marchetto <smarchetto1@tin.it>:
check the header length to make sure it's at least the minimum length,
so we don't, for example, go into an infinite loop if the header length
is 0.

Get rid of some blank lines at the end of the file.
2003-06-03 23:23:50 +00:00
guy
f4d9457518 Get rid of the zero-length array in "struct bgp_notification" - not all
C compilers support zero-length arrays.

Add in TCHECK calls when dissecting stuff in a BGP notification.
2003-06-03 22:15:58 +00:00
hannes
aad4c8a555 misc. display corrections, spit out the notification number 2003-05-30 11:09:39 +00:00
hannes
7c7089d732 hide the 802.1Q header if eflag, print ethertype during 802.1Q stack recursion if eflag, misc. cleanups 2003-05-28 12:56:52 +00:00
hannes
2f4839a682 print LLC header [dsap,ssap, and cmd] if eflag is set 2003-05-28 12:53:00 +00:00
hannes
8027f41d71 - complete the proto-id to string mapping
- get rid of duplicate ETHERTYPE_REVARP entry
- add ETHERTYPE_VMAN entry for Extreme' VMAN protocol
2003-05-28 08:59:14 +00:00
hannes
1358e2de53 support for capability notification messages 2003-05-27 14:34:04 +00:00
hannes
6111d166dc add support for optional AFI, SAFI and MAXPREFL values that
may be optionally present in the data portion of a BGP
Notification CEASE message as described per
draft-ietf-idr-cease-subcode-02
2003-05-27 13:09:02 +00:00
hannes
f5bce589b5 support BGP cease subcodes as per draft-ietf-idr-cease-subcode-02 2003-05-27 12:43:37 +00:00
hannes
56e21a1064 warn if v6 was found using ip_print() 2003-05-25 16:40:48 +00:00
hannes
4bd27d666f squelch compiler warning 2003-05-25 16:26:57 +00:00