summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/tcpdump.c
AgeCommit message (Expand)Author
2023-03-03Use EXTRACT_16BITS() in default_print() instead of handrolling it.Claudio Jeker
2023-02-28Adjust default_print() to not run over snapend.Claudio Jeker
2022-07-09Explicitly set the default value for Bflag to BPF_FILDROP_PASSAlexander Hall
2022-01-31tcpdump: fix -Wunused-but-set-variable warningChristian Weisgerber
2020-12-04Don't link tcpdump(8) with libl and remove reference to `yydebug'.mvs
2020-08-17add initial support for handling geneve packets.David Gwynne
2020-06-21wire the wireguard packet printer into tcpdump.David Gwynne
2020-01-24- (void)printf() -> printf(); the cast adds clutter for little value.Richard Procter
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-26support -T erspan so arbitrary gre protocols can be seen as erspanDavid Gwynne
2019-03-18support configuring BIOCSFILDROP with tcpdump.David Gwynne
2018-11-08Hoist opening pf.os(5) fingerprints '-o' earlier so that it doesn'tBryan Steele
2018-07-06add support for vxlan packets.David Gwynne
2018-07-06add "tftp" as a type to use with -TDavid Gwynne
2018-07-06Add "mpls" as a type to use with -TDavid Gwynne
2018-07-06Add "gre" as a type to use with -TDavid Gwynne
2018-02-06rework ppp, pptp, and gre parsing.David Gwynne
2018-02-03Simple USBPcap parser for tcpdump(8). Raw dumps can be nicely analysedMartin Pieuchot
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andTheo de Raadt
2017-09-08fork+exec model for tcpdump(8); re-exec the privileged child after forkBryan Steele
2016-11-16Add new DLT_OPENFLOW link-type to allow using tcpdump to debug switch(4),Reyk Floeter
2015-12-22assign pointers to NULL rather than 0mmcc
2015-11-16Remove remaining instances of the register keyword.mmcc
2015-10-28pcap_stat fields are unsigned, print them as suchJeremie Courreges-Anglas
2015-10-14Remove conditional compilation and #defines around signal handlingPhilip Guenther
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03tcpdump is two-process privsep.Theo de Raadt
2015-07-14Move the BIOCGSTATS ioctl operation done by the tcpdump processTheo de Raadt
2015-07-12For ASCII dumps, tighten printable characters. \v and \f aren't.Christian Weisgerber
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-04-15opt{ind,err,arg} are already knownTheo de Raadt
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-06-30remove backwards compat layer for alpha osf1. back then compilers andTheo de Raadt
2012-07-11cleanup offset argument in default_print_* functions, pointed out by Mike SmallStuart Henderson
2012-07-10support -A to print the ascii text of captured packets. ok deraadt@Stuart Henderson
2010-06-26remove support for the old pflog format, replaced in 2003Henning Brauer
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-02-14increase the default snaplen to 116, allows capture of pflog+ipv6+tcpStuart Henderson
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
2007-08-13No need to #include <netinet/in.h> twice. Noticed by Diego Casati.Kenneth R Westerback
2007-06-01Move a useless warning to the only case that uses it (-f) from canacar@Todd T. Fries
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
2006-04-22Remove remaining stuff from state QUIT, adjust some commentsMoritz Jodeit
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
2006-03-13Simplify error() and warning() a bit. From Alexey Dobriyan.Moritz Jodeit