summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
AgeCommit message (Collapse)Author
2007-01-08c should be u_char for printing option numbers. fix parameter requestKevin Steves
list option numbers >127 being negative. ok krw@
2007-01-02define bpf filters to match address and header fields in IEEE 802.11Reyk Floeter
wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see tcpdump(8) for details. "Works for me" claudio@ ok jmc@ deraadt@
2006-12-26Fix truncation check by directly comparing both values and don'tMoritz Jodeit
compare the unsigned value of the subtraction against <= 0. ok krw@ ray@
2006-12-26print icmpv6 inside security header (ah/esp).Jun-ichiro itojun Hagino
2006-12-13IPv6 passive OS fingerprinting.Jun-ichiro itojun Hagino
reuses IPv4 signature file (assuming that TCP code is shared among IPv4/v6). mcbride ok.
2006-12-09switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542).Jun-ichiro itojun Hagino
the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt.
2006-11-21try udpencap before ike; ok hshoexerMarkus Friedl
2006-11-21in octal, eight looks like 10... fix the STP_FLAGS_BITS definitionReyk Floeter
introduced with my previous commit.
2006-11-19add support for displaying Rapid Spanning Tree Protocol frames,Reyk Floeter
as specified in IEEE 802.1d-2004/802.1w. ok mcbride@
2006-09-19enable ESP and AH dissectors over IPv6; ok mpf@ (at k2k6)Christian Weisgerber
2006-08-24recognize xauth vendor payloadHans-Joerg Hoexer
ok ho markus
2006-08-240x00000c05 type specifies an Ethernet frame. Print the src MACKevin Steves
with -v or the frame in hex with -vv.
2006-08-20replace magic numbers, no binary change; prompted by deraadt@Kevin Steves
2006-08-20correct order of include filesTheo de Raadt
2006-08-15need to print leading space nowKevin Steves
2006-08-15stupid error: increment not decrement here.Kevin Steves
2006-07-02Recognise OpenBSD vendor IDHans-Joerg Hoexer
2006-06-23set the RSSI Max value in ath(4) and use the new RSSI radiotap headerReyk Floeter
instead of the old db signal header. also allow tcpdump and hostapd to print the new RSSI radiotap header values current/max rssi. ok damien@ jsg@
2006-06-16printing these version numbers in usage is ugly and uselessTheo de Raadt
2006-06-02Print the demotion indicator in the carp packet.Ryan Thomas McBride
ok mpf@
2006-06-02grok AESCTRHans-Joerg Hoexer
2006-06-01Pass the captured packet length in addition to the real packet lengthMoritz Jodeit
to etherip_print() and do all the bounds checking with it. Also add bounds checks to ether_print(). This fixes even more crashes. ok canacar@
2006-05-31remove extra space in output; ok markus@ moritz@Kevin Steves
2006-05-29No need for return; at end of functions returning void.Moritz Jodeit
2006-05-29Be more careful to not touch memory outside theMoritz Jodeit
captured packet. Fixes some more crashes. ok canacar@ deraadt@
2006-05-29ANSI and whitespace. No binary change.Moritz Jodeit
2006-05-29Check that struct p8022Hdr was completely captured,Moritz Jodeit
before accessing it. With some cleanup from canacar@ ok canacar@
2006-05-29The end pointer to fn_print() could possibly point behind the capturedMoritz Jodeit
packet. So make sure, it uses "snapend" in that case. ok canacar@
2006-05-29Add proper bounds checks for the CDP and SSDP protocols byMoritz Jodeit
grouping all LLCSAP_SNAP handling in one block. Also make sure, that enough of "struct llc" was captured, before accessing it. ok canacar@
2006-05-28Correct more bounds checks which can lead to crashes.Moritz Jodeit
ok canacar@ deraadt@
2006-05-28Check that a complete struct llc was captured (not only 3 bytes),Moritz Jodeit
because it is accessed later on. ok deraadt@
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