summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add tracefiles for infinite loop testingtcpdump_3_8tcpdump-3.8hannes2005-04-274-0/+0
|
* infinite loop protection for ldp and bgphannes2005-04-272-2/+7
|
* bugfix: prevent infinite loop in ERO processing, print ERO subtype lengthhannes2005-04-261-3/+10
|
* check against min. TLV length / get if logic righthannes2005-04-251-2/+2
|
* bugfix: do not attempt to decode zero-length TLVs, only attempt to decode ↵hannes2005-04-251-2/+5
| | | | IS-REACH (varlength) TLVs if the TLV length indicates that there is at least a single byte on the wire
* fix compiler padding issue: struct cisco_slarp should be 18 bytes instead of 20hannes2005-04-081-11/+11
|
* bugfix: the timer values in the restart objecthannes2005-01-131-3/+3
| | | | are 32-bit and not 16-bit wide
* add Nicolas Ferrero <toorop@babylo.net>hannes2005-01-121-0/+1
|
* from nicolas ferrero <toorop@babylo.net>:hannes2005-01-123-7/+7
| | | | - fix EGP boundary testing
* bugfix: print 7 (node-id) bytes rather than 6 (system-id) for CSNPs in non ↵hannes2004-09-091-3/+3
| | | | verbose mode
* From Sebastien Vincent <svincent@idems.fr>: fix the handling of "-x" andguy2004-09-042-5/+24
| | | | "-X" so that "-x" prints only hex, not hex and ASCII.
* From Andrew Church <andrew@users.sourceforge.net>: when testing forguy2004-08-273-2073/+4316
| | | | | | "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.
* Use %u to print unsigned quantities.guy2004-08-273-23/+27
| | | | | | | | | 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.
* Add some bounds checks.guy2004-08-271-1/+3
|
* Propagate from the main branchguy2004-07-281-3/+3
| | | | | | | | 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.
* From Shinsuke Suzuki: fix a boundary check, and add some additionalguy2004-07-281-2/+4
| | | | boundary checks.
* from Darren Reed <darrenr@reed.wattle.id.au>:hannes2004-07-131-1/+5
| | | | | | catch the self-set null pointer if handle_ctrl_proto() stumbles across an unknown control-proto for which we have no specific options decoder;
* Check for a TCP header length that's too short, report more informationguy2004-07-081-5/+17
| | | | if it's too long, and check for NFS only if the header length is OK.
* From Eddie Kohler <xexd@sourceforge.net>: In "ip_finddst()":guy2004-06-252-10/+11
| | | | | | | | | | | | | 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.
* Propagate from the main branch:guy2004-06-161-14/+36
| | | | | | | | | | | | | | | | | | | | revision 1.33 date: 2004/06/16 00:12:35; author: guy; state: Exp; lines: +29 -4 From Shinsuke Suzuki <suz@kame.net>: 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
* From Shinsuke Suzuki <suz@kame.net>: a patch to sync ICMPv6-Type numberguy2004-06-163-12/+168
| | | | | | | | | | | | 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)
* From Raphael Raimbault <raphael.raimbault@netasq.com>: "-tttt" requiresguy2004-06-152-2/+3
| | | | the time zone offset, so get it with "gmt2local()" if "tflag" is -3.
* Fix a typo.guy2004-06-121-2/+2
|
* From Gisle Vanem: give "tok2str()" 4 static buffers it can fill in, soguy2004-04-281-4/+8
| | | | that it can be called up to 4 times in a given "printf()".
* Propagate to the x.8 branchguy2004-04-222-4320/+2054
| | | | | | | 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).
* From Francis Dupont: ESP decryption should not be performed on theguy2004-04-102-2/+3
| | | | authentication trailer.
* Added the definition of HAVE_PCAP_LIB_VERSION and HAVE_REMOTE.risso2004-04-062-3/+4
|
* Fixed a bug that caused "windump" with no parameters not to display therisso2004-04-061-8/+9
| | | | | | | 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.
* "print-symantec.c" isn't in tcpdump 3.8[.x].guy2004-04-032-5/+0
|
* Sort "print-ap1394.c" into ASCII order.guy2004-04-031-1/+1
|
* Make the "addr_len" variable a "u_int", as we pass a pointer to it to aguy2004-04-021-2/+2
| | | | | routine that expects a "u_int *", and we never use it in a way that requires it to be signed.
* Save the host-byte-order values for the rule number and sub rule numberguy2004-04-021-5/+8
| | | | | 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.
* Not all systems have "sa_family_t"; use "u_int8_t" instead.guy2004-04-021-2/+2
|
* 3.8.3 - identical to 3.8.2.tcpdump_3_8rel3tcpdump-3.8.3mcr2004-03-302-2/+7
|
* Get rid of some unused variables.guy2004-03-291-5/+1
|
* updated cvsignoremcr2004-03-291-0/+3
|
* vesion 3.8.2 changestcpdump_3_8rel2tcpdump-3.8.2mcr2004-03-292-2/+21
|
* Update pf handling for new DLT_PFLOG (117) as other systems arefenner2004-03-284-59/+176
| | | | | starting to adopt it. Don't bother being backwards compatible to old value (17).
* Regenerate.fenner2004-03-282-3082/+8935
|
* Update for autoconf 2.5xfenner2004-03-282-22/+22
|
* If libpcap has pcap_findalldevs, make sure that pcap.h has pcap_if_t.fenner2004-03-281-4/+12
| | | | | | | 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.
* Rewrite bitstring truncation check; it would incorrectly triggerfenner2004-03-281-12/+12
| | | | | on a query like IP 127.0.0.1.49859 > 127.0.0.1.53: 13041+ PTR? \[xdead000000000000000000000000beef/128].ip6.arpa. (44)
* Do the length checks only for IP options with a length field.guy2004-03-241-6/+6
|
* Add another check, and fix a check.guy2004-03-241-2/+3
|
* "getname()" is not always passed a pointer to packet data, so it cannotguy2004-03-241-5/+16
| | | | | | | 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()".
* Improve the bounds checking.guy2004-03-241-4/+4
|
* Add bounds checking and length checking.guy2004-03-241-31/+128
| | | | Make "rsvp_intserv_print()" static - it's not used outside print-rsvp.c.
* Add bounds checks.guy2004-03-241-14/+111
|
* Improve bounds checking.guy2004-03-241-6/+6
|
* Add bounds checks.guy2004-03-241-1/+2
|