summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
AgeCommit message (Collapse)Author
2006-05-27fix potential crash when using -v. ok canacar@Moritz Jodeit
2006-05-27grok modp3072, ok moritz@Hans-Joerg Hoexer
2006-05-24add $OpenBSD$, prompted by steven@Kevin Steves
2006-05-24Please use portable C codeTheo de Raadt
2006-05-23clean an XXX and don't print preceding ',' on first attribute; okKevin Steves
canacar@
2006-05-23add VLAN Query Protocol (VQP) dissector; ok canacar@ markus@Kevin Steves
2006-05-21Fix size checks for bootp packets. Problem found and initial patchCan Erkin Acar
from pedro@. ok moritz@
2006-05-15add a little bit more to -X;Jason McIntyre
2006-05-15better description for -X;Jason McIntyre
based on a diff from jean raby; ok deraadt
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-04-08Since moritz@ says, ``this can't happen, because no fmt stringRay Lai
passed to fdata() uses a T-value not caught by the switch,'' change to a fatal error. OK jaredy@ and moritz@
2006-04-07Add default case to prevent uninitialized variable usage, althoughRay Lai
moritz@ says ``this can't happen, because no fmt string passed to fdata() uses a T-value not caught by the switch.'' From NetBSD from Coverity CID 2491. OK otto@ and moritz@
2006-03-28better way to print the management address, add support for ipv6 addresses.Reyk Floeter
ok deraadt@
2006-03-28it doesn't need full words, shorter outputReyk Floeter
suggested by deraadt@
2006-03-28Add a simple printer for IEEE 802.1AB LLDP, the Link Layer DiscoveryReyk Floeter
Protocol. LLDP is used by some switch vendors as a replacement for the non-free Cizzco Discovery Protocol (CDP) due to some Cisco patentry... ok brad@
2006-03-26nat, rdr, binat and scrub are valid pf actions to filter onCamiel Dobbelaar
ok dhartmei
2006-03-13Simplify error() and warning() a bit. From Alexey Dobriyan.Moritz Jodeit
ok jaredy@ otto@
2006-03-10print IAPP messages for the old IAPP port 2313.Reyk Floeter
2006-03-10add whitespaceReyk Floeter
2006-02-26check return value of calloc(3)'; From Alexey Dobriyan; ok deraadt@Otto Moerbeek
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@
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2005-12-18Update my e-mail address in the copyright statement, no binary changes.Reyk Floeter
2005-12-17remove extra space in output of router LSA; ok claudio@Kevin Steves
2005-12-07Do not use strlcpy if the source string is not NUL terminated andOtto Moerbeek
avoid printing funny chars. Problem spotted by naddy@ whil tcpdumping enc0 with malloc.conf AJ; ok canacar@ on an earlier version.
2005-11-23Replace a C++ comment with a C comment. No code changes.Chad Loder
2005-11-22add printer for IAPP and hostapd(8) messagesReyk Floeter
ok canacar@, tested by aanriot@ and others
2005-11-18use new libpcap-provided datalink_x_to_y functions instead of local copiesDamien Miller
(with different prototypes); ok mpf@
2005-11-17fix byteorder for "s" and "l" formats; ok henning@ krw@Kevin Steves
2005-11-13Do not clobber errno, from Andrey Matveev. ok canacar@Otto Moerbeek
2005-11-04crank pf_state and pf_src_node byte and packet counters to u_in64_t, sinceRyan Thomas McBride
we're breaking pfsync compatibility this cycle anyways. Requested by djm@, ok henning@, 'wheee!' deraadt@
2005-10-20talk about choices when describing -y; from chris.kuethe@gmail.com ok fgschTheo de Raadt
2005-10-16Simplify some error paths. From Andrey Matveev. ok canacar@Otto Moerbeek
2005-10-08Add a best effort mpls decoder. From Jason L. Wright.Can Erkin Acar
Since the encapsulated protocol information is not always available in the MPLS tag stack. The decoder attempts to guess the protocol. ok brad@
2005-10-08Check IP version when decoding v4 and v6 packets.Can Erkin Acar
From Jason Wright via PR-4531.
2005-10-07KNFMarco Pfatschbacher
2005-10-07Add stp as supported protocol.Marco Pfatschbacher
While there remove reference to /etc/protocols for ether proto. Instead enumerate all supported ethernet protocols. OK jmc@ a while ago.
2005-09-30deploy .An -nosplit; ok jmcJared Yanovich
2005-09-29Change DLT earlier. Fixes the loss of promisc mode when a non-defaultCan Erkin Acar
DLT is specified. looks sane deraadt@
2005-09-27Fix another case of inconstitent error handling that was missed in theOtto Moerbeek
previous commit. ok moritz@
2005-09-26If setting the filter fails, pass the error back;Otto Moerbeek
ok deraadt@
2005-09-23Only allow root to run tcpdump. It's needed for the chroot security.Otto Moerbeek
ok moritz@ deraadt@
2005-08-28Fix a reliability issue where an over-read of 4 bytes could result in theChad Loder
tcpdump process being terminated when tcpdump running with -vv tries to print a a short IKE SA payload. Specifically OK'd for 3.8 release by deraadt@. OK canacar@, hshoexer@.
2005-07-12recognize both versions of the nat-t-draft v2 vendor IDsHans-Joerg Hoexer
ok ho@
2005-07-08proto is `ip6', not `ipv6';Jason McIntyre
initial report from robert hansen; confirmed by otto@
2005-06-28some more ike payload typesHans-Joerg Hoexer
ok ho@
2005-06-14add missing error check for decode_prefix4. ok deraadt@Moritz Jodeit