summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/tcpdump.c
AgeCommit message (Collapse)Author
2009-02-14increase the default snaplen to 116, allows capture of pflog+ipv6+tcpStuart Henderson
without knobs. ok djm, deraadt.
2008-04-18add filtering on direction; ok mpf@ deraadt@ feedback jmc@Damien Miller
2007-10-07trash $Header goo which is just annoying; 5595Theo de Raadt
2007-08-28add -I option for printing the interfaces;Markus Friedl
ok hshoexer, henning, mcbridge (some time ago)
2007-08-13No need to #include <netinet/in.h> twice. Noticed by Diego Casati.Kenneth R Westerback
ok stevesk@
2007-06-01Move a useless warning to the only case that uses it (-f) from canacar@Todd T. Fries
ok beck@
2006-06-16printing these version numbers in usage is ugly and uselessTheo de Raadt
2006-04-22Set signal handlers directly after the fork(2), so that we avoidMoritz Jodeit
situations, where the privileged child dies before the unprivileged parent has set a signal handler for SIGCHLD. ok deraadt@ canacar@
2006-04-22Remove remaining stuff from state QUIT, adjust some commentsMoritz Jodeit
and close a fd leak in read_infile(). ok deraadt@
2006-04-21Add comments to please lint. No code changes. OK deraadtChad Loder
2006-04-17initialize program_name before we privsep, otherwise the child does notTheo de Raadt
know our name
2006-03-13Simplify error() and warning() a bit. From Alexey Dobriyan.Moritz Jodeit
ok jaredy@ otto@
2006-02-15Initialize snaplen also when reading a dump file. Fixes problemsOtto Moerbeek
on 64bit archs when processing files with large snaplens, as seen by Alf Schlichting. ok moritz@ canacar@
2005-11-18use new libpcap-provided datalink_x_to_y functions instead of local copiesDamien Miller
(with different prototypes); ok mpf@
2005-10-07KNFMarco Pfatschbacher
2005-05-28support decapsulation of 802.11 data framesReyk Floeter
ok canacar@
2005-05-22fix signal race in statistics output. ok cloder@ henning@Moritz Jodeit
2005-03-30output final summary to stderr instead of stdout,Moritz Jodeit
so it won't get mixed when tcpdump -w - is used. ok henning@ deraadt@
2005-03-25whitespaceMoritz Jodeit
2005-03-07add a printer for 802.11 and for additional radiotap headers,Reyk Floeter
use -y IEEE802_11 or IEEE802_11_RADIO if supported by the driver. ok canacar@
2005-03-06uppercase takes precedence over lower when sorting options;Jason McIntyre
2005-03-06add support for multiple DLTs using the -L and -y options.Reyk Floeter
ok canacar@
2004-09-16add -T tcp to enforce interpretation as TCPMarkus Friedl
2004-06-20- do not use __attribute__((volatile)) as its a synonym for __dead nowadaysAnil Madhavapeddy
- bad format string "\%s" -> "%s" in print-ike.c fixes parsing using CIL, discussed with millert@ niklas@
2004-05-21add DLT_PPP_ETHER support plus some fixes for pppoe_if_print().Brad Smith
ok canacar@ From: Marc Huber <pppoe at pro-bono-publico dot de>
2004-04-28Make tcpdump print carp as carp. Printing vrrp can be forced with -T vrrp.Ryan Thomas McBride
ok markus@ pb@
2004-01-28privilege separated tcpdump, joint work with otto@Can Erkin Acar
tested by avsm@ vincent@ dhartmei@ markus@ hshoexer@ and others go for it deraadt@
2003-09-25- simplify macrosJason McIntyre
- sort options - typos and formatting improvements - sync usage() and SYNOPSIS
2003-08-21print the operating system of TCP SYN packets with the -o optionMike Frantzen
2003-07-17add support for ESP decryption; ok deraadt@; feedback mickey@;Markus Friedl
many manpage fixes from jmc@
2003-05-14libpcap and tcpdump now understand the new pflog datalink type.Can Erkin Acar
old datalink type is still recognized. ok henning@ dhartmei@ frantzen@
2002-11-30pfsync support; deraadt@ okMichael Shalayeff
2002-11-30stop breaking the damn tree mickeyTheo de Raadt
2002-11-29tcpdump support for pfsync; henning@ okMichael Shalayeff
2002-01-23proper handling for DLT_NULL and DLT_LOOP (header byte swapping); pointed ↵Michael Shalayeff
out and tested by Alexander Yurchenko <grange@rt.mipt.ru>
2001-12-07OK, this is horrible. stdio safety in a signal handler, requires that weTheo de Raadt
make the regular data stream non-buffered. This drastically reduces tcpdump performance. Let us commit this, and see how people react. But realistically, without this, we cannot gaurantee that the tail of a file is correct on signal.
2001-11-07avoid buffer overflows. when will people learn to use snprintf correctlyTheo de Raadt
2001-11-07skip the unsafe bit in the signal handlerTheo de Raadt
2001-11-02avoid stdio in signal handler (not complete yet)Theo de Raadt
2001-06-25interpret DLT_PFLOGNiels Provos
2001-01-19mark remaining signal races which are difficult to fixTheo de Raadt
2000-12-10for correctness, do seteuid, too. okay deraadt@Niels Provos
2000-10-03Compile with -Wall. Add $OpenBSD$. (jakob@ ok)Hakan Olsson
2000-04-30be more careful with strcpy/sprintf. From tcpdump.org. millert@ okEric Jackson
2000-04-26INET6Jakob Schlyter
DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
2000-03-26correct usage() return valueEric Jackson
2000-01-16print pcap_version in usage()Jakob Schlyter
1999-09-16bring more inline with tcpdump 3.4Brad Smith
1999-07-28- Merge some changes from tcpdump 3.4Jakob Schlyter
-a flag; attempt to convert network and broadcast addresses to names Improved signal handling Miscellaneous fixes and typos OSPF MD5 authentication support - -X flag; emacs-hexl print (including ascii) - Add ECN bits to TCP and IP headers - IKE & IPsec (ESP & AH) support OK deraadt@
1999-06-29permit attach to address-less interfacesTheo de Raadt