| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Add a length check.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use "%u", not "%d", for unsigned values.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to kin1@sourceforge.net to finding this.
|
|
|
|
|
|
| |
revision 1.10
date: 2004/03/19 21:37:49; author: risso; state: Exp; lines: +2 -0
Added oui.c, print-ap1394.c and print-symantec.c to the Windows project.
|
|
|
|
|
|
|
|
| |
revision 1.12
date: 2004/03/19 21:37:49; author: risso; state: Exp; lines: +12 -0
Added oui.c, print-ap1394.c and print-symantec.c to the Windows project.
to the 3.8 branch.
|
|
|
|
| |
addresses.
|
| |
|
|
|
|
|
|
|
|
| |
the captured data in the packet.
Have "rawprint()" return a success-or-failure indication and have its
callers (if they don't know that it can't fail) print a truncation
indication if it fails.
|
|
|
|
|
|
|
|
|
|
|
| |
various payload types. Use that in those routines rather than getting
the length ourselves (which fixes a case where we were getting it
incorrectly, forgetting to "ntohs()" it).
In "isakmp_id_print()", if the item length is less than the size of the
fixed-length portion of the payload, don't subtract the latter from the
former and use it as the length of the variable-length portion, just set
the length in question to 0.
|
|
|
|
| |
squelch a compiler warning.
|
| |
|
|
|
|
|
|
| |
catch a segfault:
option 81 min size should be 4 bytes:
http://sunsite.uakom.sk/doc/rfc/bootp-dhcp-option-81
|
|
|
|
|
|
|
|
| |
addrtoname.c:getname() does not check its argument. Assuming the
argument is e.g. NULL
and the function is called leads to a segmentation fault in memcpy().
Which is problematic since it is heavily used, either as getname() or
ipaddr_string().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.9
date: 2004/01/27 23:36:59; author: guy; state: Exp; lines: +2 -3
Remove "bpf_dump.o" from the list of things to build - "bpf_dump()" now
comes with libpcap.
Remove "print-netbios.o" from the list of things to build - it's not
used any more.
Add "oui.o" to the list of things to build - it *is* used.
Remove a backslash from the last entry in the list of things to build.
revision 1.8
date: 2004/01/26 14:29:15; author: risso; state: Exp; lines: +3 -1
Added some missing files in order to correctly compile under Cygnus
|
|
|
|
|
|
|
|
|
| |
prevent a call to getnameinfo() under cygnus, which doesn't
provide it
(although I think it's actually MinGW that doesn't provide it - the
check is for __MINGW32__, which I think is defined by MinGW but not
Cygwin).
|
|
|
|
| |
remove broken rcsid at EOF
|
| |
|
|
|
|
| |
buffer for the new output file name.
|
|
|
|
|
|
|
|
|
| |
<chris@cogdon.org>: check whether the file number for "-C" is too large
to fit in the buffer we allocated for the file name.
Close the current capture file before trying to allocate the buffer for
the new file's name, so that if that allocation fails we've at least
written out all of the previous file.
|
|
|
|
|
|
|
|
|
| |
CONFED_AS_SET and CONFED_AS_SEQUENCE codepoints have changed;
- rework the SEQ and SET display output in accordance with contemporary
routing software
( AS ) indicates an CONFED AS SEQUENCE segment
{ AS } indicates an AS SET segment
({ AS }) indicates an CONFED AS SET segment
|
|
|
|
| |
fall through to the "-O" case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Digital/Tru64 UNIX has it as well (although the tty(7) man page doesn't
mention VSTATUS - stty(1) mentions "status", however, and signal(4)
mentions SIGINFO, and some Tru64->HP-UX transition pages mention SIGINFO
as a feature available in Tru64 but not HP-UX).
Note that on some systems (e.g., Mac OS X), you might have to set your
"status" character as it defaults, on those systems, to "not set".
Get rid of the reference to "traffic(1C)" (it's not referred to in the
man page, and about the only connection it has with tcpdump is that they
both watch network traffic; traffic(1C) is a SunOS 4.x-ism, not present
on other platforms), and add a reference to pfconfig(8) for
Digital/Tru64 (it *is* referred to, in the section of what privileges
you need in order to capture traffic).
|
|
|
|
|
|
|
|
|
|
|
| |
The first critical piece of code is found in print-isakmp.c:332. The
function rawprint() does not check its arguments thus it's easy for
an attacker to pass a big 'len' or a bogus 'loc' leading to a
segmentation fault in the for loop.
The second bug is located in print-radius.c:471. The for loop of
print_attr_string() is written in an unsafe manner. 'length'
and 'data' should be checked.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- pass on ident string to ascii_print()
- pave the way for eliminating print_unknown_data()
and subsequent hex_print() replacement
- clean up the default_print() related functions:
- call always into print_ascii() b/c just hexdump data
is uninteresting; hex-offsets plus ascii representation
is what most people are looking for
- remove default_print_unaligned() as it is now obsolete
|
| |
|
|
|
|
| |
AVP header and doesn't go past the remaining length of the packet.
|
|
|
|
| |
the flags and the payload if we're printing the payload.
|
| |
|
|
|
|
| |
stdout, so only output for packets goes to stdout.
|
|
|
|
| |
to process the payload type.
|
| |
|
| |
|
| |
|
|
|
|
| |
byte of the LSP ID, not the first byte past the LSP ID.
|
|
|
|
| |
thinks it's unsigned.
|
| |
|
|
|
|
| |
using them.
|
|
|
|
| |
management frame print routines.
|
| |
|
|
|
|
| |
the tarball.
|
|
|
|
| |
frame subtypes.
|