|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 04 Dec 2005 03:04:10 To : All Subject : Вести с полей --------------------------------------------------------------------------------
From: Jung-uk Kim <jkim@FreeBSD.org>
Subject: [PATCH] BPF Just-In-Time compiler
I ported 'jitter' from WinPcap 3.1 to FreeBSD for i386 and wrote amd64
support:
http://people.freebsd.org/~jkim/bpf_jitter.diff
I didn't do much testing but it seems working pretty well for me so
far. ;-)
You need the following line in the kernel configuration:
options BPF_JITTER
You can turn off filtering through JIT-compiled filter by setting:
sysctl net.bpf.jitter.enable=0
If you are using very complex filters, it may be useful for you.
Caveats are:
1. BIOCSETWF is not supported.
2. bpf_mtap2() is not supported and bpf_mtap() is partially
supported.
3. amd64 and i386 only.
4. Intel assembler notation. :-(
5. ...
Testing, benchmarking, reviews, comments, complaints, patches for
other architectures, etc, all welcome.
Cheers,
Jung-uk Kim
... Boomfuck programmers against glitches and bloatware
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/22214392249f.html, оценка из 5, голосов 10
|