History log of /openbsd/share/man/man4/bpf.4 (Results 1 – 25 of 47)
Revision Date Author Comments
# e88074f0 15-Aug-2024 dlg <dlg@openbsd.org>

add BIOCSETFNR, which is like BIOCSETF but doesnt reset the buffer or stats.

from Matthew Luckie <mjl@luckie.org.nz> via tech@
deraadt@ likes it.


# 2293e682 05-Aug-2024 dlg <dlg@openbsd.org>

restrict the maximum wait time you can set via BIOCSWTIMEOUT to 5 minutes.

this is avoids passing excessively large values to timeout_add_nsec.

Reported-by: syzbot+f650785d4f2b3fe28284@syzkaller.ap

restrict the maximum wait time you can set via BIOCSWTIMEOUT to 5 minutes.

this is avoids passing excessively large values to timeout_add_nsec.

Reported-by: syzbot+f650785d4f2b3fe28284@syzkaller.appspotmail.com

show more ...


# f09c9702 09-Mar-2023 dlg <dlg@openbsd.org>

document BIOC[SGD]WTIMEOUT


# d32639f6 11-Sep-2022 jmc <jmc@openbsd.org>

.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze

ok schwarze


# e809f141 30-Sep-2020 tb <tb@openbsd.org>

Document BPF_RND. Missed part of the xBPF commit (bpf_filter.c -r1.34).

from dlg, ok kn tb jmatthew


# f21ef341 30-Sep-2020 deraadt <deraadt@openbsd.org>

document EINVAL for denorm timeval in BIOCSRTIMEOUT; ok jmc


# 7c5af366 25-Apr-2019 anton <anton@openbsd.org>

reflect recent bpf changes


# 19dbb2fd 03-Apr-2019 anton <anton@openbsd.org>

document BIOCSRTIMEOUT errors; ok deraadt@ millert@


# 6283794b 18-Mar-2019 dlg <dlg@openbsd.org>

extend BIOCSFILDROP so it can be configured to not capture packets.

BIOCSFILDROP was already able to be used as a quick and dirty
firewall, which is especially useful when you you want to filter
non

extend BIOCSFILDROP so it can be configured to not capture packets.

BIOCSFILDROP was already able to be used as a quick and dirty
firewall, which is especially useful when you you want to filter
non-ip things. however, capturing the packets you're dropping is a
lot of overhead when you just want to drop stuff. this extends
fildrop so you can tell bpf not to capture the packets it drops.

ok sthen@ mikeb@ claudio@ visa@

show more ...


# 3dd9a927 28-Apr-2016 natano <natano@openbsd.org>

Only one bpf device is required; pointed out by and ok jmc


# 77f84f54 10-Mar-2016 deraadt <deraadt@openbsd.org>

BIOCGDIRFILT is allowed when locked, from Guy Harris


# d8d13850 16-Jan-2015 lteo <lteo@openbsd.org>

The BPF paper referenced in the SEE ALSO section was most likely an unpublished
draft. Replace it with the authors' 1993 Winter USENIX paper, which is a more
authoritative reference on BPF.

ok dera

The BPF paper referenced in the SEE ALSO section was most likely an unpublished
draft. Replace it with the authors' 1993 Winter USENIX paper, which is a more
authoritative reference on BPF.

ok deraadt@ jmc@ millert@

show more ...


# 1c16a693 15-Jan-2015 schwarze <schwarze@openbsd.org>

Use .An in the AUTHORS section where appropriate;
from Kaspars at Bankovskis dot net


# 4e6bc149 21-Jan-2014 schwarze <schwarze@openbsd.org>

do not abuse .Cd for userland stuff; use .In or .Fd


# 369bef3a 21-Jan-2014 schwarze <schwarze@openbsd.org>

obvious .Pa fixes; found with mandocdb(8)


# 720a7a94 14-Aug-2013 jmc <jmc@openbsd.org>

some Bx/Ox conversion;
From: Jan Stary


# 5060114b 09-Apr-2010 jmc <jmc@openbsd.org>

remove SIOCGIFADDR; from natex, documentation/6352;
ok claudio


# 1ee65ce7 01-Mar-2009 otto <otto@openbsd.org>

bpf can handle variable length headers; some wording improvements;
mostly from Guy Harris; ok jmc@


# 9490d37c 31-May-2007 jmc <jmc@openbsd.org>

convert to new .Dd format;


# 48ea0867 25-Mar-2006 djm <djm@openbsd.org>

document BIOCGDIRFILT/BIOCSDIRFILT ioctls
sync/sort the list of allowed ioctls under BIOCLOCK too


# 832330f3 03-Nov-2005 reyk <reyk@openbsd.org>

re-implement the bpf "filter drop" option that it actually works. the
bpf FILDROP interface exists for about one year but the required
interface to the drivers was missing - so it was useless. this n

re-implement the bpf "filter drop" option that it actually works. the
bpf FILDROP interface exists for about one year but the required
interface to the drivers was missing - so it was useless. this new
approach based on a design by henning@ uses a new mbuf flag to mark
filtered packets and to drop them in the generic network stack input
routines (like ether_input).

for example; after some additional testing, this could be used by
dhclient to filter everything except DHCP packets (track tech@
for a corresponding dhclient diff). the "filter dropped" packets won't
reach the network stack. so it's probably some kind of a very basic
application layer packet filter ;).

ok canacar@, discussed with henning@ and others

show more ...


# af2e0d6e 13-Oct-2005 reyk <reyk@openbsd.org>

comment out the "filter drop" option because it has never been fully
implemented and is not useable at all.

ok henning@


# 690982a3 15-Apr-2005 jaredy <jaredy@openbsd.org>

- sync to reality w.r.t. available ioctls and their arguments
- tweak layout of ioctl section
- other minor (mdoc, punctuation) fixes

ok jmc


# 6314440d 08-Jan-2005 jmc <jmc@openbsd.org>

new sentence, new line;


# b22d18be 07-Jan-2005 reyk <reyk@openbsd.org>

add support for BIOCGDLTLIST and BIOCSDLT, see bpf(4)

ok canacar@, fgsch@, tested by some other people


12