OpenBSD CVS

CVS log for src/usr.sbin/tcpdump/tcpdump.8


[BACK] Up to [local] / src / usr.sbin / tcpdump

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.116 / (download) - annotate - [select for diffs], Mon Feb 26 06:49:38 2024 UTC (3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored)

type mgtv -> mgt; from todd carson

Revision 1.115 / (download) - annotate - [select for diffs], Wed Apr 12 09:55:22 2023 UTC (13 months, 2 weeks ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.114: +2 -3 lines
Diff to previous 1.114 (colored)

remove duplicate lines

Revision 1.114 / (download) - annotate - [select for diffs], Sat Sep 10 10:01:54 2022 UTC (20 months, 3 weeks ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.113: +3 -3 lines
Diff to previous 1.113 (colored)

wireless LANS -> wireless LANs

Revision 1.113 / (download) - annotate - [select for diffs], Sat Jan 1 08:10:29 2022 UTC (2 years, 5 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

Multiprocol -> Multiprotocol

Revision 1.112 / (download) - annotate - [select for diffs], Tue Sep 7 06:48:42 2021 UTC (2 years, 8 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.111: +453 -194 lines
Diff to previous 1.111 (colored)

synchronize tcpdump.8 and pcap-filter.5 primitives documentation

reads ok to jmc@
good enough start for deraadt@

Revision 1.111 / (download) - annotate - [select for diffs], Mon Aug 17 06:29:29 2020 UTC (3 years, 9 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.110: +4 -2 lines
Diff to previous 1.110 (colored)

add initial support for handling geneve packets.

it's like vxlan, but different. the most interesting difference to
vxlan is that the protocol adds support for adding optional metadata
to packets (like nsh). this diff currently just skips that stuff
and just handles the payload. for now.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Jun 21 05:00:18 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.109: +4 -2 lines
Diff to previous 1.109 (colored)

wire the wireguard packet printer into tcpdump.

from Matt Dunwoodie and Jason A. Donenfeld

Revision 1.109 / (download) - annotate - [select for diffs], Wed Nov 6 12:49:50 2019 UTC (4 years, 6 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.108: +5 -2 lines
Diff to previous 1.108 (colored)

mention in tcpdump(8) description of -i that one can use either a network
or a USB device. ok mpi

Revision 1.108 / (download) - annotate - [select for diffs], Thu Oct 31 18:10:22 2019 UTC (4 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored)

fix inconsistency; from tim kuijsten
agreed by deraadt

Revision 1.107 / (download) - annotate - [select for diffs], Wed Sep 25 17:02:00 2019 UTC (4 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.106: +4 -4 lines
Diff to previous 1.106 (colored)

pcap-filter now section 5: adjust Xr

Revision 1.106 / (download) - annotate - [select for diffs], Tue Sep 3 07:03:30 2019 UTC (4 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

pcap-filter is now section 7;

Revision 1.105 / (download) - annotate - [select for diffs], Fri Aug 30 20:33:35 2019 UTC (4 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

one more ethers.3 -> ether_aton.3;

Revision 1.104 / (download) - annotate - [select for diffs], Fri Aug 30 19:34:04 2019 UTC (4 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

catch up to ethers(3)->ether_aton(3) renaming

Revision 1.103 / (download) - annotate - [select for diffs], Fri Aug 30 17:51:47 2019 UTC (4 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

mop up for the pcap.3 rename;
help/ok deraadt

Revision 1.102 / (download) - annotate - [select for diffs], Sun May 26 22:42:42 2019 UTC (5 years ago) by dlg
Branch: MAIN
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

support -T erspan so arbitrary gre protocols can be seen as erspan

this lets me configure a custom gre protocol on a dell s4810 or
s5048 and see what's inside it when it lands on an openbsd box.

ok lteo@

Revision 1.101 / (download) - annotate - [select for diffs], Mon Mar 18 06:41:52 2019 UTC (5 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.100: +5 -5 lines
Diff to previous 1.100 (colored)

tweak previous;

Revision 1.100 / (download) - annotate - [select for diffs], Mon Mar 18 00:09:22 2019 UTC (5 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.99: +19 -1 lines
Diff to previous 1.99 (colored)

support configuring BIOCSFILDROP with tcpdump.

this allows tcpdump to be used a quick and dirty firewall. it also
looks like an amazing foot-gun, so be careful.

for example `tcpdump -B drop -i ix1 udp and port 7` lets you
completely drop discard packets in the hardware interrupt handler.

ok sthen@ mikeb@ claudio@ visa@

Revision 1.99 / (download) - annotate - [select for diffs], Fri Jul 6 09:59:12 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.98: +31 -29 lines
Diff to previous 1.98 (colored)

use a list for the -T types, now that there are many; ok dlg

Revision 1.98 / (download) - annotate - [select for diffs], Fri Jul 6 07:13:21 2018 UTC (5 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.97: +3 -1 lines
Diff to previous 1.97 (colored)

add support for vxlan packets.

I personally think vxlan looks suspiciously like gre, so I put the
parser in print-gre.c

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jul 6 06:43:19 2018 UTC (5 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.96: +3 -1 lines
Diff to previous 1.96 (colored)

add "tftp" as a type to use with -T

This forces UDP packets to be parsed as tftp messages, which is useful
to see the DATA and ACK packets. They're usually on high ports which don't
get matched by udp_print, which by default only handled tftp packets on
port 69.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Jul 6 06:35:46 2018 UTC (5 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.95: +6 -4 lines
Diff to previous 1.95 (colored)

Add "mpls" as a type to use with -T

This allows arbitrary UDP packets to be parsed as MPLS.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Jul 6 06:18:03 2018 UTC (5 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.94: +6 -4 lines
Diff to previous 1.94 (colored)

Add "gre" as a type to use with -T

This allows arbitrary UDP packets to be parsed as GRE packets.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Apr 28 16:22:08 2018 UTC (6 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.93: +20 -31 lines
Diff to previous 1.93 (colored)

Reference hosts(5) instead of the obsolete networks(5).
While here, also delete the obsolete .Tn macros.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Jun 10 06:52:28 2017 UTC (6 years, 11 months ago) by akfaew
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.92: +2 -144 lines
Diff to previous 1.92 (colored)

Don't describe AppleTalk's output format and bugs.

OK claudio@
jmc@ doesn't object

Revision 1.92 / (download) - annotate - [select for diffs], Wed Apr 19 05:36:13 2017 UTC (7 years, 1 month ago) by natano
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been
around for two releases, it should be safe to do so.

ok bluhm deraadt sthen tb yasuoka

Revision 1.91 / (download) - annotate - [select for diffs], Sun May 8 08:20:50 2016 UTC (8 years ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested by
sthen@. to make remote upgrades without media less painful.

ok tb@

Revision 1.90 / (download) - annotate - [select for diffs], Tue May 3 07:41:24 2016 UTC (8 years, 1 month ago) by natano
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

Move to /dev/bpf; ok lteo

Revision 1.89 / (download) - annotate - [select for diffs], Thu Mar 31 15:53:25 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored)

Don't use .Aq for syntax elements that require ASCII "<>".
Patch from Christian Heckendorf <mbie at ulmus dot me>.
OK jmc@ bentley@

Revision 1.88 / (download) - annotate - [select for diffs], Thu Nov 5 09:56:21 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

spelling; from tj

Revision 1.87 / (download) - annotate - [select for diffs], Fri Sep 25 14:56:33 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.86: +4 -13 lines
Diff to previous 1.86 (colored)

avoid trailing .Ns, reduce .Xo and .Sm, drop redundant .Bk

Revision 1.86 / (download) - annotate - [select for diffs], Mon Sep 14 20:06:59 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Avoid .Ns right after .Pf, it's pointless.
In some cases, do additional cleanup in the immediate vicinity.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Jul 18 16:55:31 2015 UTC (8 years, 10 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.84: +5 -2 lines
Diff to previous 1.84 (colored)

Add an example about showing wireless frames with tcpdump(8).
Apparently sniffing wifi frames isn't a very popular addiction?!?
Requested by David Hill.
ok aja phessler mpi

Revision 1.84 / (download) - annotate - [select for diffs], Sat Feb 28 21:51:57 2015 UTC (9 years, 3 months ago) by bentley
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored)

Reduce usage of predefined strings in manpages.

Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.

No output changes, except for two instances where the incorrect escape
was used in the first place.

tweaks + ok schwarze@

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 3 02:57:29 2014 UTC (10 years ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Expand the IP checksum offload subsection to mention the same issue with
protocol checksum offload, where tcpdump might see bad checksums on
valid packets.

ok henning@ jmc@

Revision 1.82 / (download) - annotate - [select for diffs], Wed Feb 19 04:50:36 2014 UTC (10 years, 3 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.81: +3 -2 lines
Diff to previous 1.81 (colored)

Add pcap-filter(3) to the SEE ALSO section.

ok jmc@

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jul 16 11:13:34 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.80: +5 -5 lines
Diff to previous 1.80 (colored)

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 10 03:08:58 2013 UTC (10 years, 10 months ago) by lteo
Branch: MAIN
Changes since 1.79: +10 -9 lines
Diff to previous 1.79 (colored)

In the EXAMPLES section, it is not very obvious that "localnet" is not a
literal argument name due to lack of formatting, so replace it with an
example network to make it clearer (discussed with and suggested by jmc@).

While here, fix some style nits in a sentence to make it consistent with
the other examples.

ok jmc

Revision 1.79 / (download) - annotate - [select for diffs], Wed Sep 26 16:19:45 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.78: +9 -2 lines
Diff to previous 1.78 (colored)

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;

Revision 1.78 / (download) - annotate - [select for diffs], Wed Aug 29 22:19:31 2012 UTC (11 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.77: +23 -15 lines
Diff to previous 1.77 (colored)

- rfc 4835 obsoletes rfc 2406
- flesh out SEE ALSO

ok sthen

Revision 1.77 / (download) - annotate - [select for diffs], Fri Aug 24 02:01:39 2012 UTC (11 years, 9 months ago) by lteo
Branch: MAIN
Changes since 1.76: +2 -9 lines
Diff to previous 1.76 (colored)

We maintain our own tcpdump, so remove the sentence in the BUGS section
that asks users to send bug reports to mainline tcpdump.

While here, fix two mandoc -Tlint warnings by removing unnecessary
.Pp instances.

ok deraadt jmc naddy

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 10 18:07:37 2012 UTC (11 years, 10 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.75: +10 -2 lines
Diff to previous 1.75 (colored)

support -A to print the ascii text of captured packets.  ok deraadt@

Revision 1.75 / (download) - annotate - [select for diffs], Mon Mar 28 09:37:03 2011 UTC (13 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

tweak previous;

Revision 1.74 / (download) - annotate - [select for diffs], Mon Mar 28 07:56:13 2011 UTC (13 years, 2 months ago) by giovanni
Branch: MAIN
Changes since 1.73: +10 -2 lines
Diff to previous 1.73 (colored)


Add a couple of examples on tcpflags and icmptype filters
ok claudio@

Revision 1.73 / (download) - annotate - [select for diffs], Mon Feb 7 00:02:50 2011 UTC (13 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.72: +9 -11 lines
Diff to previous 1.72 (colored)

Between groff-1.15 and groff-1.20.1, the .Ns macro was changed to no
longer suppress spacing when used at the beginning of an input line,
and mandoc now follows the same behaviour as new groff.
Thus, sweep the tree and remove useless .Ns.
Most places found by jmc@; ok jmc@ kristaps@.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Sep 7 12:40:30 2010 UTC (13 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.71: +7 -3 lines
Diff to previous 1.71 (colored)

fix a formatting issue for -E;

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jan 14 04:57:06 2010 UTC (14 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.70: +8 -6 lines
Diff to previous 1.70 (colored)

Include the link-level header in the hex output if both the -x and -e
options are specified.

ok claudio@ sthen@ deraadt@ jmc@

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jan 3 13:24:09 2010 UTC (14 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.69: +5 -5 lines
Diff to previous 1.69 (colored)

blank lines not allowed outside literal context;
syntax errors found by mandoc(1), also required to fix the mandoc build;
ok jmc@

Revision 1.69 / (download) - annotate - [select for diffs], Thu Dec 3 12:45:05 2009 UTC (14 years, 6 months ago) by sthen
Branch: MAIN
Changes since 1.68: +13 -8 lines
Diff to previous 1.68 (colored)

Adjust pflog BPF descriptions, problem pointed out by jmc@

- sync actions with PF changes (pass/block/match not just pass/block,
and remove some binat/nat/rdr entries)

- list all reason codes in tcpdump(8)

ok henning jmc

Revision 1.68 / (download) - annotate - [select for diffs], Sat Feb 14 14:45:31 2009 UTC (15 years, 3 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

document increased default snaplen; pointed out by dhill

Revision 1.67 / (download) - annotate - [select for diffs], Mon Apr 21 08:17:23 2008 UTC (16 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.66: +8 -2 lines
Diff to previous 1.66 (colored)

add a short section on checksum offloading, based on a diff
from Alf Schlichting;

help/ok henning

Revision 1.66 / (download) - annotate - [select for diffs], Fri Apr 18 21:35:11 2008 UTC (16 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.65: +11 -2 lines
Diff to previous 1.65 (colored)

add filtering on direction; ok mpf@ deraadt@ feedback jmc@

Revision 1.65 / (download) - annotate - [select for diffs], Tue Aug 28 12:52:06 2007 UTC (16 years, 9 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored)

add -I option for printing the interfaces;
ok hshoexer, henning, mcbridge (some time ago)

Revision 1.64 / (download) - annotate - [select for diffs], Thu May 31 19:20:29 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

convert to new .Dd format;

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jan 2 18:31:21 2007 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.62: +69 -4 lines
Diff to previous 1.62 (colored)

define bpf filters to match address and header fields in IEEE 802.11
wlan frames (DLT_IEEE802_11 and DLT_IEEE802_11_RADIO linktypes). see
tcpdump(8) for details.

"Works for me" claudio@
ok jmc@ deraadt@

Revision 1.62 / (download) - annotate - [select for diffs], Mon May 15 09:01:39 2006 UTC (18 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.61: +4 -1 lines
Diff to previous 1.61 (colored)

add a little bit more to -X;

Revision 1.61 / (download) - annotate - [select for diffs], Mon May 15 08:56:46 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

better description for -X;

based on a diff from jean raby;
ok deraadt

Revision 1.60 / (download) - annotate - [select for diffs], Sun Mar 26 19:16:06 2006 UTC (18 years, 2 months ago) by camield
Branch: MAIN
Changes since 1.59: +7 -3 lines
Diff to previous 1.59 (colored)

nat, rdr, binat and scrub are valid pf actions to filter on

ok dhartmei

Revision 1.59 / (download) - annotate - [select for diffs], Thu Oct 20 03:33:20 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.58: +8 -1 lines
Diff to previous 1.58 (colored)

talk about choices when describing -y; from chris.kuethe@gmail.com ok fgsch

Revision 1.58 / (download) - annotate - [select for diffs], Fri Oct 7 19:43:45 2005 UTC (18 years, 7 months ago) by mpf
Branch: MAIN
Changes since 1.57: +21 -5 lines
Diff to previous 1.57 (colored)

Add stp as supported protocol.
While there remove reference to /etc/protocols
for ether proto. Instead enumerate all supported
ethernet protocols.

OK jmc@ a while ago.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Sep 30 20:34:26 2005 UTC (18 years, 8 months ago) by jaredy
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

deploy .An -nosplit; ok jmc

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jul 8 12:47:28 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

proto is `ip6', not `ipv6';

initial report from robert hansen;
confirmed by otto@

Revision 1.55 / (download) - annotate - [select for diffs], Sun Mar 6 21:23:11 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.54: +13 -12 lines
Diff to previous 1.54 (colored)

- do not mark up punctuation
- use full "For example:" instead of "e.g.," where the latter looks too awful
- no need to use Ns before `.'

Revision 1.54 / (download) - annotate - [select for diffs], Sun Mar 6 21:05:49 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.53: +34 -34 lines
Diff to previous 1.53 (colored)

uppercase takes precedence over lower when sorting options;

Revision 1.53 / (download) - annotate - [select for diffs], Sun Mar 6 18:44:50 2005 UTC (19 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.52: +8 -2 lines
Diff to previous 1.52 (colored)

add support for multiple DLTs using the -L and -y options.

ok canacar@

Revision 1.52 / (download) - annotate - [select for diffs], Fri Feb 4 23:06:30 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.51: +41 -13 lines
Diff to previous 1.51 (colored)

update `dst port', `ip proto', `ether proto', and SEE ALSO;
ok mcbride@

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jan 22 09:18:41 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.50: +7 -9 lines
Diff to previous 1.50 (colored)

although arguments to `ip proto' and `ether proto' are keywords, and do
need to be escaped, they are not shell keywords;

this wording seems to have been introduced when the page was mdoc'd;
it now matches (more or less) how it was, and {F,N}BSD pages;

found by naddy@

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jan 2 18:15:02 2005 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

"bad-timestamp" is a valid logging reason;
from joel knight;

Revision 1.49 / (download) - annotate - [select for diffs], Thu Sep 16 11:29:51 2004 UTC (19 years, 8 months ago) by markus
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

add -T tcp to enforce interpretation as TCP

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jul 28 09:37:26 2004 UTC (19 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

add -ttttt (timestamp difference since the first packet); ok thierry

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jun 23 06:12:07 2004 UTC (19 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored)

-tttt prints time between packets; ok deraadt

Revision 1.46 / (download) - annotate - [select for diffs], Thu May 6 11:25:11 2004 UTC (20 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

whitespace;

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 5 23:16:03 2004 UTC (20 years, 1 month ago) by frantzen
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Use RFC1323 PAWS timestamps as a logical extension to the conventional TCP
sequence numbers by taking advantage of the maximum 1KHz clock as an upperbound
on the timestamp.  Typically gains 10 to 18 bits of additional security against
blind data insertion attacks.  More if the TS Echo wasn't optional :-(
Enabled with:  scrub on !lo0 all reassemble tcp
ok dhartmei@.  documentation help from jmc@

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 28 02:17:03 2004 UTC (20 years, 1 month ago) by mcbride
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

Make tcpdump print carp as carp. Printing vrrp can be forced with -T vrrp.

ok markus@ pb@

Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 12 10:59:47 2003 UTC (20 years, 7 months ago) by dhartmei
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Default snaplen is 96 not 68, from Pyun YongHyeon, ok deraadt@

Revision 1.42 / (download) - annotate - [select for diffs], Thu Sep 25 13:32:58 2003 UTC (20 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.41: +472 -734 lines
Diff to previous 1.41 (colored)

- simplify macros
- sort options
- typos and formatting improvements
- sync usage() and SYNOPSIS

Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 4 22:14:43 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

put escapes in the right place;
(i.e. stuff I got wrong the first time, or missed)

this includes some .Cd's with missing quotes and .Nm abuse in man4;

Revision 1.40 / (download) - annotate - [select for diffs], Tue Sep 2 18:56:36 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

escape punctuation; (and a nit in openssl.1)
ok deraadt@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 28 09:41:22 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.38: +5 -4 lines
Diff to previous 1.38 (colored)

tweak;
ok frantzen@

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 21 19:14:23 2003 UTC (20 years, 9 months ago) by frantzen
Branch: MAIN
Changes since 1.37: +14 -3 lines
Diff to previous 1.37 (colored)

print the operating system of TCP SYN packets with the -o option

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 17 08:45:37 2003 UTC (20 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.36: +54 -17 lines
Diff to previous 1.36 (colored)

add support for ESP decryption; ok deraadt@; feedback mickey@;
many manpage fixes from jmc@

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jul 14 13:46:14 2003 UTC (20 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.35: +4 -5 lines
Diff to previous 1.35 (colored)

macro fixes;

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 12 12:59:53 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.34: +19 -17 lines
Diff to previous 1.34 (colored)

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 14 08:50:37 2003 UTC (21 years ago) by canacar
Branch: MAIN
Changes since 1.33: +18 -2 lines
Diff to previous 1.33 (colored)

libpcap and tcpdump now understand the new pflog datalink type.
old datalink type is still recognized.

ok henning@ dhartmei@ frantzen@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 8 01:21:11 2003 UTC (21 years, 1 month ago) by david
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

invalid mdoc macros
caused words to disappear from the output
ok jmc@ a while ago

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 1 16:59:20 2002 UTC (21 years, 6 months ago) by margarida
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Grammar nitpicking.
Closes PR 3005.

fgsch@ ok

Revision 1.31 / (download) - annotate - [select for diffs], Thu May 30 06:18:00 2002 UTC (22 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.30: +10 -7 lines
Diff to previous 1.30 (colored)

repair formatting; fred@francis.unitra.sk

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 23 01:35:06 2002 UTC (22 years, 2 months ago) by frantzen
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.29: +36 -2 lines
Diff to previous 1.29 (colored)

document new extensions for PF logs

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 3 13:27:14 2001 UTC (22 years, 9 months ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.28: +7 -1 lines
Diff to previous 1.28 (colored)

only print pf rules when using -e flag; <canacar@eee.metu.edu.tr>

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 3 13:25:53 2001 UTC (22 years, 9 months ago) by jakob
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

print day and month using -ttt flag; <canacar@eee.metu.edu.tr>

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 20 19:09:49 2001 UTC (22 years, 10 months ago) by mpech
Branch: MAIN
Changes since 1.26: +1 -3 lines
Diff to previous 1.26 (colored)

we don't like:
o) .Pp before/after .Sh;
o) .Pp before/after .Sh;
o) .Nm without argument in SYNOPSIS;

Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 21 16:27:00 2001 UTC (23 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Fix typo, connnection -> connection

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 9 17:53:25 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Change all option list specifications to ".Bl -tag -width Ds". Most man
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 8 19:37:37 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

- Get rid of ".Sh OPTIONS" and always use the standard options list intro.
- Move some BUGS/CAVEATS to the end of the man pages where they should go.
- Correct some .Nm usage.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Apr 27 10:07:59 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

add -T cnfp (code exists, missing from manpage)

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 15 02:15:21 2000 UTC (24 years, 1 month ago) by aaron
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Mostly punctuation fixes.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 19 17:57:16 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.20: +146 -105 lines
Diff to previous 1.20 (colored)

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 14 21:31:44 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 28 20:41:37 1999 UTC (24 years, 10 months ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.18: +13 -4 lines
Diff to previous 1.18 (colored)

-  Merge some changes from tcpdump 3.4
   -a flag; attempt to convert network and broadcast addresses to names
   Improved signal handling
   Miscellaneous fixes and typos
   OSPF MD5 authentication support

-  -X flag; emacs-hexl print (including ascii)

-  Add ECN bits to TCP and IP headers

-  IKE & IPsec (ESP & AH) support

OK deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 9 13:35:54 1999 UTC (24 years, 10 months ago) by aaron
Branch: MAIN
Changes since 1.17: +11 -11 lines
Diff to previous 1.17 (colored)

- remove all trailing whitespace
     * except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
  working on some scripts for fixing formatting errors in mdoc'd man pages

Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 7 10:50:14 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.
Out of the approximately 1450 man pages, only about 90 of them were wrong.
Thanks to kwesterback@home.com for coming up with a script and patch to repair
this. The patch also inserted a .Os macro in the few man pages that were
missing one.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 2 20:11:49 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

consistent .Dd usage; proper format is: .Dd Month DD, YYYY

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 1 17:07:03 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

new mdoc'd bootpef(8), bootptest(8), vttest(1) man pages; kwesterback@home.com
also repairs to mdoc.samples(7) and tcpdump(8)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 13 14:05:25 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.13: +1640 -1013 lines
Diff to previous 1.13 (colored)

new mdoc tcpdump(8) man page, needs a bit more cleanup; kwesterback@home.com

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 15 02:17:54 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.12: +14 -14 lines
Diff to previous 1.12 (colored)

ethernet -> Ethernet, other repairs

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 1 09:01:46 1999 UTC (25 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

typo; krw@tcn.net

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 10 02:43:11 1999 UTC (25 years, 2 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Daylight Saving Time, not savings

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 22 22:03:01 1998 UTC (25 years, 8 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

make tcpdump aware of SACK (RFC 2018), loosely based on a patch from
hari@cs.berkeley.edu.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 13 03:50:23 1998 UTC (25 years, 8 months ago) by aaron
Branch: MAIN
Changes since 1.8: +12 -12 lines
Diff to previous 1.8 (colored)

typos

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 7 16:44:34 1998 UTC (25 years, 9 months ago) by aaron
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

More man page fixes. Particularly fix uses of it's/its, affect/effect,
then/than and such. Other miscellaneous problems fixed across these source
files.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 15 00:06:01 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

comment out man pages we do not have

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 22 13:20:59 1997 UTC (27 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Correct networks(5) references

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 18 03:10:06 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

tcpdump(8) not (1); noted by msaitoh@spa.is.uec.ac.jp

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 13 11:01:34 1996 UTC (27 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.3: +72 -37 lines
Diff to previous 1.3 (colored)

it is 3.2 now.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 10 07:47:56 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

sync to latest

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 4 15:59:45 1996 UTC (28 years, 3 months ago) by mickey
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

Updating to the latest LBL release.
Sun's SKIP support added.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:26 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:26 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.