tcpdump-incomplete-works
7 years agogenerate config.h and version.c properly android-tcpdump-3.9.8
Michael Richardson [Mon, 17 Feb 2014 18:56:10 +0000 (13:56 -0500)] 
generate config.h and version.c properly

Change-Id: I6f2447215346f59783ed98035df861a48df52f97

7 years agoMerge branch 'android-tcpdump-3.9.8' into tcpdump.org-update
Michael Richardson [Mon, 17 Feb 2014 18:15:13 +0000 (13:15 -0500)] 
Merge branch 'android-tcpdump-3.9.8' into tcpdump.org-update

Change-Id: Id9652d1fce28e223ed668bf332383c66619de529

7 years agorather than hard code config.h (which is normally generated)
Michael Richardson [Mon, 17 Feb 2014 17:13:17 +0000 (12:13 -0500)] 
rather than hard code config.h (which is normally generated)
save a copy in a subdir, and copy it in when building on Android

7 years agoMerge branch 'android-tcpdump-3.9.8' into tcpdump.org-update
Michael Richardson [Mon, 17 Feb 2014 18:02:48 +0000 (13:02 -0500)] 
Merge branch 'android-tcpdump-3.9.8' into tcpdump.org-update

7 years agoremoved Android import of code
Michael Richardson [Mon, 17 Feb 2014 18:02:31 +0000 (13:02 -0500)] 
removed Android import of code

Change-Id: Ic736b0a9aa7e16dad546338b09eb6a96ffce33f8

7 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:45 +0000 (18:04 -0800)] 
Add an empty CleanSpec.mk

Change-Id: Ic97b0329351918b73833d21c8c6b2cb5f8241fb4

7 years agoThis executable calls function ins libcryto.so without explicitly linking it.
Michael Richardson [Mon, 17 Feb 2014 17:11:59 +0000 (12:11 -0500)] 
This executable calls function ins libcryto.so without explicitly linking it.
Currently this works because the library is linked via dependency of another
shared library.  This is fragile and not the right thing to do.

7 years agoadd tcpdump to eng builds
Michael Richardson [Mon, 17 Feb 2014 17:11:31 +0000 (12:11 -0500)] 
add tcpdump to eng builds

7 years agoMove tcpdump to /system/xbin (instead of /system/bin),
Dan Egnor [Fri, 15 May 2009 19:43:43 +0000 (12:43 -0700)] 
Move tcpdump to /system/xbin (instead of /system/bin),
and configure it to shed privileges by default (if running as root)
after binding the socket needed to sniff with.

7 years agoadapted ANDROID code drop from: 8e2b08363c15b5383c4c72a114ebebca06bd9875 to be more...
Michael Richardson [Mon, 17 Feb 2014 17:09:50 +0000 (12:09 -0500)] 
adapted ANDROID code drop from: 8e2b08363c15b5383c4c72a114ebebca06bd9875 to be more compatible with tcpdump tree.

7 years agorather than hard code config.h (which is normally generated)
Michael Richardson [Mon, 17 Feb 2014 17:13:17 +0000 (12:13 -0500)] 
rather than hard code config.h (which is normally generated)
save a copy in a subdir, and copy it in when building on Android

7 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:45 +0000 (18:04 -0800)] 
Add an empty CleanSpec.mk

Change-Id: Ic97b0329351918b73833d21c8c6b2cb5f8241fb4

7 years agoThis executable calls function ins libcryto.so without explicitly linking it.
Michael Richardson [Mon, 17 Feb 2014 17:11:59 +0000 (12:11 -0500)] 
This executable calls function ins libcryto.so without explicitly linking it.
Currently this works because the library is linked via dependency of another
shared library.  This is fragile and not the right thing to do.

7 years agoadd tcpdump to eng builds
Michael Richardson [Mon, 17 Feb 2014 17:11:31 +0000 (12:11 -0500)] 
add tcpdump to eng builds

7 years agoMove tcpdump to /system/xbin (instead of /system/bin),
Dan Egnor [Fri, 15 May 2009 19:43:43 +0000 (12:43 -0700)] 
Move tcpdump to /system/xbin (instead of /system/bin),
and configure it to shed privileges by default (if running as root)
after binding the socket needed to sniff with.

7 years agoadapted ANDROID code drop from: 8e2b08363c15b5383c4c72a114ebebca06bd9875 to be more...
Michael Richardson [Mon, 17 Feb 2014 17:09:50 +0000 (12:09 -0500)] 
adapted ANDROID code drop from: 8e2b08363c15b5383c4c72a114ebebca06bd9875 to be more compatible with tcpdump tree.

11 years agoAdd an empty CleanSpec.mk android-2.2.1_r1 android-2.2.1_r2 android-2.2.2_r1 android-2.2.3_r1 android-2.2.3_r2 android-2.2.3_r2.1 android-2.2_r1 android-2.2_r1.1 android-2.2_r1.2 android-2.2_r1.3 android-2.3.1_r1 android-2.3.2_r1 android-2.3.3_r1 android-2.3.3_r1.1 android-2.3.4_r0.9 android-2.3.4_r1 android-2.3.5_r1 android-2.3.6_r0.9 android-2.3.6_r1 android-2.3.7_r1 android-2.3_r1 android-4.0.1_r1 android-4.0.1_r1.1 android-4.0.1_r1.2 android-4.0.2_r1 android-4.0.3_r1 android-4.0.3_r1.1 android-4.0.4_r1 android-4.0.4_r1.1 android-4.0.4_r1.2 android-4.0.4_r2 android-4.0.4_r2.1 android-4.1.1_r1 android-4.1.1_r1.1 android-4.1.1_r2 android-4.1.1_r3 android-4.1.1_r4 android-4.1.1_r5 android-4.1.1_r6 android-4.1.1_r6.1 android-4.1.2_r1 android-4.1.2_r2 android-4.1.2_r2.1 android-4.2.1_r1 android-4.2.1_r1.1 android-4.2.1_r1.2 android-4.2.2_r1 android-4.2.2_r1.1 android-4.2.2_r1.2 android-4.2_r1 android-4.3.1_r1 android-4.3_r0.9 android-4.3_r0.9.1 android-4.3_r1 android-4.3_r1.1 android-4.3_r2 android-4.3_r2.1 android-4.3_r2.2 android-4.3_r2.3 android-4.3_r3 android-4.3_r3.1 android-4.4.1_r1 android-4.4.2_r1 android-4.4_r0.7 android-4.4_r0.8 android-4.4_r0.9 android-4.4_r1 android-4.4_r1.1 android-4.4_r1.2 android-cts-2.2_r8 android-cts-2.3_r10 android-cts-2.3_r11 android-cts-2.3_r12 android-cts-4.0.3_r1 android-cts-4.0.3_r2 android-cts-4.0_r1 android-cts-4.1_r1 android-cts-4.1_r2 android-cts-4.2_r1 android-cts-4.2_r2 android-cts-4.4_r1 android-cts-verifier-4.0.3_r1 android-cts-verifier-4.0_r1 android-sdk-4.0.3-tools_r1 android-sdk-4.0.3_r1 android-sdk-4.4.2_r1 android-sdk-adt_r16.0.1 android-sdk-adt_r20 android-sdk-support_r11
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:45 +0000 (18:04 -0800)] 
Add an empty CleanSpec.mk

Change-Id: Ic97b0329351918b73833d21c8c6b2cb5f8241fb4

11 years agoam 520d66ec: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:15:43 +0000 (14:15 -0800)] 
am 520d66ec: reconcile main tree with open-source eclair

Merge commit '520d66ec4145f22ecfd34581ddd52578bd39a964'

* commit '520d66ec4145f22ecfd34581ddd52578bd39a964':
  android-2.1_r1 snapshot

11 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:37 +0000 (08:09 -0800)] 
reconcile main tree with open-source eclair

11 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:08:28 +0000 (14:08 -0800)] 
reconcile android-2.1_r1 snapshot

11 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:18:38 +0000 (15:18 -0800)] 
android-2.1_r1 snapshot

12 years agoThis executable calls function ins libcryto.so without explicitly linking it.
Doug Kwan [Fri, 2 Oct 2009 22:54:56 +0000 (15:54 -0700)] 
This executable calls function ins libcryto.so without explicitly linking it.
Currently this works because the library is linked via dependency of another
shared library.  This is fragile and not the right thing to do.

12 years agoreconcile korg/master into goog/master android-2.0.1_r1 android-2.0_r1 android-2.1_r1 android-2.1_r2 android-2.1_r2.1p android-2.1_r2.1p2 android-2.1_r2.1s
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)] 
reconcile korg/master into goog/master

12 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)] 
Merge korg/donut into korg/master

12 years agoam f35e56db: add tcpdump to eng builds
Dan Egnor [Fri, 5 Jun 2009 07:29:58 +0000 (00:29 -0700)] 
am f35e56db: add tcpdump to eng builds

Merge commit 'f35e56db0874bd24e16425921b6cf620ea75ae40'

* commit 'f35e56db0874bd24e16425921b6cf620ea75ae40':
  add tcpdump to eng builds

12 years agoadd tcpdump to eng builds android-1.6_r1 android-1.6_r1.1 android-1.6_r1.2 android-1.6_r1.3 android-1.6_r1.4 android-1.6_r1.5 android-1.6_r2
Dan Egnor [Wed, 3 Jun 2009 03:51:06 +0000 (20:51 -0700)] 
add tcpdump to eng builds

12 years agoam ae21bd0d: Move tcpdump to /system/xbin (instead of /system/bin), and configure...
Dan Egnor [Tue, 19 May 2009 06:55:58 +0000 (23:55 -0700)] 
am ae21bd0d: Move tcpdump to /system/xbin (instead of /system/bin), and configure it to shed privileges by default (if running as root) after binding the socket needed to sniff with.

Merge commit 'ae21bd0d82ab0b179d661f0c779e633b75bb4474'

* commit 'ae21bd0d82ab0b179d661f0c779e633b75bb4474':
  Move tcpdump to /system/xbin (instead of /system/bin),

12 years agoMove tcpdump to /system/xbin (instead of /system/bin),
Dan Egnor [Fri, 15 May 2009 19:43:43 +0000 (12:43 -0700)] 
Move tcpdump to /system/xbin (instead of /system/bin),
and configure it to shed privileges by default (if running as root)
after binding the socket needed to sniff with.

12 years agoMerge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:25 +0000 (17:12 -0700)] 
Merge donut into master

12 years agoMerge branch 'open_source_no_contributions' into google_internal
The Android Open Source Project [Sun, 29 Mar 2009 15:55:09 +0000 (08:55 -0700)] 
Merge branch 'open_source_no_contributions' into google_internal

12 years agoMerge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru [Wed, 18 Mar 2009 00:37:29 +0000 (17:37 -0700)] 
Merge commit 'remotes/korg/cupcake' into merge

12 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:30:46 +0000 (19:30 -0800)] 
auto import from //depot/cupcake/@135843

12 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:39 +0000 (18:28 -0800)] 
auto import from //depot/cupcake/@135843

12 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:04:59 +0000 (18:04 -0800)] 
Code drop from //branches/cupcake/...@124589

13 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)] 
Initial Contribution

13 years agoBackout CHANGES update - wrong branch
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'
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.
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

14 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.

14 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.

14 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.

14 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)

14 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.

14 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.