mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-03 22:23:24 +00:00
810e5e4bf0
The BPF Traffic Collector. PR: 10679 Submitted by: Oddbjorn Steffensen <oddbjorn@tricknology.org>
19 lines
661 B
Plaintext
19 lines
661 B
Plaintext
bpft is a superset of trafshow, and extends it by adding a daemon
|
|
which collects data about network connections (src, dst, protocol
|
|
and length). The resulting data can be dumped to a file for later
|
|
processing.
|
|
|
|
Read /usr/local/share/doc/bpft/README after installation for more
|
|
information.
|
|
|
|
To use bpft, your kernel must be rebuilt with the following line
|
|
added to your kernel config file (/sys/i386/conf/<YourMachine>):
|
|
|
|
pseudo-device bpfilter 4 # Berkeley packet filter
|
|
|
|
The number after bpfilter is the number of interfaces that can be
|
|
examined simultaneously. See section 6.1 of the Handbook for details.
|
|
|
|
- oddbjorn
|
|
oddbjorn@tricknology.org
|