Commit Graph

51 Commits

Author SHA1 Message Date
hwr 9e33951d8e Verify mini-header checksum.
Rearange printing of S-flag.
1998-09-30 08:57:01 +00:00
hwr fadc6762f7 Add for packtes of IPPROTO_MOBILE (55). This is yet another
tunneling protocol which is described in RFC2004.
XXX There is no verification of the miniheader checksum at the moment.
1998-09-25 19:10:25 +00:00
matt 08e1d890a4 Changes so that BPF readers will get the data in fddi packet aligned along
normal boundaries.  This makes tcpdump much happier.
1998-09-20 02:36:08 +00:00
msaitoh d06e28b7f7 eliminate duplicated protos 1998-08-17 17:51:54 +00:00
mycroft 3d7514132e const poisoning. 1998-07-26 16:01:12 +00:00
explorer d1c69e189b HAVE_HDLC, not just HDLC 1998-07-25 11:39:53 +00:00
explorer 5aab21dfbb changes to print hdlc framing info 1998-07-25 11:30:43 +00:00
cgd da88f08f26 if you're going to length-check a field before using it, length-check
the field you're actually going to use.  (bp_sname was being checked
instead of bp_file.)
1998-07-08 22:14:10 +00:00
matt 40841db9cc NetBSD uses "normal" bit order for FDDI addresses. 1998-05-24 21:41:30 +00:00
christos cced5db98f Determine endian-ness and define WORDS_BIGENDIAN if appropriate. 1998-02-01 13:48:08 +00:00
christos 1773ee5638 Add -DLBL_ALIGN to handle architectures that need memory alignment. 1998-02-01 13:46:53 +00:00
bad 0a833b6587 Remove leftovers from last rcsmerge. 1997-12-15 16:23:46 +00:00
msaitoh 39c2acb633 fix typo 1997-11-15 21:01:36 +00:00
lukem c32b6d75d3 ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1 1997-11-02 14:25:23 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem 47852f1f67 getopt returns -1 not EOF 1997-10-17 13:49:37 +00:00
cjs 5e411157a1 Ugly hack to make this compile without warnings on alpha. 1997-10-13 20:45:40 +00:00
cjs 83c227ec28 If you're going to pass a u_char as an int, cast it first. 1997-10-13 20:44:09 +00:00
cjs 2c695bcd2a Include <string.h> and use proper types for str*() so that this compiles
on the Alpha. Also remove register decl's while I'm here.
1997-10-08 20:25:24 +00:00
christos 0382099526 Revert decrementing the length too early; this was broken before the merge... 1997-10-03 20:38:03 +00:00
christos f9b3c069f3 Import assistance. 1997-10-03 20:04:32 +00:00
christos b03548c3bc Resolved conflicts. 1997-10-03 19:54:07 +00:00
christos f42c6d42a2 Import LBL's tcpdump 3.4a5 1997-10-03 17:24:11 +00:00
christos b94f88cd02 PR/4141: Daniel Hagerty: DTRT with appletalk. 1997-09-26 18:12:35 +00:00
fvdl 87dd567ffa Fix PR 3799, make sure the procedure number is handled as unsigned, to
prevent bad things happening
from Azuma OKAMOTO <lfo@sayori.dais.is.tohoku.ac.jp>
1997-07-18 01:01:33 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
christos e0d22b9baf Add support for printing RIP-V2 packets. 1996-11-04 21:33:02 +00:00
explorer d77cb628d8 fix where tcpdump lives 1996-09-18 02:48:58 +00:00
cgd 78dab63aec update for changes in libpcap function prototypes (u_long -> u_int32_t) 1996-05-26 23:51:40 +00:00
fvdl 9ba6417ed1 Don't try to print an NFS packet over TCP when there's not enough space
for an RPC header (--> garbage && coredumps).
1996-05-26 18:35:14 +00:00
fvdl 6dacd1c9e2 Oops. Forgot to commit the nfsv2.h -> nfs.h change. 1996-05-23 22:49:53 +00:00
fvdl d65ddbd4e0 Grok NFSv3 packets. Needs a bit of work but is ok for now. Enable dumping
of NFS packets over TCP. Upgrade to 3.0.4 while at it. 3.0.4 fixes previous
fix made to util.c too; 'official' fix applied instead (very minor difference).

Fixes to be sent to maintainers RSN.
1996-05-20 00:41:00 +00:00
mycroft d779242948 Use the correct time zone info; not what the kernel says. (Forward to tcpdump
maintainers.)
1996-05-11 13:18:00 +00:00
christos 8fc36200cd Update to RIP version 2 header. 1995-06-20 23:38:49 +00:00
cgd 39e0ed2fd0 cast pointers to longs, not ints. don't return ptr to local var. 1995-04-24 13:27:39 +00:00
mycroft 3badd510a0 Add files I missed in the merge. 1995-03-07 23:18:35 +00:00
mycroft 1939eb406f Clean up merge, port to NetBSD, and add NetBSD RCS tags. 1995-03-06 19:09:42 +00:00
mycroft 6350556d1f Import LBL tcpdump, version 3.0 patch level 1. 1995-03-06 11:55:03 +00:00
cgd 072431f8af headers, for protos. 1994-12-23 17:05:58 +00:00
cgd d065420b32 specify man pages the new way. 1994-12-22 11:43:15 +00:00
mycroft 1b8d06930c Oops. 1994-04-03 05:19:05 +00:00
mycroft 9ebe8aff36 Don't modify the header in place! 1994-04-03 05:17:11 +00:00
cgd e91fd6be31 typofix from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 07:56:26 +00:00
cgd c3d75b8c31 add -DTCPDUMP_ALIGN to CFLAGS if on a sparc 1994-02-22 04:08:21 +00:00
cgd 0c46a65f1b changes for slip.h 1994-02-10 05:41:44 +00:00
deraadt 659612293f get PPP_HDRLEN from the right place 1994-01-25 05:58:21 +00:00
deraadt fa397dcb09 there is no net/slip.h 1993-12-25 02:28:54 +00:00
deraadt 28a0b47800 link -ll 1993-12-05 01:01:38 +00:00