summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
AgeCommit message (Collapse)Author
2003-04-04Back out the realloc change, to do it right requires more recordTodd C. Miller
keeping and could result in very large memory chunks.
2003-04-02o Use realloc() instead of leaking memory when we need more than 1024 bytesTodd C. Miller
o use strlcpy() deraadt@ OK
2003-02-20add printing of ipcomp, and while in the neighborhood, make ah/esp actuallyJason Wright
check the length of the data
2003-02-11Show DF on IP fragmentsCedric Berger
ok henric@
2003-01-28a lost ntohs() caused tcpdump not to print the action.Henning Brauer
debugging session with and ok'd by dhartmei@
2003-01-27bugfix from Can Erkin Acar <canacar@eee.metu.edu.tr>:Henning Brauer
hbhopt_print() and dstopt_print() can return 0 if the option is located just one byte short of snapend this would cause an infinite loop in ip6_print().
2003-01-07Remove pfr_unwrap_table workaround, it's no longer needed.Daniel Hartmeier
2003-01-04workaround until pf fixes thisTheo de Raadt
2003-01-01Support all possible rule types ("scrub" rules can log packets beingRyan Thomas McBride
dropped, others may as well in the future). ok dhartmei@ henning@
2002-12-23no need to ntohs the portsMichael Shalayeff
2002-12-20use bcopy instead of struct assignmentMichael Shalayeff
2002-12-01Grammar nitpicking.margarida
Closes PR 3005. fgsch@ ok
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-11-28Check for invalid ICMP6 option length, ok itojun@Daniel Hartmeier
2002-10-30o for gre version 1, correctly check if kp (key present) is unset.Federico G. Schwindt
o remove trailing spaces for better output. o print sequence, acknowledge and callid as unsigned, and remove key from version 1 since it's actually the payload length (not including the gre header). jason@ ok.
2002-09-23Add missing includes, breaks and semicolons to appease gcc3; David KrauseTodd C. Miller
deraadt@ OK
2002-09-18Handle RFC2637 (PPTP defines an enhanced GRE... *sigh*)Jason Wright
2002-09-18Fully decode source routing elements defined in rfc1702Jason Wright
2002-09-18Rewrite from scratch: same basic functionality, but better license andJason Wright
knows how to skip routing info and process the rest of the packet.
2002-09-18remove egp support; unresolved non-bsd license for a decoder of protocol thatJakob Schlyter
noone uses anymore is not worth the amount of work needed to be resolved.
2002-09-15no license; i told you guys i mean itTheo de Raadt
2002-09-03Sync with tcpdump.orgHakan Olsson
2002-07-12In TTEST2(), check to make sure the "l" argument isn't so large thatPeter Valchev
"snapend - l" underflows; this fixes a buffer overflow with malformed NFS packets, and may fix other buffer overflows with malformed packets. From tcpdump CVS via fenner@FreeBSD
2002-07-11print FQDN strings using correct length; ok ho@ jakob@Kevin Steves
2002-06-11For IPCOMP print CPI instead of SPI. Style.Hakan Olsson
2002-06-11Don't assume 32bit SPI/CPI numbers.Hakan Olsson
2002-06-11Decode IPCOMP transform IDs.Hakan Olsson
2002-05-30typoTheo de Raadt
2002-05-30repair formatting; fred@francis.unitra.skTheo de Raadt
2002-04-10If the IP header length is zero, the packet will loop in ip_print().Theo de Raadt
Taken from tcpdump 3.7.1; mbing@nfr.net; ho ok
2002-03-23document new extensions for PF logsMike Frantzen
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
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>
2002-01-22trailing spaces, humppaMichael Shalayeff
2002-01-22HSRP dissector, from Julian Cowley <julian@lava.net> via tcpdump.orgMichael Shalayeff
2001-12-23integrate a patch i did around 1.5 years ago that's already inKevin Steves
tcpdump.org and netbsd. if verbose and TCP RST segment with payload, print the payload string. Mentat derived stacks may put text strings in RST segments. ok jakob@
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-12care and KNFTheo de Raadt
2001-11-07simplify buffer handling; ok hoTheo de Raadt
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-07typosTheo de Raadt
2001-11-06sparc64 needs LBL_ALIGN.Artur Grabowski
2001-11-06a bit of snprintf cleaningTheo de Raadt
2001-11-03Don't try to avoid name lookup waits with setjmp/signal. By deraadt@, me.Hakan Olsson
2001-11-02avoid stdio in signal handler (not complete yet)Theo de Raadt