OpenBSD CVS

CVS log for src/lib/libpcap/pcap-filter.5


[BACK] Up to [local] / src / lib / libpcap

Request diff between arbitrary revisions


Default branch: MAIN


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

type mgtv -> mgt; from todd carson

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

remove duplicate lines

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

wireless LANS -> wireless LANs

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 7 06:48:42 2021 UTC (2 years, 9 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.9: +230 -108 lines
Diff to previous 1.9 (colored)

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

reads ok to jmc@
good enough start for deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 2 10:59:13 2021 UTC (2 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Ah, I was fooled by a left over man page

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 2 06:46:32 2021 UTC (2 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

this is not a section 3 man page anymore

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 20 12:37:26 2021 UTC (3 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

typo; spotted by jmc

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 18 09:26:35 2021 UTC (3 years, 4 months ago) by sthen
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

support PCAP_NETMASK_UNKNOWN, adapted from an old commit in upstream
libpcap, ok dlg@

https://github.com/the-tcpdump-group/libpcap/commit/74b2de364f3443fc2414d0160b0b942f347c6fd4
https://github.com/the-tcpdump-group/libpcap/commit/117cb5eb2eb4fe212d3851f1205bb0b8f57873c6

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 3 03:40:02 2020 UTC (3 years, 10 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

add "sample NUM" so you can ask to capture 1/NUM packets from a filter.

the use of the sample keyword matches similar config in other
products.

NUM can be a number between 2 and 1048576, and is used to divide
0x100000000 into a threshold that is then compared against a randomly
generated number produced by a load of BPF_RND.

having sampling as part of the grammar means you can write things
like "icmp or sample 128". this lets you capture all icmp traffic
and a sample of the rest of the traffic.

ok jmatthew@ kn@ tb@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 3 03:29:58 2020 UTC (3 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.3: +6 -3 lines
Diff to previous 1.3 (colored)

add support for handling loads from BPF_RND.

this adds "rnd" and "random" as keywords in the grammar, and handles
them as an arithmetic operator. the decoder recognises the load,
so tcpdump can print it as 'ld #random'. most of the handling is
copied from the "len"/"length" keywoard handling that generates and
decodes a load of the actual wire length of the packet.

ok jmatthew@ tb@ kn@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 17 15:22:48 2019 UTC (4 years, 5 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Fix bogus ".It .Cm"

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 25 17:04:45 2019 UTC (4 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

the mentioned .Fn functions are in a another file, so .Xr them
ok jmc

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 25 16:59:00 2019 UTC (4 years, 8 months ago) by jmc
Branch: MAIN

mdoc version of pcap-filter;

conversion suggested by deraadt, as well as renaming
from section 7 to section 5;

ok deraadt

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.