]> The Tcpdump Group git mirrors - tcpdump/log
tcpdump
20 years agoadd tracefiles for infinite loop testing tcpdump-3.8
hannes [Wed, 27 Apr 2005 18:44:32 +0000 (18:44 +0000)] 
add tracefiles for infinite loop testing

20 years agoinfinite loop protection for ldp and bgp
hannes [Wed, 27 Apr 2005 18:42:28 +0000 (18:42 +0000)] 
infinite loop protection for ldp and bgp

20 years agobugfix: prevent infinite loop in ERO processing, print ERO subtype length
hannes [Tue, 26 Apr 2005 14:00:03 +0000 (14:00 +0000)] 
bugfix: prevent infinite loop in ERO processing, print ERO subtype length

20 years agocheck against min. TLV length / get if logic right
hannes [Mon, 25 Apr 2005 10:44:24 +0000 (10:44 +0000)] 
check against min. TLV length / get if logic right

20 years agobugfix: do not attempt to decode zero-length TLVs, only attempt to decode IS-REACH...
hannes [Mon, 25 Apr 2005 09:16:35 +0000 (09:16 +0000)] 
bugfix: do not attempt to decode zero-length TLVs, only attempt to decode IS-REACH (varlength) TLVs if the TLV length indicates that there is at least a single byte on the wire

20 years agofix compiler padding issue: struct cisco_slarp should be 18 bytes instead of 20
hannes [Fri, 8 Apr 2005 06:15:03 +0000 (06:15 +0000)] 
fix compiler padding issue: struct cisco_slarp should be 18 bytes instead of 20

20 years agobugfix: the timer values in the restart object
hannes [Thu, 13 Jan 2005 07:28:23 +0000 (07:28 +0000)] 
bugfix: the timer values in the restart object
    are 32-bit and not 16-bit wide

20 years agoadd Nicolas Ferrero <[email protected]>
hannes [Wed, 12 Jan 2005 11:31:53 +0000 (11:31 +0000)] 
add Nicolas Ferrero <[email protected]>

20 years agofrom nicolas ferrero <[email protected]>:
hannes [Wed, 12 Jan 2005 11:27:06 +0000 (11:27 +0000)] 
from nicolas ferrero <[email protected]>:
- fix EGP boundary testing

20 years agobugfix: print 7 (node-id) bytes rather than 6 (system-id) for CSNPs in non verbose...
hannes [Thu, 9 Sep 2004 07:17:42 +0000 (07:17 +0000)] 
bugfix: print 7 (node-id) bytes rather than 6 (system-id) for CSNPs in non verbose mode

20 years agoFrom Sebastien Vincent <[email protected]>: fix the handling of "-x" and
guy [Sat, 4 Sep 2004 00:04:49 +0000 (00:04 +0000)] 
From Sebastien Vincent <[email protected]>: fix the handling of "-x" and
"-X" so that "-x" prints only hex, not hex and ASCII.

20 years agoFrom Andrew Church <[email protected]>: when testing for
guy [Fri, 27 Aug 2004 07:19:55 +0000 (07:19 +0000)] 
From Andrew Church <[email protected]>: when testing for
"pcap_version", "pcap_debug", and "yydebug", don't add our own functions
referring to those variables - GCC 3.4.1 optimizes the test code out
before the link is done, as it's in a function that's not called.

20 years agoUse %u to print unsigned quantities.
guy [Fri, 27 Aug 2004 03:56:21 +0000 (03:56 +0000)] 
Use %u to print unsigned quantities.

Check, and use, the supplied packet length in the PPPoE dissector.  (It
reflects the actual packet length; snapend reflects the captured packet
length.)

As we're now doing bounds checks with TCHECK, the loop over the tagged
fields doesn't have to check against snapend.

20 years agoAdd some bounds checks.
guy [Fri, 27 Aug 2004 03:29:41 +0000 (03:29 +0000)] 
Add some bounds checks.

20 years agoPropagate from the main branch
guy [Wed, 28 Jul 2004 20:11:31 +0000 (20:11 +0000)] 
Propagate from the main branch

revision 1.117
date: 2004/07/15 00:13:01;  author: guy;  state: Exp;  lines: +3 -3
"sizeof()" could be "unsigned long" or "unsigned int"; cast it to
"unsigned long" and print it with "%lu", so it works in either case,
regardless of whether "long" is the same size as "int" or not.

20 years agoFrom Shinsuke Suzuki: fix a boundary check, and add some additional
guy [Wed, 28 Jul 2004 20:09:17 +0000 (20:09 +0000)] 
From Shinsuke Suzuki: fix a boundary check, and add some additional
boundary checks.

20 years agofrom Darren Reed <[email protected]>:
hannes [Tue, 13 Jul 2004 16:00:25 +0000 (16:00 +0000)] 
from Darren Reed <[email protected]>:
  catch the self-set null pointer if handle_ctrl_proto()
  stumbles across an unknown control-proto for which we
  have no specific options decoder;

20 years agoCheck for a TCP header length that's too short, report more information
guy [Thu, 8 Jul 2004 10:29:40 +0000 (10:29 +0000)] 
Check for a TCP header length that's too short, report more information
if it's too long, and check for NFS only if the header length is OK.

20 years agoFrom Eddie Kohler <[email protected]>: In "ip_finddst()":
guy [Fri, 25 Jun 2004 01:21:06 +0000 (01:21 +0000)] 
From Eddie Kohler <[email protected]>: In "ip_finddst()":

quit as soon as we see IPOPT_EOL;

*don't* quit as soon as we see IPOPT_NOP, just advance to the
next option, if any;

implement "quit" as "return the destination address from the IP
header rather than as "return 0".

Also, return the IP header destination address if we see a
source-routing option with a too-short length.

20 years agoPropagate from the main branch:
guy [Wed, 16 Jun 2004 00:16:48 +0000 (00:16 +0000)] 
Propagate from the main branch:

revision 1.33
date: 2004/06/16 00:12:35;  author: guy;  state: Exp;  lines: +29 -4
From Shinsuke Suzuki <[email protected]>: a patch to support some DHCPv6
options.  It includes the following two features:

- decode the names of all the DHCPv6 Options defined in
  RFC3315
- support DHCPv6-Lifetime option, as defined in
  draft-ietf-dhc-lifetime-00.txt

Note that the latter doesn't have an official DHCPv6 type number, so
it's subject to change.
----------------------------
revision 1.32
date: 2004/01/21 03:53:08;  author: itojun;  state: Exp;  lines: +8 -11
use official assigned numbers for DHCPv6 prefix delegation options.
suz@kame

20 years agoFrom Shinsuke Suzuki <[email protected]>: a patch to sync ICMPv6-Type number
guy [Wed, 16 Jun 2004 00:07:31 +0000 (00:07 +0000)] 
From Shinsuke Suzuki <[email protected]>: a patch to sync ICMPv6-Type number
with the current IANA assignment (Apr 13 2004).  It consists of the
following four parts:

- added inverse-neighbor-discovery (RFC3122)
- shift MTRACE-related type numbers, since it collides
  with inverse-neighbor-discovery.
- added MLDv2 (draft-vida-mld-v2-08.txt)
- shifted Mobile-IPv6 numbers from interim value to the
  official one. (draft-ietf-mobile-ipv6-24.txt)

20 years agoFrom Raphael Raimbault <[email protected]>: "-tttt" requires
guy [Tue, 15 Jun 2004 00:01:51 +0000 (00:01 +0000)] 
From Raphael Raimbault <[email protected]>: "-tttt" requires
the time zone offset, so get it with "gmt2local()" if "tflag" is -3.

20 years agoFix a typo.
guy [Sat, 12 Jun 2004 08:53:10 +0000 (08:53 +0000)] 
Fix a typo.

21 years agoFrom Gisle Vanem: give "tok2str()" 4 static buffers it can fill in, so
guy [Wed, 28 Apr 2004 22:09:23 +0000 (22:09 +0000)] 
From Gisle Vanem: give "tok2str()" 4 static buffers it can fill in, so
that it can be called up to 4 times in a given "printf()".

21 years agoPropagate to the x.8 branch
guy [Thu, 22 Apr 2004 19:07:10 +0000 (19:07 +0000)] 
Propagate to the x.8 branch

revision 1.175
date: 2004/01/31 05:26:51;  author: guy;  state: Exp;  lines: +6 -6
AC_LIBOBJ takes the name of an object file without the extension (as the
extension is platform-dependent).

21 years agoFrom Francis Dupont: ESP decryption should not be performed on the
guy [Sat, 10 Apr 2004 08:43:20 +0000 (08:43 +0000)] 
From Francis Dupont: ESP decryption should not be performed on the
authentication trailer.

21 years agoAdded the definition of HAVE_PCAP_LIB_VERSION and HAVE_REMOTE.
risso [Tue, 6 Apr 2004 13:05:35 +0000 (13:05 +0000)] 
Added the definition of HAVE_PCAP_LIB_VERSION and HAVE_REMOTE.

21 years agoFixed a bug that caused "windump" with no parameters not to display the
risso [Tue, 6 Apr 2004 13:04:54 +0000 (13:04 +0000)] 
Fixed a bug that caused "windump" with no parameters not to display the
adapter name correctly on win32.
Modified some code so that windump retrieves the winpcap lib version
with "pcap_lib_version()" on win32.
Upgraded the Wpcap_version string to 3.1.

21 years ago"print-symantec.c" isn't in tcpdump 3.8[.x].
guy [Sat, 3 Apr 2004 21:41:01 +0000 (21:41 +0000)] 
"print-symantec.c" isn't in tcpdump 3.8[.x].

21 years agoSort "print-ap1394.c" into ASCII order.
guy [Sat, 3 Apr 2004 20:13:19 +0000 (20:13 +0000)] 
Sort "print-ap1394.c" into ASCII order.

21 years agoMake the "addr_len" variable a "u_int", as we pass a pointer to it to a
guy [Fri, 2 Apr 2004 06:53:51 +0000 (06:53 +0000)] 
Make the "addr_len" variable a "u_int", as we pass a pointer to it to a
routine that expects a "u_int *", and we never use it in a way that
requires it to be signed.

21 years agoSave the host-byte-order values for the rule number and sub rule number
guy [Fri, 2 Apr 2004 06:49:25 +0000 (06:49 +0000)] 
Save the host-byte-order values for the rule number and sub rule number
in variables; this means we put them in host byte order only once, and
also gets rid of some "int format, long int argument" warnings.

21 years agoNot all systems have "sa_family_t"; use "u_int8_t" instead.
guy [Fri, 2 Apr 2004 06:44:38 +0000 (06:44 +0000)] 
Not all systems have "sa_family_t"; use "u_int8_t" instead.

21 years ago 3.8.3 - identical to 3.8.2. tcpdump-3.8.3
mcr [Tue, 30 Mar 2004 14:36:24 +0000 (14:36 +0000)] 
3.8.3 - identical to 3.8.2.

21 years agoGet rid of some unused variables.
guy [Mon, 29 Mar 2004 21:56:26 +0000 (21:56 +0000)] 
Get rid of some unused variables.

21 years ago updated cvsignore
mcr [Mon, 29 Mar 2004 17:47:20 +0000 (17:47 +0000)] 
updated cvsignore

21 years ago vesion 3.8.2 changes tcpdump-3.8.2
mcr [Mon, 29 Mar 2004 17:31:26 +0000 (17:31 +0000)] 
vesion 3.8.2 changes

21 years agoUpdate pf handling for new DLT_PFLOG (117) as other systems are
fenner [Sun, 28 Mar 2004 21:25:02 +0000 (21:25 +0000)] 
Update pf handling for new DLT_PFLOG (117) as other systems are
 starting to adopt it.
Don't bother being backwards compatible to old value (17).

21 years agoRegenerate.
fenner [Sun, 28 Mar 2004 21:06:09 +0000 (21:06 +0000)] 
Regenerate.

21 years agoUpdate for autoconf 2.5x
fenner [Sun, 28 Mar 2004 21:04:48 +0000 (21:04 +0000)] 
Update for autoconf 2.5x

21 years agoIf libpcap has pcap_findalldevs, make sure that pcap.h has pcap_if_t.
fenner [Sun, 28 Mar 2004 21:01:41 +0000 (21:01 +0000)] 
If libpcap has pcap_findalldevs, make sure that pcap.h has pcap_if_t.
 Certain paths of upgrades for MacOS X can result in inconsistent library
 and header.
Use correct prerequisites when checking for <netinet/if_ether.h>
Require autoconf 2.50 for AC_CHECK_TYPES.

21 years agoRewrite bitstring truncation check; it would incorrectly trigger
fenner [Sun, 28 Mar 2004 20:54:00 +0000 (20:54 +0000)] 
Rewrite bitstring truncation check; it would incorrectly trigger
 on a query like
 IP 127.0.0.1.49859 > 127.0.0.1.53:  13041+ PTR? \[xdead000000000000000000000000beef/128].ip6.arpa. (44)

21 years agoDo the length checks only for IP options with a length field.
guy [Wed, 24 Mar 2004 09:01:39 +0000 (09:01 +0000)] 
Do the length checks only for IP options with a length field.

21 years agoAdd another check, and fix a check.
guy [Wed, 24 Mar 2004 06:00:51 +0000 (06:00 +0000)] 
Add another check, and fix a check.

21 years ago"getname()" is not always passed a pointer to packet data, so it cannot
guy [Wed, 24 Mar 2004 04:14:31 +0000 (04:14 +0000)] 
"getname()" is not always passed a pointer to packet data, so it cannot
take responsibility for checking whether that data is present in the
packet; the callers must do so.  Having checked in a number of changes
to make the callers do so (which fixes some other potential problems as
well!), we remove the change to do the check in "getname()".

21 years agoImprove the bounds checking.
guy [Wed, 24 Mar 2004 04:06:52 +0000 (04:06 +0000)] 
Improve the bounds checking.

21 years agoAdd bounds checking and length checking.
guy [Wed, 24 Mar 2004 04:01:08 +0000 (04:01 +0000)] 
Add bounds checking and length checking.

Make "rsvp_intserv_print()" static - it's not used outside print-rsvp.c.

21 years agoAdd bounds checks.
guy [Wed, 24 Mar 2004 03:32:43 +0000 (03:32 +0000)] 
Add bounds checks.

21 years agoImprove bounds checking.
guy [Wed, 24 Mar 2004 03:04:22 +0000 (03:04 +0000)] 
Improve bounds checking.

21 years agoAdd bounds checks.
guy [Wed, 24 Mar 2004 02:52:37 +0000 (02:52 +0000)] 
Add bounds checks.

21 years ago"if (!TTEST2(x, y)) goto trunc" is just "TCHECK2(x, y)".
guy [Wed, 24 Mar 2004 02:44:30 +0000 (02:44 +0000)] 
"if (!TTEST2(x, y)) goto trunc" is just "TCHECK2(x, y)".

Add a length check.

21 years agoAdd length checks.
guy [Wed, 24 Mar 2004 01:54:58 +0000 (01:54 +0000)] 
Add length checks.

21 years agoAdd length checks.
guy [Wed, 24 Mar 2004 01:45:26 +0000 (01:45 +0000)] 
Add length checks.

21 years agoAdd payload length checking.
guy [Wed, 24 Mar 2004 01:32:42 +0000 (01:32 +0000)] 
Add payload length checking.

21 years agoAdd bounds and option length checking.
guy [Wed, 24 Mar 2004 01:27:29 +0000 (01:27 +0000)] 
Add bounds and option length checking.

Use "%u", not "%d", for unsigned values.

21 years agoAdd bounds checking.
guy [Wed, 24 Mar 2004 00:56:34 +0000 (00:56 +0000)] 
Add bounds checking.

21 years agoAdd bounds checking.
guy [Wed, 24 Mar 2004 00:41:33 +0000 (00:41 +0000)] 
Add bounds checking.

21 years agoAdd bounds checking.
guy [Wed, 24 Mar 2004 00:30:41 +0000 (00:30 +0000)] 
Add bounds checking.

21 years agoAdd bounds checking.
guy [Wed, 24 Mar 2004 00:14:09 +0000 (00:14 +0000)] 
Add bounds checking.

21 years agoAdd bounds checking.
guy [Wed, 24 Mar 2004 00:04:04 +0000 (00:04 +0000)] 
Add bounds checking.

21 years agoEnterprise-specific traps have a generic trap number of 6, not 7; thanks
guy [Tue, 23 Mar 2004 06:59:59 +0000 (06:59 +0000)] 
Enterprise-specific traps have a generic trap number of 6, not 7; thanks
to [email protected] to finding this.

21 years agoPropagate from the main branch
guy [Sat, 20 Mar 2004 19:31:08 +0000 (19:31 +0000)] 
Propagate from the main branch

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.

21 years agoPropagate
guy [Sat, 20 Mar 2004 19:26:57 +0000 (19:26 +0000)] 
Propagate

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.

21 years agoAdd support for the "-e" flag, printing the destination and source
guy [Wed, 17 Mar 2004 22:15:53 +0000 (22:15 +0000)] 
Add support for the "-e" flag, printing the destination and source
addresses.

21 years agoAdd support for Apple's IP-over-IEEE 1394 encapsulation.
guy [Wed, 17 Mar 2004 19:47:47 +0000 (19:47 +0000)] 
Add support for Apple's IP-over-IEEE 1394 encapsulation.

21 years agoFrom Bill Fenner: add checks to make sure we don't run past the end of
guy [Fri, 12 Mar 2004 02:18:30 +0000 (02:18 +0000)] 
From Bill Fenner: add checks to make sure we don't run past the end of
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.

21 years agoPass the length from the payload header to the print routines for
guy [Fri, 12 Mar 2004 01:27:27 +0000 (01:27 +0000)] 
Pass the length from the payload header to the print routines for
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.

21 years agoPut a null statement after a label that had no statement after it, to
guy [Fri, 12 Mar 2004 01:14:17 +0000 (01:14 +0000)] 
Put a null statement after a label that had no statement after it, to
squelch a compiler warning.

21 years agoPrint unsigned values with %u, not %d.
guy [Fri, 12 Mar 2004 01:12:57 +0000 (01:12 +0000)] 
Print unsigned values with %u, not %d.

21 years agoFrom: alex medvedev <[email protected]>
hannes [Tue, 2 Mar 2004 07:45:13 +0000 (07:45 +0000)] 
From: alex medvedev <[email protected]>
catch a segfault:
  option 81 min size should be 4 bytes:
    http://sunsite.uakom.sk/doc/rfc/bootp-dhcp-option-81

21 years agosecurity patch from jonathan heusser:
hannes [Wed, 18 Feb 2004 15:13:04 +0000 (15:13 +0000)] 
security patch from jonathan heusser:

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().

21 years agosync the radius printer to HEAD to fix the recent overflow issues
hannes [Fri, 6 Feb 2004 14:38:50 +0000 (14:38 +0000)] 
sync the radius printer to HEAD to fix the recent overflow issues

21 years agoPropagate from the main branch
guy [Tue, 27 Jan 2004 23:39:38 +0000 (23:39 +0000)] 
Propagate from the main branch

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

21 years agoPropagate from the main branch
guy [Tue, 27 Jan 2004 23:14:25 +0000 (23:14 +0000)] 
Propagate from the main branch

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

21 years agoPropagate Hannes' change from the main branch:
guy [Tue, 27 Jan 2004 20:09:17 +0000 (20:09 +0000)] 
Propagate Hannes' change from the main branch:
remove broken rcsid at EOF

21 years agoUpdate the date.
guy [Mon, 26 Jan 2004 02:13:52 +0000 (02:13 +0000)] 
Update the date.

21 years agoCheck whether we have too many output files *before* allocating the
guy [Mon, 26 Jan 2004 01:59:45 +0000 (01:59 +0000)] 
Check whether we have too many output files *before* allocating the
buffer for the new output file name.

21 years agoAdapted from a more extensive change from Chris Cogdon
guy [Mon, 26 Jan 2004 01:42:17 +0000 (01:42 +0000)] 
Adapted from a more extensive change from Chris Cogdon
<[email protected]>: 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.

21 years ago- bugfix: rework the AS_PATH decoder per draft-ietf-idr-rfc3065bis:
hannes [Fri, 16 Jan 2004 10:07:20 +0000 (10:07 +0000)] 
- bugfix: rework the AS_PATH decoder per draft-ietf-idr-rfc3065bis:
    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

21 years agoFrom Gisle Vanem: fix the "-m" case in the argument processing not to
guy [Wed, 14 Jan 2004 03:25:28 +0000 (03:25 +0000)] 
From Gisle Vanem: fix the "-m" case in the argument processing not to
fall through to the "-O" case.

21 years agoNote that Mac OS X, as one of the BSDs, has SIGINFO; note that
guy [Wed, 7 Jan 2004 22:51:34 +0000 (22:51 +0000)] 
Note that Mac OS X, as one of the BSDs, has SIGINFO; note that
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).

21 years agobugfix from Jonathan Heusser <[email protected]>
hannes [Wed, 7 Jan 2004 07:53:17 +0000 (07:53 +0000)] 
bugfix from Jonathan Heusser <[email protected]>

  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.

21 years ago- pass on ident string to hex_print()
hannes [Mon, 29 Dec 2003 22:42:20 +0000 (22:42 +0000)] 
- pass on ident string to hex_print()
- 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

21 years agoadd tokentable llc_values[], remove SNAP printing beyond vflag
hannes [Mon, 29 Dec 2003 22:33:18 +0000 (22:33 +0000)] 
add tokentable llc_values[], remove SNAP printing beyond vflag

21 years agoCheck to make sure the length of an AVP is large enough to include the tcpdump-3.8.1
guy [Fri, 26 Dec 2003 23:21:42 +0000 (23:21 +0000)] 
Check to make sure the length of an AVP is large enough to include the
AVP header and doesn't go past the remaining length of the packet.

21 years agoAs per George Bakos' suggestion, only print the ":" separator between
guy [Sat, 20 Dec 2003 10:02:46 +0000 (10:02 +0000)] 
As per George Bakos' suggestion, only print the ":" separator between
the flags and the payload if we're printing the payload.

21 years agoFrom George Bakos: only print multi-line output with "-v".
guy [Sat, 20 Dec 2003 09:58:58 +0000 (09:58 +0000)] 
From George Bakos: only print multi-line output with "-v".

21 years agoFrom George Bakos: send the "reading from" messages to stderr, not
guy [Thu, 18 Dec 2003 01:22:57 +0000 (01:22 +0000)] 
From George Bakos: send the "reading from" messages to stderr, not
stdout, so only output for packets goes to stdout.

21 years agoFrom George Bakos: catch bogus payload lengths even if we have a routine
guy [Mon, 15 Dec 2003 10:40:57 +0000 (10:40 +0000)] 
From George Bakos: catch bogus payload lengths even if we have a routine
to process the payload type.

21 years agoGet rid of a set-but-not-used variable.
guy [Mon, 15 Dec 2003 04:18:09 +0000 (04:18 +0000)] 
Get rid of a set-but-not-used variable.

21 years agoGet rid of an unused variable.
guy [Mon, 15 Dec 2003 04:02:53 +0000 (04:02 +0000)] 
Get rid of an unused variable.

21 years ago_U_ is defined by the Makefile; we shouldn't redefine it ourselves.
guy [Mon, 15 Dec 2003 03:53:42 +0000 (03:53 +0000)] 
_U_ is defined by the Makefile; we shouldn't redefine it ourselves.

21 years agoWhen checking to make sure the LSP ID is all present, check the last
guy [Mon, 15 Dec 2003 03:49:52 +0000 (03:49 +0000)] 
When checking to make sure the LSP ID is all present, check the last
byte of the LSP ID, not the first byte past the LSP ID.

21 years agoMake the "dlci" variable a u_int, as all the code that refers to it
guy [Mon, 15 Dec 2003 03:37:45 +0000 (03:37 +0000)] 
Make the "dlci" variable a u_int, as all the code that refers to it
thinks it's unsigned.

21 years agoAdd in Readme.Win32.
guy [Mon, 15 Dec 2003 02:44:06 +0000 (02:44 +0000)] 
Add in Readme.Win32.

21 years agoAdd some missing entries, and use tabs on some entries that weren't
guy [Mon, 15 Dec 2003 02:34:18 +0000 (02:34 +0000)] 
Add some missing entries, and use tabs on some entries that weren't
using them.

21 years agoGet rid of the no-longer-used frame control argument to various
guy [Wed, 10 Dec 2003 09:52:33 +0000 (09:52 +0000)] 
Get rid of the no-longer-used frame control argument to various
management frame print routines.

21 years agoInclude "print-enc.c" in the tarball.
guy [Mon, 1 Dec 2003 01:09:32 +0000 (01:09 +0000)] 
Include "print-enc.c" in the tarball.

21 years ago"win32/Src/w32_fzs.c" was removed; remove it from the list of files in
guy [Mon, 1 Dec 2003 01:05:08 +0000 (01:05 +0000)] 
"win32/Src/w32_fzs.c" was removed; remove it from the list of files in
the tarball.

21 years agoDon't stick an extra "RESERVED" in the printout for unknown management
guy [Thu, 27 Nov 2003 02:51:21 +0000 (02:51 +0000)] 
Don't stick an extra "RESERVED" in the printout for unknown management
frame subtypes.