tcpdump
13 years agoBackout CHANGES update - wrong branch tcpdump-3.9
ken [Wed, 15 Oct 2008 23:26:02 +0000 (23:26 +0000)] 
Backout CHANGES update - wrong branch

13 years agoUpdate for 4.0.0 final release
ken [Wed, 15 Oct 2008 23:24:05 +0000 (23:24 +0000)] 
Update for 4.0.0 final release

13 years agobugfix: do proper padding calculation for LSPING
hannes [Mon, 28 Jan 2008 13:48:52 +0000 (13:48 +0000)] 
bugfix: do proper padding calculation for LSPING

14 years agoin tcpdump a length field has the semantics of a 'total length field' tcpdump-3.9.8
hannes [Fri, 21 Sep 2007 07:07:52 +0000 (07:07 +0000)] 
in tcpdump a length field has the semantics of a 'total length field'
i.e. including the header - the IP6 payload length field differs
from that ...
highlight the difference by printing 'payload length' rather than 'length'

14 years agoFrom Victor Oppleman: add support for RFC 1393 traceroute.
guy [Fri, 14 Sep 2007 01:30:02 +0000 (01:30 +0000)] 
From Victor Oppleman: add support for RFC 1393 traceroute.

14 years agoFrom Christian Sievers: add support for TFTP option acknowledgements
guy [Fri, 14 Sep 2007 01:03:12 +0000 (01:03 +0000)] 
From Christian Sievers: add support for TFTP option acknowledgements
(RFC 2347), and add an opening quotation mark to the error message
string.

Don't use the system's <arpa/tftp.h>, use our own.

Update the README to reflect the current practice for submitting
patches, and fix a spelling error.

14 years agoFrom pfhunt on SourceForge:
guy [Fri, 14 Sep 2007 00:39:22 +0000 (00:39 +0000)] 
From pfhunt on SourceForge:

When a packet contains an IPv6 options header followed by an unknown IPv6
protocol payload, tcpdump displays the proto ID for the known option
header, not for the unknown payload.

For example, this is the output for an IPv6 packet containing a destination
options header, followed by a payload of (unknown) protocol 138:

# tcpdump -s 128 -i eth1
tcpdump: WARNING: addresses not searched
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 128 bytes
11:44:40.862572 I IP6 2007::10:5:2:163 > 2007::10:5:2:164: DSTOPT ip-proto-60 16

The ip-proto-60 refers to the destination option header (DSTOPT), rather
than displaying the unknown option 138, which I think would be more
informative.

The attached patch fixes this problem. With the patch applied, the output
for the packet is:

# tcpdump -s 128 -i eth1
tcpdump: WARNING: addresses not searched
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 128 bytes
11:48:26.160462 I IP6 2007::10:5:2:163 > 2007::10:5:2:164: DSTOPT ip-proto-138 16

14 years agoPropagate
guy [Fri, 14 Sep 2007 00:26:18 +0000 (00:26 +0000)] 
Propagate

revision 1.118
date: 2006-05-11 19:14:55 -0700;  author: guy;  state: Exp;  lines: +2 -2
"ether.h" defines more than we need, and, on some platforms, redefines
ether_header (which is one of the things we don't need).  Just define
ETHER_ADDR_LEN to 6 if it's not defined - it can't be anything but 6.

to the x.9 branch, to fix build problems on Solaris.

14 years agoFixed a compilation problem: getnameinfo() was not linked.
gianluca [Thu, 13 Sep 2007 18:46:52 +0000 (18:46 +0000)] 
Fixed a compilation problem: getnameinfo() was not linked.

14 years agoFrom Chris Larson: don't cut off the last byte of the chunk payload.
guy [Thu, 13 Sep 2007 18:04:58 +0000 (18:04 +0000)] 
From Chris Larson: don't cut off the last byte of the chunk payload.

14 years agoRemoved print-pflog.c from the sources.
gianluca [Thu, 13 Sep 2007 17:55:04 +0000 (17:55 +0000)] 
Removed print-pflog.c from the sources.

14 years agoCompletely remove that unused "structure".
guy [Thu, 13 Sep 2007 17:40:18 +0000 (17:40 +0000)] 
Completely remove that unused "structure".

14 years agoCommented out a 0-length structure that is not used.
gianluca [Thu, 13 Sep 2007 17:34:20 +0000 (17:34 +0000)] 
Commented out a 0-length structure that is not used.

14 years agoDon't declare variables in the middle of a block of code; in C89, that's
guy [Thu, 13 Sep 2007 17:33:54 +0000 (17:33 +0000)] 
Don't declare variables in the middle of a block of code; in C89, that's
not valid.

14 years agoAdded an #ifndef WIN32 to exclude an #include directive under VC6.
gianluca [Thu, 13 Sep 2007 17:18:10 +0000 (17:18 +0000)] 
Added an #ifndef WIN32 to exclude an #include directive under VC6.

14 years agoIKEv2 is in HEAD only, not 3.9 branch
ken [Thu, 13 Sep 2007 13:39:44 +0000 (13:39 +0000)] 
IKEv2 is in HEAD only, not 3.9 branch

14 years agoUpdate with todays patches
ken [Wed, 12 Sep 2007 22:42:07 +0000 (22:42 +0000)] 
Update with todays patches

14 years agoFrom Max Laier: check whether the system has <net/pfvar.h> and:
guy [Wed, 12 Sep 2007 19:48:50 +0000 (19:48 +0000)] 
From Max Laier: check whether the system has <net/pfvar.h> and:

if it does, use that for the pf definitions;

if it doesn't, don't compile in pf support;

as both OpenBSD and FreeBSD have changed the pf definitions and header
format without changing the DLT value, so you can't reliably read
pflog-format libpcap files on a machine running an OS version other than
the one on which the file was generated.

14 years agoPrep for 3.9.8 release
ken [Mon, 10 Sep 2007 23:55:12 +0000 (23:55 +0000)] 
Prep for 3.9.8 release

14 years agoFrom Francois-Xavier Le Bail: decode DCHP option 249 (Microsoft's
guy [Tue, 21 Aug 2007 22:02:08 +0000 (22:02 +0000)] 
From Francois-Xavier Le Bail: decode DCHP option 249 (Microsoft's
Classless Static Route option) the same way as option 121 (RFC 3442's
Classless Static Route option).

14 years agoFrom Francois-Xavier Le Bail: suport for the DHCP Classless Static Route
guy [Tue, 24 Jul 2007 17:29:43 +0000 (17:29 +0000)] 
From Francois-Xavier Le Bail: suport for the DHCP Classless Static Route
option (RFC 3442).

Just modify the "len" variable as we parse an option - no need for a
separate variable representing the amount of data left (I suspect that's
why the wrong variable appears to have been used in the "trailing data
length" message; I'd expect that message to indicate how much *extra*
data there was in the option, not how much *total* data there was in the
option).

Add checks for too-short options in some cases where they were missing.
In the check for the Client FQDN option, skip past what data there is in
the option if it's too short, so it doesn't show up as extra data in the
option.

For the Agent Circuit option, for each suboption:

check to make sure the suboption length doesn't go past what's
left in the option;

don't reject options with an option type or length of 0 (neither
are forbidden by RFC 3046, and, in fact, RFC 3046 says "a
sub-option length may be zero");

use fn_printn() to print the Agent Circuit ID suboption, rather
than doing the equivalent ourselves with a safeputchar() loop.

14 years agoreleasetar target fixed up. tcpdump-3.9.7
mcr [Tue, 24 Jul 2007 02:39:55 +0000 (02:39 +0000)] 
releasetar target fixed up.

14 years ago updated changelog for 3.9.7.
mcr [Tue, 24 Jul 2007 02:17:13 +0000 (02:17 +0000)] 
updated changelog for 3.9.7.

14 years agoHandle the padding that Atheros adapters helpfully introduce between the
guy [Sun, 22 Jul 2007 23:14:14 +0000 (23:14 +0000)] 
Handle the padding that Atheros adapters helpfully introduce between the
802.2 header and the body.

14 years agoHandle 802.11 frames with QoS data.
guy [Sun, 22 Jul 2007 22:01:05 +0000 (22:01 +0000)] 
Handle 802.11 frames with QoS data.

14 years agoDon't attempt to dissect the payload of a no-data frame.
guy [Sun, 22 Jul 2007 20:01:16 +0000 (20:01 +0000)] 
Don't attempt to dissect the payload of a no-data frame.

14 years agoIn print_data(), check each byte to make sure we haven't gone past the
guy [Sun, 15 Jul 2007 19:08:25 +0000 (19:08 +0000)] 
In print_data(), check each byte to make sure we haven't gone past the
end of the captured packet data.

14 years agoFix message printed for bad andX offset to correctly describe the
guy [Sat, 14 Jul 2007 22:29:05 +0000 (22:29 +0000)] 
Fix message printed for bad andX offset to correctly describe the
badness.

14 years agoFix problem found by the folks at www.digit-labs.org. Process all the
guy [Sat, 14 Jul 2007 22:26:35 +0000 (22:26 +0000)] 
Fix problem found by the folks at digit-labs.org.  Process all the
TLVs in decode_labeled_vpn_l2(), but don't format them unless there's
buffer space left.  If snprintf() returns a negative value, assume we've
filled up the buffer - I think some platforms used to work that way.  If
it returns a value greater than the amount of space left, also assume
we've filled up the buffer.

Fix a typo in a comment.

14 years agoProperly check for a bogus andX offset - it has to move forward, not
guy [Sat, 14 Jul 2007 21:10:19 +0000 (21:10 +0000)] 
Properly check for a bogus andX offset - it has to move forward, not
just not move backward.

14 years ago updated version for next time
mcr [Thu, 5 Jul 2007 13:55:52 +0000 (13:55 +0000)] 
 updated version for next time

14 years agoPrint unsigned values as such. Rename a variable to correspond to what
guy [Fri, 15 Jun 2007 23:17:40 +0000 (23:17 +0000)] 
Print unsigned values as such.  Rename a variable to correspond to what
it is (a reply status).

14 years agoSome systems with BPF have a cloning device; on those systems, you just
guy [Fri, 15 Jun 2007 20:13:49 +0000 (20:13 +0000)] 
Some systems with BPF have a cloning device; on those systems, you just
open /dev/bpf.

14 years agoMany UN*Xes come with libpcap, so you might not have to install
guy [Fri, 15 Jun 2007 20:10:17 +0000 (20:10 +0000)] 
Many UN*Xes come with libpcap, so you might not have to install
tcpdump.org's libpcap in order to build tcpdump.org's tcpdump (the
configure script doesn't assume the latest version of libpcap, so it
should be possible to build tcpdump with older versions of libpcap).

By default, tcpdump is installed with universal execute permissions, and
no special privileges; that way, anybody can use it to read a capture.

Remove the comments about capture permissions, as it applies only to
systems using BPF.  The tcpdump man page gives the gory details of
capture permissions; refer users there.

Remove the comment about libpcap; it's in the libpcap INSTALL.txt, where
it belongs.

14 years agoPick up from NetBSD a change to squelch a "should not happen"
guy [Fri, 15 Jun 2007 19:49:15 +0000 (19:49 +0000)] 
Pick up from NetBSD a change to squelch a "should not happen"
uninitialized reference found by Coverity.

14 years agoPick up from NetBSD a change to use a maximum string length on the scanf
guy [Fri, 15 Jun 2007 19:43:15 +0000 (19:43 +0000)] 
Pick up from NetBSD a change to use a maximum string length on the scanf
format used to parse ACL entries.

14 years agoPropagate from the main branch
guy [Fri, 15 Jun 2007 19:15:04 +0000 (19:15 +0000)] 
Propagate from the main branch

  revision 1.29
  date: 2006-06-13 22:21:38 +0000;  author: guy;  state: Exp;  lines: +28 -2
  From NetBSD:

revision 1.7
date: 2006/03/25 11:43:53;  author: rpaulo;  state: Exp;  lines: +23 -3
PR 13604: detect and print correct information for 4.4BSD/NetBSD NFS
filehandles.
The heuristic may or may not be wrong, but no one replied in the
tcpdump-workers mailing list.
Extraction of the fsid information contributed by Chuck Silvers.

Discussed with Chuck Silvers.
----------------------------
revision 1.6
date: 2006/03/22 04:30:28;  author: christos;  state: Exp;  lines: +4 -2
Coverity CID 563: Kill SUNOS3 case; it is dead code.
----------------------------

14 years agoPick up MSG_DENIED response dissection from NetBSD; don't interpret the
guy [Fri, 15 Jun 2007 19:05:08 +0000 (19:05 +0000)] 
Pick up MSG_DENIED response dissection from NetBSD; don't interpret the
reply as a possible NFS reply if it got MSG_DENIED.

14 years agoPrep for 3.9.6 release
ken [Mon, 23 Apr 2007 21:22:56 +0000 (21:22 +0000)] 
Prep for 3.9.6 release

14 years agoadd support for the olsr protocol as per rfc3626 plus the LQ extensions from olsr.org
hannes [Wed, 28 Mar 2007 07:45:45 +0000 (07:45 +0000)] 
add support for the olsr protocol as per rfc3626 plus the LQ extensions from olsr.org

14 years agoBugfix from Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Sun, 18 Mar 2007 17:12:36 +0000 (17:12 +0000)] 
Bugfix from Carles Kishimoto <carles.kishimoto@gmail.com>:
the port and prio fields of mstp PDUs need to be properly shifted.

14 years agoFrom From Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Fri, 9 Mar 2007 18:59:48 +0000 (18:59 +0000)] 
From From Carles Kishimoto <carles.kishimoto@gmail.com>:
  print 802.1s digest

14 years agoFrom Swaminathan Chandrasekaran <chander@juniper.net>:
hannes [Thu, 8 Mar 2007 13:53:35 +0000 (13:53 +0000)] 
From Swaminathan Chandrasekaran <chander@juniper.net>:
add support for Multiple-STP as per 802.1s

14 years agominor typo: should be SPT instead of STP
hannes [Wed, 7 Mar 2007 12:11:43 +0000 (12:11 +0000)] 
minor typo: should be SPT instead of STP

14 years agobugfix: root-pathcost is not a time-quantity
hannes [Wed, 7 Mar 2007 11:22:14 +0000 (11:22 +0000)] 
bugfix: root-pathcost is not a time-quantity

14 years agoFrom Hannes Gredler <hannes@juniper.net>:
hannes [Tue, 6 Mar 2007 15:07:05 +0000 (15:07 +0000)] 
From Hannes Gredler <hannes@juniper.net>:
  rework of the STP printer

From From Carles Kishimoto <carles.kishimoto@gmail.com>:
  add support for rapid-SPT as per 802.1w

14 years agobugfix: the Multi-topology header is just at the beginning of the TLV and not before...
hannes [Fri, 2 Mar 2007 09:20:27 +0000 (09:20 +0000)] 
bugfix: the Multi-topology header is just at the beginning of the TLV and not before every prefix

14 years agoFrom Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Mon, 26 Feb 2007 13:32:36 +0000 (13:32 +0000)] 
From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for OIF RSVP Extensions UNI 1.0 Rev. 2

14 years agomove AF specific stuff into dedicated file
hannes [Mon, 26 Feb 2007 13:31:33 +0000 (13:31 +0000)] 
move AF specific stuff into dedicated file

14 years agoFrom Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Mon, 26 Feb 2007 11:11:13 +0000 (11:11 +0000)] 
From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the GMPLS 'label set' RSVP object.

14 years agobugfix rom Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Mon, 26 Feb 2007 07:32:55 +0000 (07:32 +0000)] 
bugfix rom Carles Kishimoto <carles.kishimoto@gmail.com>:
the GMPLS label rquest object (c-type 4) is 4 octets (and not 8) in size.

14 years agoFrom Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Mon, 26 Feb 2007 07:08:33 +0000 (07:08 +0000)] 
From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the admin status RSVP object.

14 years agoFrom Carles Kishimoto <carles.kishimoto@gmail.com>:
hannes [Fri, 23 Feb 2007 10:48:09 +0000 (10:48 +0000)] 
From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the Message-id NACK c-type.

14 years agofrom Jacek Tobiasz <Jacek.Tobiasz@atm.com.pl>:
hannes [Thu, 22 Feb 2007 11:31:05 +0000 (11:31 +0000)] 
from Jacek Tobiasz <Jacek.Tobiasz@atm.com.pl>:
display the IS-IS istype field as L2 and not L1L2.

14 years agoOnly print (QU) and (QM) for mDNS queries.
guy [Tue, 13 Feb 2007 19:19:27 +0000 (19:19 +0000)] 
Only print (QU) and (QM) for mDNS queries.

Make the code a little clearer about what's done for DNS vs. what's done
for mDNS.

14 years agoFrom Steinar Haug: print basic info about a few more Cisco LAN
guy [Thu, 8 Feb 2007 07:07:51 +0000 (07:07 +0000)] 
From Steinar Haug: print basic info about a few more Cisco LAN
protocols.

14 years agoFix a potential buffer overflow in the 802.11 printer; reported by
guy [Thu, 1 Feb 2007 02:18:45 +0000 (02:18 +0000)] 
Fix a potential buffer overflow in the 802.11 printer; reported by
Moritz Jodeit.

14 years agoPropagate change from the main branch:
guy [Mon, 29 Jan 2007 20:57:47 +0000 (20:57 +0000)] 
Propagate change from the main branch:

  revision 1.157
  date: 2007-01-17 17:55:01 +0000;  author: hannes;  state: Exp;  lines: +2 -2
  from Kevin Steves <stevesk@pobox.com>:

  format the ttl field not with heading whitespaces for ttl < 100 and ttl < 10

14 years agoFrom Kevin Steves: in the client FQDN option:
guy [Mon, 29 Jan 2007 20:56:00 +0000 (20:56 +0000)] 
From Kevin Steves: in the client FQDN option:

0) fix off by one (4 vs. 3)
1) print flag bits
2) print rcode fields if either is non-zero

15 years agofrom Kevin Steves <stevesk@pobox.com>:
hannes [Wed, 17 Jan 2007 14:09:38 +0000 (14:09 +0000)] 
from Kevin Steves <stevesk@pobox.com>:

remove some colons in the IP printer output for consistency reasons.

15 years agoFrom Kevin Steves: get rid of extra leading spaces.
guy [Mon, 15 Jan 2007 11:15:54 +0000 (11:15 +0000)] 
From Kevin Steves: get rid of extra leading spaces.

15 years agoFrom Kevin Steves: get rid of some extra blanks when printing flags.
guy [Sun, 14 Jan 2007 22:40:57 +0000 (22:40 +0000)] 
From Kevin Steves: get rid of some extra blanks when printing flags.

15 years agoFrom Kevin Steves:
guy [Sun, 14 Jan 2007 21:29:53 +0000 (21:29 +0000)] 
From Kevin Steves:

0) use TTEST/TCHECK macros vs. snapend comparisons
1) when -vvv display PAD and END options
   (multiple PAD options are summarized)
2) change a trunc string from bootp to rfc1048 because I think that is
   what is intended (matches trunc label)

15 years agoFrom Kevin Steves: fix the printing of options in a parameter request
guy [Sun, 14 Jan 2007 21:23:31 +0000 (21:23 +0000)] 
From Kevin Steves: fix the printing of options in a parameter request
list.

15 years agobugfix: use the correct codepoint for the OSPF simple text auth token entry.
hannes [Wed, 13 Dec 2006 08:24:27 +0000 (08:24 +0000)] 
bugfix: use the correct codepoint for the OSPF simple text auth token entry.
use safeputs to print the password.

15 years agoapply some heuristics to detect MPLS ICMP extension headers because
hannes [Tue, 12 Dec 2006 14:33:20 +0000 (14:33 +0000)] 
apply some heuristics to detect MPLS ICMP extension headers because
not all implementations correctly set the length field in the
ICMP header as per draft-bonica-internet-icmp-08.

if the length field is not set then simply check the checksum.

15 years agorework on the ICMP MPLS extension code:
hannes [Tue, 12 Dec 2006 10:51:35 +0000 (10:51 +0000)] 
rework on the ICMP MPLS extension code:
- preserve the snapend pointer as it may get overwritten by calling the IP printer
- protect against infinite loops inside the MPLS extension printer.
- detect present of an MPLS extension header by introducing a length field to the ICMP header
  as per draft-bonica-internet-icmp-08.

15 years agoMark Krochmal says that the class field should be treated in mDNS as a
guy [Sun, 12 Nov 2006 23:12:22 +0000 (23:12 +0000)] 
Mark Krochmal says that the class field should be treated in mDNS as a
flag and a 15-bit field even for OPT RRs.

15 years agoFor OPT resource records, the class field is used as a length, so, if one
guy [Sun, 12 Nov 2006 22:23:17 +0000 (22:23 +0000)] 
For OPT resource records, the class field is used as a length, so, if one
happens to be in an mDNS packet, we don't split it into a class and a
"cache flush" flag.

15 years agoThe topmost bit in the class field isn't a "cache flush" flag in mDNS
guy [Fri, 10 Nov 2006 03:15:35 +0000 (03:15 +0000)] 
The topmost bit in the class field isn't a "cache flush" flag in mDNS
queries.  Display that bit correctly (as per Marc Krochmal's request).

In mDNS, the topmost bit of the class field should be handled the same
way regardless of the value of the lower 15 bits, and *vice versa* -
they're independent fields.

15 years agoFrom Jun Kuriyama:
guy [Wed, 25 Oct 2006 22:13:30 +0000 (22:13 +0000)] 
From Jun Kuriyama:

I noticed tcpdump (on FreeBSD 6.1) cannot show pflog
reason value 8 (should be "ip-option").

I made a patch for print-pflog.c to add more values
which obtained from /usr/include/net/pfvar.h on FreeBSD
6.1.

15 years agoFrom Shinsuke Suzuki:
guy [Wed, 25 Oct 2006 22:04:36 +0000 (22:04 +0000)] 
From Shinsuke Suzuki:

Some of the options in print-dhcp6.c are declared as
"unassigned ones". but it is no longer true due to an
IETF standardization activities.

Here's the patch to catch up with the latest IANA
assignment, including an removal of the old Prefix-
Delegation option used in the NTT-communications.
(AFAIK they no longer uses this old option).

15 years agobugfix from Aaron Campbel <aaron@arbor.net>:
hannes [Fri, 6 Oct 2006 06:26:40 +0000 (06:26 +0000)] 
bugfix from Aaron Campbel <aaron@arbor.net>:
The expression (BGP_OSPF_RTYPE_EXT ||BGP_OSPF_RTYPE_NSSA) will always evaluate to 1.

15 years agoupdated version tcpdump-3.9.6
mcr [Tue, 19 Sep 2006 19:27:49 +0000 (19:27 +0000)] 
updated version

15 years agoPrep for 3.9.5 release
ken [Tue, 19 Sep 2006 18:24:44 +0000 (18:24 +0000)] 
Prep for 3.9.5 release

15 years agoremove redundant TRUE|FALSE defs and move them to tcpdump-stdinc.h
hannes [Fri, 23 Jun 2006 02:07:27 +0000 (02:07 +0000)] 
remove redundant TRUE|FALSE defs and move them to tcpdump-stdinc.h

15 years agodo not bail if we hit a zero-length TLV, continue to read the next TLV header instead.
hannes [Fri, 16 Jun 2006 18:22:56 +0000 (18:22 +0000)] 
do not bail if we hit a zero-length TLV, continue to read the next TLV header instead.

15 years agoPick up check for bad FCS from NetBSD version.
guy [Tue, 13 Jun 2006 22:25:43 +0000 (22:25 +0000)] 
Pick up check for bad FCS from NetBSD version.

15 years agoUpdate from current NetBSD version of ieee80211_radiotap.h.
guy [Tue, 13 Jun 2006 22:24:45 +0000 (22:24 +0000)] 
Update from current NetBSD version of ieee80211_radiotap.h.

15 years agoFrom Don Ebright: some compilers, such as the AIX compiler, reject a
guy [Fri, 12 May 2006 01:46:17 +0000 (01:46 +0000)] 
From Don Ebright: some compilers, such as the AIX compiler, reject a
comma at the end of the last member of an enum (the C language spec
doesn't say it's valid to have one there).

15 years agoAdd missing variable.
guy [Wed, 10 May 2006 22:42:46 +0000 (22:42 +0000)] 
Add missing variable.

15 years agoFrom Wesley Griffin <wgriffin@users.sourceforge.net>: print out the
guy [Fri, 7 Apr 2006 08:58:43 +0000 (08:58 +0000)] 
From Wesley Griffin <wgriffin@users.sourceforge.net>: print out the
DNSSEC OK bit (RFC3225) which is encoded in the TTL field of the OPT
pseudo RR.

15 years agoFrom Wesley Griffin <wgriffin@users.sourceforge.net>: update the list of
guy [Fri, 7 Apr 2006 08:48:09 +0000 (08:48 +0000)] 
From Wesley Griffin <wgriffin@users.sourceforge.net>: update the list of
DNS RR typecodes.

15 years agoExtract "firstPacket" into a variable with EXTRACT_32BITS(), and use
guy [Fri, 7 Apr 2006 08:40:20 +0000 (08:40 +0000)] 
Extract "firstPacket" into a variable with EXTRACT_32BITS(), and use
that whenever we print its value, so that we always get it in the right
byte order.

15 years agobugfix: wrong offset calculation for restart holdtimer
hannes [Thu, 6 Apr 2006 13:44:19 +0000 (13:44 +0000)] 
bugfix: wrong offset calculation for restart holdtimer

15 years agobugfix: correct display of bandwitdh values
hannes [Tue, 28 Mar 2006 08:05:59 +0000 (08:05 +0000)] 
bugfix: correct display of bandwitdh values

15 years agobugfix lmp header CC down definition, fix idendation
hannes [Tue, 28 Mar 2006 07:34:44 +0000 (07:34 +0000)] 
bugfix lmp header CC down definition, fix idendation

15 years agofrom Gisle Vanem:
hannes [Mon, 27 Feb 2006 07:27:16 +0000 (07:27 +0000)] 
from Gisle Vanem:
  - use local Ethernet defs on WIN32

15 years agoimprove Control Word detection heuristics for OAM cells
hannes [Fri, 24 Feb 2006 12:19:59 +0000 (12:19 +0000)] 
improve Control Word detection heuristics for OAM cells

15 years agohexdump only - if (unrecognized llc proto) && encapsulation == (jumbo || vlan)
hannes [Mon, 20 Feb 2006 18:15:03 +0000 (18:15 +0000)] 
hexdump only - if (unrecognized llc proto) && encapsulation == (jumbo || vlan)

15 years agoFrom Andrea Bittau: fetch the service code in network byte order.
guy [Sun, 19 Feb 2006 05:08:44 +0000 (05:08 +0000)] 
From Andrea Bittau: fetch the service code in network byte order.

15 years agoAdd some bounds checking to the IP options code, and clean up the
guy [Sun, 19 Feb 2006 05:01:07 +0000 (05:01 +0000)] 
Add some bounds checking to the IP options code, and clean up the
options output a bit.

15 years agoclean up the bootp printer:
hannes [Mon, 13 Feb 2006 19:02:05 +0000 (19:02 +0000)] 
clean up the bootp printer:
-print option/tag numbers and len
-change the tokenstring such that the most common options are human-readable
-add support for option 82 (Agent-ID) suboptions
-make more use ok tok2str() rather thane private lookalives

15 years agoadd support for PIMv2 checksum verification, Null Register messages and Register...
hannes [Mon, 13 Feb 2006 01:32:34 +0000 (01:32 +0000)] 
add support for PIMv2 checksum verification, Null Register messages and Register Flag resolution

15 years agouse the offical LMP port number as per rfc4204
hannes [Thu, 9 Feb 2006 23:34:07 +0000 (23:34 +0000)] 
use the offical LMP port number as per rfc4204

15 years agoadd a maxlen boundary check to safeputs, print unprintable chars as hex in safeputchar
hannes [Wed, 8 Feb 2006 01:40:09 +0000 (01:40 +0000)] 
add a maxlen boundary check to safeputs, print unprintable chars as hex in safeputchar

15 years agocourtesy rick cheng (rcheng AT juniper dot net):
hannes [Fri, 3 Feb 2006 08:42:30 +0000 (08:42 +0000)] 
courtesy rick cheng (rcheng AT juniper dot net):
improve code readability:
  - LDP_TLV_ADDRESS_LIST printer
  - BFD_DISCRIMINATOR printer

15 years agoadd support for FRF.16 Multilink Frame-Relay (DLT_MFR)
hannes [Fri, 3 Feb 2006 08:39:32 +0000 (08:39 +0000)] 
add support for FRF.16 Multilink Frame-Relay (DLT_MFR)

15 years agoadd support for BGP signaled VPLS
hannes [Thu, 2 Feb 2006 12:36:46 +0000 (12:36 +0000)] 
add support for BGP signaled VPLS

15 years agoshift the state field in the bfdv1 printer correct
hannes [Thu, 2 Feb 2006 06:36:37 +0000 (06:36 +0000)] 
shift the state field in the bfdv1 printer correct