Implement filter for NFCT
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | nfct: call register callback on opened handlerinput/ | +1 | 0 replies | |
| 2/4 | addr: add file containing addr utility functions.include/ src/ src/ | +132 | 0 replies | |
| 3/4 | nfct: implement src and dst filterinput/ ulogd.conf.in | +218 | 0 replies | |
| 4/4 | nfct: add protocol filterinput/ ulogd.conf.in | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Ulogd PATCH 0/4] Implement filter for NFCT
Hello,
This patchset implements filtering capability in NFCT input plugin. For now this is only possible when NFCT is used in event mode as the libnetfilter_conntrack library does not support filtering of dump.
It adds a set of variable t the configuration of a NFCT capture in ulogd.conf:
# source ip of connection must belong to these networks accept_src_filter=192.168.1.0/24,1:2::/64 # destination ip of connection must belong to these networks accept_dst_filter=192.168.1.0/24 # layer 4 proto of connections accept_proto_filter=tcp,sctp
Patchset statistics:
include/ulogd/addr.h | 18 +++ input/flow/ulogd_inpflow_NFCT.c | 274 ++++++++++++++++++++++++++++++++- src/Makefile.am | 2 +- src/addr.c | 113 ++++++++++++++ ulogd.conf.in | 5 + 5 files changed, 408 insertions(+), 4 deletions(-)
BR,
--
Eric Leblond <[email protected]>