| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
i.e. including the header - the IP6 payload length field differs
from that ...
highlight the difference by printing 'payload length' rather than 'length'
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
not valid.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Classless Static Route option) the same way as option 121 (RFC 3442's
Classless Static Route option).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
802.2 header and the body.
|
| |
|
| |
|
|
|
|
| |
end of the captured packet data.
|
|
|
|
| |
badness.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
just not move backward.
|
| |
|
|
|
|
| |
it is (a reply status).
|
|
|
|
| |
open /dev/bpf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
uninitialized reference found by Coverity.
|
|
|
|
| |
format used to parse ACL entries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
----------------------------
|
|
|
|
| |
reply as a possible NFS reply if it got MSG_DENIED.
|
| |
|
|
|
|
| |
olsr.org
|
|
|
|
| |
the port and prio fields of mstp PDUs need to be properly shifted.
|
|
|
|
| |
print 802.1s digest
|
|
|
|
| |
add support for Multiple-STP as per 802.1s
|
| |
|
| |
|
|
|
|
|
|
|
| |
rework of the STP printer
From From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for rapid-SPT as per 802.1w
|
|
|
|
| |
not before every prefix
|
|
|
|
| |
add support for OIF RSVP Extensions UNI 1.0 Rev. 2
|
| |
|
|
|
|
| |
add support for the GMPLS 'label set' RSVP object.
|