summaryrefslogtreecommitdiff
path: root/print-esp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* From Kazushi Sugyo <sugyo@pb.jp.nec.com>: patch for newesp and fix forguy2002-07-271-16/+19
| | | | "none" algorithm decode.
* whitespace cleanupitojun2002-06-111-2/+2
|
* From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:guy2002-04-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Here is a patch that addresses a few SSL-related issues noticed: 1. The "/usr" directory is not the best choice to start looking for SSL libraries when cross-compiling. The patch adds "/usr/${host_alias}" at the front. Actually the test is quite bogus anyway -- there might be no libcrypto.a library at all (but e.g. libcrypto.so), so a better approach would be trying to link against -lcrypto and seeing if that works. First with no additional options (it might be in the default compiler/linker's search patch, like on sane systems), then with the -L<dir> option. 2. The "cast.h" and "rc5.h" headers should include the "openssl/" path as that is what is used throughout the code. Right now they are simply not found by configure. 3. The buggy CAST128 test should use a cache variable to permit overriding by an educated user. I think I may actually rewrite the test as described in #1 above one day, but my time is quite limited and tcpdump is not my priority task, so it might not happen soon. I won't mind if someone does it earlier.
* void void * arithitojun2002-02-181-3/+3
|
* Get rid of a warning if libcrypto isn't present.guy2002-01-251-1/+3
|
* need stdlib.h for malloc(3). strict prototypeitojun2002-01-231-2/+3
|
* print-esp understands various algorithms and RFC2406 encoding.tcpdump_3_7rel1tcpdump-3.7.1mcr2002-01-211-58/+157
|
* Don't try decrypting a fragmented ESP packet; the IP proto number andfenner2001-08-201-2/+8
| | | | | | | | padding info are in the last fragment but the header is in the first fragment. Pass padding length back to IP to allow trimming the padding. Update in_cksum() prototype to allow using it for checksums including the pseudo-header.
* correct openssl include pathname management. <openssl/foo.h> should beitojun2001-04-131-5/+5
| | | | used (see openssl docs).
* print SPI in hex.itojun2000-12-121-2/+2
|
* put stripped-down version of ip6.h and icmp6.h into tcpdump tree.itojun2000-10-071-5/+4
| | | | | | | | ip6.h is almost normal RFC2292 header. icmp6.h has couple of extensions (not covered by RFC2292), like MLD, ICMPv6 nodeinfo, and router renumber. XXX how to synchronize with future kame changes?
* move ah/esp struct declratiaon into separate header (ah.h and esp.h).itojun2000-10-061-24/+2
| | | | | | they are from KAME. use ah.h and esp.h where necessary.
* Get rid of some includes of <net/route.h>, and empty declarations ofguy2000-10-061-3/+1
| | | | | | "struct mbuf" and "struct rtentry" - they shouldn't be necessary (and weren't on the platforms on which I tested, both with GCC and the native compiler if it isn't GCC).
* always use u_intXX_t for protocol format declaration. char/short/int may notitojun2000-10-031-2/+2
| | | | | | come with exact size. while at it, correct signedness of ip/udp header field. nuke most of the use of bitfield. TODO: bitfield in namser.h
* typo in comment. from jinmei@kame.netitojun2000-10-031-2/+2
|
* Get rid of includes of <netinet/in_systm.h>, and replace "n_short",guy2000-09-291-2/+1
| | | | "n_long", and "n_time", defined in that file, with other types.
* Get rid of unneeded includes of <net/if.h>.guy2000-09-281-2/+1
|
* Add an "ip.h" header, to declare the IP stuff needed by dissectors, andguy2000-09-231-4/+3
| | | | | | | | | | | have dissectors include them rather than <netinet/ip.h> or <netinet/ip_var.h>, if they actually need that stuff. Put the declarations of the ICMP stuff directly into "print-icmp.c". Remove all unnecessary includes of <netinet/ip*.h> files. Copy the byte-order stuff from "nameser.h" into "tcp.h".
* Add "tcp.h" and "udp.h" headers, to declare the TCP and UDP stuff neededguy2000-09-231-4/+1
| | | | | | | | | by dissectors, and have dissectors include them rather than <netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they actually need that stuff. Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h> files.
* Add definitions of Ethernet types fromguy2000-09-231-2/+1
| | | | | | | | | | | | | | | | "linux-includes/netinet/if_ether.h" to "ethertype.h". Move other stuff used by dissectors from <netinet/if_ether.h> to "ether.h", along the lines of "fddi.h" and "token.h". Move ARP declarations from BSD include files to "print-arp.c". Remove from dissectors includes of <netinet/if_ether.h>, and add includes of "ethertype.h" and/or "ether.h" as necessary. Get rid of configuration options that test declarations now made in "ether.h" or "print-arp.c", as those declarations are now under our control, not the OS's control.
* switch to HAVE_LIBCRYPTOmcr2000-01-151-12/+12
|
* Put back the $'s in the Header RCS strings.fenner1999-12-151-2/+2
| | | | Make rcsid const to quiet warnings.
* Switch to config.h instead of passing defines in DEFS.fenner1999-11-211-0/+4
|
* Bring in KAME IPv6 tcpdump. replaces esp/ah/isakmp decoder.itojun1999-10-301-30/+275
| | | | | | | Hope I did not break anything. Portability on IPv4-only node needs checking, I'll do this very soon. (sorry for rather jumbo commit) XXx what is _FAVOR_BSD?
* compilable AH/ESP patchesmcr1999-10-171-4/+0
|
* ASCII patches for tcpdump.mcr1999-10-171-0/+91
AH/ESP printing.