aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAlin Nastac <alin.nastac@gmail.com>2018-06-25 10:22:21 +0200
committerJohn Crispin <john@phrozen.org>2018-06-26 08:57:25 +0200
commitab07ae2f27dd920cb7ba186d9f7ad2ccb1c980c4 (patch)
treefe977e7a9d888a12f6528227c408051db5fb18a8 /package
parent094d49cddf9392361b2d9cc1fe4ea08cb45d0d8c (diff)
downloadupstream-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.mk1
-rw-r--r--package/network/utils/iptables/Makefile1
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