diff options
author | Alin Nastac <alin.nastac@gmail.com> | 2018-06-25 10:22:21 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-26 08:57:25 +0200 |
commit | ab07ae2f27dd920cb7ba186d9f7ad2ccb1c980c4 (patch) | |
tree | fe977e7a9d888a12f6528227c408051db5fb18a8 /package | |
parent | 094d49cddf9392361b2d9cc1fe4ea08cb45d0d8c (diff) | |
download | upstream-ab07ae2f27dd920cb7ba186d9f7ad2ccb1c980c4.tar.gz upstream-ab07ae2f27dd920cb7ba186d9f7ad2ccb1c980c4.tar.bz2 upstream-ab07ae2f27dd920cb7ba186d9f7ad2ccb1c980c4.zip |
netfilter: add bpf match support
Add xt_bpf modules to {kmod-ipt,iptables-mod}-filter.
Match using Linux Socket Filter. Expects a BPF program in decimal
format. This is the format generated by the nfbpf_compile utility.
Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/netfilter.mk | 1 | ||||
-rw-r--r-- | package/network/utils/iptables/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 51f3544ed6..be469fac15 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -237,6 +237,7 @@ define KernelPackage/ipt-filter/description Netfilter (IPv4) kernel modules for packet content inspection Includes: - string + - bpf endef $(eval $(call KernelPackage,ipt-filter)) diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index b3955b9a97..8423701f07 100644 --- a/package/network/utils/iptables/Makefile +++ b/package/network/utils/iptables/Makefile @@ -151,6 +151,7 @@ Includes support for: Matches: - string + - bpf endef |