mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -283,6 +283,27 @@ endef
|
||||
$(eval $(call KernelPackage,ipt-ulog))
|
||||
|
||||
|
||||
define KernelPackage/ipt-tproxy
|
||||
TITLE:=Transparent proxying support
|
||||
DEPENDS:=@LINUX_2_6
|
||||
KCONFIG:= \
|
||||
CONFIG_NETFILTER_TPROXY \
|
||||
CONFIG_NETFILTER_XT_MATCH_SOCKET \
|
||||
CONFIG_NETFILTER_XT_TARGET_TPROXY
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/netfilter/nf_tproxy_core.$(LINUX_KMOD_SUFFIX) \
|
||||
$(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
||||
AUTOLOAD:=$(call AutoLoad,45,$(notdir nf_tproxy_core $(IPT_TPROXY-m)))
|
||||
$(call AddDepends/ipt)
|
||||
endef
|
||||
|
||||
define KernelPackage/ipt-tproxy/description
|
||||
Kernel modules for Transparent Proxying
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ipt-tproxy))
|
||||
|
||||
|
||||
define KernelPackage/ipt-iprange
|
||||
TITLE:=Module for matching ip ranges
|
||||
KCONFIG:=$(KCONFIG_IPT_IPRANGE)
|
||||
|
||||
Reference in New Issue
Block a user