| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
OAM F type printing, unhide OAM elements like (vci,vpi) under eflag
|
|
|
|
| |
and subsequent segfault
|
|
|
|
|
|
| |
variables in the middle of the block., and #if out dccp_hdr_data()
(which is unused, and defined in such a fashion that it doesn't work on
MSVC++, with the structure name and the function name the same).
|
|
|
|
|
|
| |
date: 2005-11-04 00:45:39 +0000; author: hannes; state: Exp; lines: +23 -22
from Ian Mc Donald <imcdnzl AT gmail.com>:
displaying ACKs for close packets
|
| |
|
| |
|
| |
|
|
|
|
| |
for I/S frames
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
"-X", and "-XX" doesn't *replace* the dissected dump, it *augments* it.
|
| |
|
|
|
|
|
| |
while, and it defines IP_MF and IP_DF; we don't need to compensate for
system headers lacking them.
|
|
|
|
|
| |
hardwiring the sizes (which runs the risk that the hardwired size in the
structure definition and code could get out of sync).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
having its callers do so - some of its callers *weren't* doing so,
leaving random junk in that argument in some cases.
When checking for "802.3-encapsulated" IPX, check the raw values of the
SSAP and DSAP for 0xFF, don't check them after the low-order bit has
been masked off.
The "flag" values in the LLC header aren't bits, they're combinations of
bits, including the combination "no bits"; don't use "bittok2str()" on
them. Also, combine the proper bits, namely the C/R bit (which we
weren't combining) and the P/F bit (which we were).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"present but truncated", and "not present", and don't have it return an
indication of whether we ran past the end of a packet - instead, have
the routines that handle particular management frame types use macros
that check what the status of a particular tagged parameter is and:
print it if present and not truncated;
skip it if not present;
return a "packet truncated" indication if present but truncated.
This means we handle tagged parameters that aren't present, and print
parameters that are present and not truncated even if there's a
present-but-truncated field after them.
Add some additional bounds checks.
Make the table of rates bigger - there can be more than 8 rates in a
rates tagged parameter.
|
|
|
|
| |
than leaving random junk in the lower 16 bits.
|
|
|
|
| |
print routines.
|
|
|
|
| |
"sizeof something" as the size argument.
|
|
|
|
| |
making the variable 32 bits or longer might be a good idea.
|
| |
|
|
|
|
| |
for a void hath no size".
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
IEEE802_11_AP_LEN as the length of the previous AP in reassociation
frame.
Before copying variable-length fields from a management frame IE, make
sure the length isn't too large.
|
|
|
|
|
|
|
|
|
|
|
|
| |
length is >= the value. (In theory, if that check isn't done, the
prefix length will overflow, and, as it's unsigned, that'd make it very
large, and rejected by the other sanity check - but it's cleaner to
check explicitly.)
In decode_rt_routing_info(), fix the checks for the prefix length -
according to draft-marques-ppvpn-rt-constrain-01, the default route
target has a 0-length prefix, and all others have a length between 32
and 96.
|
|
|
|
|
|
|
| |
defined, because, in that case, "struct in6_addr" probably isn't
defined, either.
Check for too-large bit lengths in TLVs.
|
|
|
|
|
|
| |
regions are =, < 0 if the first memory region is < the second, or > 0 if
the first memory region is > the second, so to check whether two memory
regions are equal, check whether memcmp()'s return value is == 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.3.2.1
date: 2005/10/02 22:29:54; author: mcr; state: Exp; lines: +0 -0
pullup of working test results
for print-X.out and
revision 1.3.2.1
date: 2005/10/02 22:29:55; author: mcr; state: Exp; lines: +0 -0
pullup of working test results
for print-XX.out to print-capX.out and print-capXX.out, and re-remove
print-X.out and print-XX.out, so that they don't collide with
"print-x.out" and "print-xx.out" on systems with case-insensitive file
systems (not only are modern Windows file systems case-insensitive but
case-preserving, so, by default, is HFS+ on OS X, so you can even have
case-insensitivity on UN*X systems).
|
| |
|
| |
|
|
|
|
| |
single tokentable in the LLC printer
|
|
|
|
|
|
|
|
| |
-remove tok2str() and bittok2str() lookalikes
-print length field
-print more self-describing tokensstring
e.g. "Receiver not ready" instead of "rnr"
-add codepoint for SNA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
just add some additional TCHECK/TCHECK2 bounds checks to the code that
dissects attributes and let that handle the snapshot length checks.
Do the length check once per attribute, rather than doing a single check
up front.
Use TCHECK/TCHECK2 and TTEST/TTEST2, so that we print "too short"
indications. Make the "too short" indications all look the same.
Rename "radius_attr_print()" to "radius_attrs_print()" to make it
clearer that it has a loop to print all attributes, rather than just
printing one attribute.
Add in a bunch of additional bounary/length checks, and do the
As per Steiner Haug, the length of a vendor-specific attribute includes
the type and length bytes, so subtract two from the length to get the
length of the attribute's data.
|
| |
|
|
|
|
|
| |
set explicitly by setting Xprefix as an environment variable, for use
when cross-compiling.
|
| |
|
| |
|