Page MenuHomeFreeBSD

ipfw: create a bpf tap point for every log rule
Needs ReviewPublic

Authored by glebius on Fri, Nov 21, 10:59 PM.
Tags
None
Referenced Files
F137290137: D53877.id166937.diff
Sat, Nov 22, 2:48 AM
F137285923: D53877.diff
Sat, Nov 22, 1:48 AM
F137282484: D53877.id166937.diff
Sat, Nov 22, 12:59 AM
F137282401: D53877.id.diff
Sat, Nov 22, 12:58 AM
F137281451: D53877.diff
Sat, Nov 22, 12:50 AM

Details

Reviewers
ae
Group Reviewers
network
Summary

Dynamically allocate bpf tap points for every rule that has "log".
The name is "ipfw%u", where %u is substituted to the rule number.
The default catch all "ipfw0" tap still exists for compatibility
and it will catch packets in case if there are no bpf listeners
on a per-rule tap.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68803
Build 65686: arc lint + arc unit