Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-28 | Use long labs(3) for pointer arithmetic. | Alexander Bluhm | |
Found by David Hill with clang. | |||
2016-07-25 | err() instead of errx(); noted by tim | Theo de Raadt | |
2016-07-24 | Split the root vs not-root cases better with regards to chroot setup. | Theo de Raadt | |
ok kettenis benno tedu canacar | |||
2016-07-21 | 2004 privsep caused "tcpdump -r" to became a priviledged operation because | Theo de Raadt | |
we felt chroot-containment was also necessary for off-line analysis. Today use of pledge "stdio" for the packet parser acts as an even better sandbox. We can therefore silently ignore chroot setup failure, and regain tcpdump -r support. Result of a discussion with tedu -- which probably happened because we became aware of the laughable retarded -Z option in upstream tcpdump. ok tedu sthen guenther stsp | |||
2016-07-11 | Teach tcpdump to recognize MPLS pseudowire with control words. Added | Rafael Zalamena | |
support to print encapsulated ethernet packets as well. "Looks good" deraadt@ | |||
2016-05-08 | Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested by | Martin Natano | |
sthen@. to make remote upgrades without media less painful. ok tb@ | |||
2016-05-07 | Print RA Route Information prefix, preference and lifetime. | Jeremie Courreges-Anglas | |
ok mpi@ | |||
2016-05-06 | In verbose mode, print the router preference contained in RAs. | Jeremie Courreges-Anglas | |
"pref" keyword taken from tcpdump.org. ok mpi@ sthen@ deraadt@ | |||
2016-05-03 | Move to /dev/bpf; ok lteo | Martin Natano | |
2016-04-04 | Add sys/queue.h where it's needed. Unbreak userland following recent | Stuart Henderson | |
removal from mbuf.h. ok mpi@ | |||
2016-03-31 | Don't use .Aq for syntax elements that require ASCII "<>". | Ingo Schwarze | |
Patch from Christian Heckendorf <mbie at ulmus dot me>. OK jmc@ bentley@ | |||
2016-03-29 | Properly check for the end of captured packet while printing CDP packets. | Can Erkin Acar | |
ok deraadt@ | |||
2016-03-15 | o remove legacy code that defines abs(3) if it isn't available | mmcc | |
o inline an ugly and potentially risky macro of the form: #define x if (a) b; else o fix a >21 y.o. bug resulting from someone writing: puts("[nothing to parse], stdout"); when they meant: fputs("[nothing to parse]", stdout); ok canacar@ | |||
2016-03-07 | http -> https for IETF/IANA URLs in comments | mmcc | |
2016-02-21 | Make tcpdump show details of beacon country elements in verbose mode only. | Stefan Sperling | |
ok sthen@ | |||
2016-02-04 | Fix an infinite loop when printing a country element in a management | Stefan Sperling | |
frame in case we hit channel Tx power limits we can't pretty-print. Also ensure we consume the last item in this list. ok sthen@ | |||
2016-02-03 | Make tcpdump show 802.11 control frames. | Stefan Sperling | |
ok kettenis@, and help from David Vasek (thanks!) | |||
2016-02-01 | Make tcpdump show 802.11 QoS frames properly. | Stefan Sperling | |
ok kettenis@ | |||
2016-01-15 | remove a macro that was made an identity function by my previous commit | mmcc | |
ok deraadt@ | |||
2016-01-15 | Remove preprocessor conditions (checking for ancient OSs) that try to | mmcc | |
divine whether a file handle was generated on the current host. More simplifications to come. supported by deraadt@ | |||
2016-01-12 | Remove wireless turbo mode support. It is a non-standard extension | Stefan Sperling | |
which only worked with ath(4) devices from a decade ago. Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. ok reyk deraadt chris sthen kettenis | |||
2015-12-22 | assign pointers to NULL rather than 0 | mmcc | |
2015-12-05 | Remove ancient and no longer valid installation instructions. | mmcc | |
2015-12-05 | Remove LBL-specific stuff and a reference to CHANGES. | mmcc | |
2015-12-05 | Remove VERSION, whose contents were simply "3.4". | mmcc | |
2015-12-05 | Remove two sets of NULL-checks before free(). | mmcc | |
2015-12-05 | Remove a log of changes from 1991 to 1998. | mmcc | |
2015-12-05 | strings.h -> string.h so that memcpy is declared. ok deraadt | mmcc | |
2015-11-18 | Remove memory.h includes. | mmcc | |
ok deraadt@ | |||
2015-11-16 | Remove remaining instances of the register keyword. | mmcc | |
ok deraadt@ | |||
2015-11-15 | Remove more register keywords. | mmcc | |
ok daniel@, discussed on hackers@ | |||
2015-11-07 | Ensure the safety of isprint()'s argument. Suggested by guenther@ a few | mmcc | |
weeks ago. | |||
2015-11-05 | Account for the header size when dealing with null link layer ifaces. | Jeremie Courreges-Anglas | |
From Kevin Reay, ok sthen@ | |||
2015-11-05 | Print unsigned integers as unsigned integers, kill inconsistent casts. | Jeremie Courreges-Anglas | |
Initial diff by Kevin Reay. | |||
2015-11-05 | Cap the GRE packet len to tcpdump's snap len, fixes a segfault. | Jeremie Courreges-Anglas | |
From Kevin Reay, ok sthen@ | |||
2015-11-05 | When fetching the GRE version, use GRE_VERS and not a naked "7" as mask. | Jeremie Courreges-Anglas | |
From Kevin Reay | |||
2015-11-05 | spelling; from tj | Jason McIntyre | |
2015-11-03 | Surround pledge call with blank lines. | mmcc | |
2015-11-02 | Print RDNSS nameserver addresses, and print option names for some other | Stuart Henderson | |
known options that we don't otherwise decode yet (DNSSL, route information). ok mpi@ | |||
2015-11-01 | Remove register keyword uses. Still needs to be done in all other | mmcc | |
tcpdump source files. ok kettenis@ | |||
2015-10-28 | pcap_stat fields are unsigned, print them as such | Jeremie Courreges-Anglas | |
Patch from Kevin Reay. | |||
2015-10-25 | Cast ctype functions' argument to unsigned char. | mmcc | |
ok guenther@ | |||
2015-10-24 | Carry out additional length/size checks in DECnet packet printing, avoiding a | Stuart Henderson | |
segfault with malformed packets. Adapted from f61639179282 in tcpdump.org git by Kevin Reay, but not including the header no-copy optimization that was in the upstream patch. ok benno@ | |||
2015-10-20 | Add an explicit check for a malformed AS segment with (segment length 0), | Stuart Henderson | |
avoiding division by zero when deciding whether it contains 2- or 4-byte ASNs. Refactor TCHECK calls to ensure proper coverage. From Kevin Reay, ok canacar with wording tweak (I used "malformed" rather than canacar's suggested "invalid size" or Kevin's original "empty"). | |||
2015-10-15 | Fix a crash that occurs when printing the filename in a malformed NFS | Lawrence Teo | |
request packet. From Kevin Reay who obtained the fix from the tcpdump.org repo (part of commit 6191f36146f5d286304e9b6e893477fe509d83ab). ok canacar@ sthen@ | |||
2015-10-14 | Remove conditional compilation and #defines around signal handling | Philip Guenther | |
Don't catch signals that were ignored on entry Suppress SIGCHLD if our kid is stopped: we don't care and it's not an error ok millert@ | |||
2015-10-13 | Don't use exp2f(), it breaks build on vax. Use a shift instead. | Stefan Sperling | |
reported by deraadt@ | |||
2015-10-12 | Fix a copy-pasto: Check the correct bit for STBC beacon in HT OP element. | Stefan Sperling | |
ok sthen@ | |||
2015-10-11 | The <ctype.h> is*() interfaces expect EOF or an unsigned char; cast to | Philip Guenther | |
(unsigned char) as required found by Michael McConville (mmcconv1 (at) sccs.swarthmore.edu) w/Coccinelle | |||
2015-10-10 | Make tcpdump(1) print more information from the HT Capabilities element. | Stefan Sperling | |
tweak + ok sthen@ |