1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
[[!meta title=BPF]]
[[!tag open_issue_gnumach open_issue_hurd]]
This is a collection of resources concerning *Berkeley Packet Filter*s.
# Documentation
* Wikipedia: [[!wikipedia "Berkeley Packet Filter"]]
* [The Packet Filter: An Efficient Mechanism for User-level Network
Code](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.36.8755),
1987, Jeffrey C. Mogul, Richard F. Rashid, Michael J. Accetta
* [The BSD Packet Filter: A New Architecture for User-level Packet
Capture](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.43.7849),
1992, Steven Mccanne, Van Jacobson
* [Protocol Service Decomposition for High-Performance
Networking](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.30.8387),
1993, Chris Maeda, Brian N. Bershad
* [Efficient Packet Demultiplexing for Multiple Endpoints and Large
Messages](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.46.44),
1994, Masanobu Yuhara Fujitsu, Masanobu Yuhara, Brian N. Bershad, Chris
Maeda, J. Eliot, B. Moss
* ... and many more
# Implementation
* [[community/HurdFr]]
* <http://wiki.hurdfr.org/index.php/BPF>
* <http://wiki.hurdfr.org/index.php/Reseau_dans_gnumach>
* Git repository: <http://rcs-git.duckcorp.org/hurdfr/bpf.git/>
The patch for [[GNU Mach|microkernel/mach/gnumach]] is expected to be
complete and functional, the [[hurd/translator]] less so -- amongst others,
there are unresolved issues concerning support of [[hurd/glibc/IOCTL]]s.
* [[zhengda]]
* [[!GNU_Savannah_bug 25054]] -- Kernel panic with eth-multiplexer
* [[!GNU_Savannah_patch 6619]] -- pfinet uses the virtual interface
* [[!GNU_Savannah_patch 6620]] -- pfinet changes its filter rules with
its IP address
* [[!GNU_Savannah_patch 6621]] -- pfinet sets the mach device into the
promiscuous mode
* [[!GNU_Savannah_patch 6622]] -- pfinet uses the BPF filter
* [[!GNU_Savannah_patch 6851]] -- fix a bug in BPF
|