2008-04-15 09:11:23 +03:00
|
|
|
#
|
2008-05-08 14:16:07 +03:00
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
2006-10-17 16:18:01 +03:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
2007-09-16 20:45:15 +03:00
|
|
|
NF_MENU:=Netfilter Extensions
|
2008-05-08 14:16:07 +03:00
|
|
|
NF_KMOD:=1
|
2007-07-23 06:23:46 +03:00
|
|
|
include $(INCLUDE_DIR)/netfilter.mk
|
2006-10-17 16:18:01 +03:00
|
|
|
|
|
|
|
define KernelPackage/ipt-conntrack
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Modules for connection tracking
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_CONNTRACK)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_CONNTRACK-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-conntrack/description
|
|
|
|
Netfilter (IPv4) kernel modules for connection tracking
|
2008-04-15 09:11:23 +03:00
|
|
|
Includes:
|
|
|
|
- ipt_conntrack
|
|
|
|
- ipt_helper
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_connmark/CONNMARK
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-conntrack))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-filter
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Modules for packet content inspection
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_FILTER)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_FILTER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_FILTER-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-filter/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) kernel modules for packet content inspection
|
|
|
|
Includes:
|
|
|
|
- ipt_ipp2p
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_layer7
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-filter))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-ipopt
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Modules for matching/changing IP packet options
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_IPOPT)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_IPOPT-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPOPT-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-ipopt/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) modules for matching/changing IP packet options
|
|
|
|
Includes:
|
|
|
|
- ipt_CLASSIFY
|
|
|
|
- ipt_dscp/DSCP
|
|
|
|
- ipt_ecn/ECN
|
|
|
|
- ipt_length
|
|
|
|
- ipt_mac
|
|
|
|
- ipt_tos/TOS
|
|
|
|
- ipt_tcpmms
|
|
|
|
- ipt_ttl/TTL
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_unclean
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-ipopt))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-ipsec
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Modules for matching IPSec packets
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_IPSEC)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_IPSEC-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPSEC-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-ipsec/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) modules for matching IPSec packets
|
|
|
|
Includes:
|
|
|
|
- ipt_ah
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_esp
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-ipsec))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-nat
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Modules for extra NAT targets
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_NAT)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_NAT-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_NAT-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-nat/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) modules for extra NAT targets
|
|
|
|
Includes:
|
|
|
|
- ipt_REDIRECT
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_NETMAP
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-nat))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-nathelper
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-11-19 03:03:47 +02:00
|
|
|
TITLE:=Default Conntrack and NAT helpers
|
2008-05-08 14:32:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_NATHELPER)
|
2008-05-09 10:16:15 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_NATHELPER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_NATHELPER-m)))
|
2006-11-19 03:03:47 +02:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-nathelper/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Default Netfilter (IPv4) Conntrack and NAT helpers
|
|
|
|
Includes:
|
|
|
|
- ip_conntrack_ftp
|
|
|
|
- ip_nat_ftp
|
|
|
|
- ip_conntrack_irc
|
|
|
|
- ip_nat_irc
|
2007-09-07 11:34:51 +03:00
|
|
|
- ip_conntrack_tftp
|
|
|
|
endef
|
|
|
|
|
2006-11-19 03:03:47 +02:00
|
|
|
$(eval $(call KernelPackage,ipt-nathelper))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-11-19 03:03:47 +02:00
|
|
|
define KernelPackage/ipt-nathelper-extra
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Extra Conntrack and NAT helpers
|
2008-05-08 14:32:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_NATHELPER_EXTRA)
|
|
|
|
FILES:=$(foreach mod,$(IPT_NATHELPER_EXTRA-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_NATHELPER_EXTRA-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-nathelper-extra/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Extra Netfilter (IPv4) Conntrack and NAT helpers
|
|
|
|
Includes:
|
|
|
|
- ip_conntrack_amanda
|
|
|
|
- ip_conntrack_proto_gre
|
|
|
|
- ip_nat_proto_gre
|
|
|
|
- ip_conntrack_pptp
|
|
|
|
- ip_nat_pptp
|
|
|
|
- ip_conntrack_sip
|
|
|
|
- ip_nat_sip
|
2007-09-07 11:34:51 +03:00
|
|
|
- ip_nat_snmp_basic
|
|
|
|
endef
|
|
|
|
|
2006-11-19 03:23:07 +02:00
|
|
|
$(eval $(call KernelPackage,ipt-nathelper-extra))
|
2006-10-17 16:18:01 +03:00
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-imq
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Intermediate Queueing support
|
2008-08-21 16:17:47 +03:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_IMQ \
|
|
|
|
CONFIG_IMQ_BEHAVIOR_BA=y \
|
|
|
|
CONFIG_IMQ_NUM_DEVS=2 \
|
|
|
|
CONFIG_IP_NF_TARGET_IMQ
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) \
|
|
|
|
$(foreach mod,$(IPT_IMQ-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir \
|
|
|
|
$(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) \
|
|
|
|
$(IPT_IMQ-m) \
|
|
|
|
))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-imq/description
|
|
|
|
Kernel support for Intermediate Queueing devices
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-imq))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/ipt-queue
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Module for user-space packet queueing
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_QUEUE)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_QUEUE-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_QUEUE-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-queue/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) module for user-space packet queueing
|
|
|
|
Includes:
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_QUEUE
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-queue))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-ulog
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Module for user-space packet logging
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_ULOG)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_ULOG-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_ULOG-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-ulog/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) module for user-space packet logging
|
|
|
|
Includes:
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_ULOG
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-ulog))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-06-03 01:57:33 +03:00
|
|
|
define KernelPackage/ipt-iprange
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2007-06-03 01:57:33 +03:00
|
|
|
TITLE:=Module for matching ip ranges
|
2008-04-30 18:42:10 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_IPRANGE-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2007-06-03 01:57:33 +03:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPRANGE-m)))
|
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-iprange/description
|
2008-04-15 09:11:23 +03:00
|
|
|
Netfilter (IPv4) module for matching ip ranges
|
|
|
|
Includes:
|
2007-09-07 11:34:51 +03:00
|
|
|
- ipt_IPRANGE
|
|
|
|
endef
|
|
|
|
|
2007-06-03 01:57:33 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-iprange))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-06-07 18:30:59 +03:00
|
|
|
define KernelPackage/ipt-ipset
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2007-06-07 18:30:59 +03:00
|
|
|
TITLE:=IPSET Modules
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_IPSET)
|
2007-06-07 18:30:59 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_IPSET-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPSET-m)))
|
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-ipset/description
|
|
|
|
Netfilter kernel modules for ipset
|
2008-04-15 09:11:23 +03:00
|
|
|
Includes:
|
|
|
|
- ip_set
|
|
|
|
- ip_set_iphash
|
|
|
|
- ip_set_ipmap
|
|
|
|
- ip_set_ipporthash
|
|
|
|
- ip_set_iptree
|
2007-10-12 17:58:35 +03:00
|
|
|
- ip_set_iptreemap
|
2008-04-15 09:11:23 +03:00
|
|
|
- ip_set_macipmap
|
|
|
|
- ip_set_nethash
|
|
|
|
- ip_set_portmap
|
|
|
|
- ipt_set
|
2007-10-12 17:58:35 +03:00
|
|
|
- ipt_SET
|
2007-09-07 11:34:51 +03:00
|
|
|
endef
|
|
|
|
|
2007-06-07 18:30:59 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-ipset))
|
|
|
|
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ipt-extra
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Extra modules
|
2007-07-23 06:23:46 +03:00
|
|
|
KCONFIG:=$(KCONFIG_IPT_EXTRA)
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_EXTRA-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
2006-11-19 21:26:32 +02:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_EXTRA-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ipt-extra/description
|
|
|
|
Other Netfilter (IPv4) kernel modules
|
2008-04-15 09:11:23 +03:00
|
|
|
Includes:
|
|
|
|
- ipt_limit
|
|
|
|
- ipt_owner
|
|
|
|
- ipt_physdev
|
|
|
|
- ipt_pkttype
|
|
|
|
- ipt_recent
|
|
|
|
- iptable_raw
|
|
|
|
- xt_NOTRACK
|
|
|
|
- xt_TARPIT
|
|
|
|
- xt_DELUDE
|
|
|
|
- xt_CHAOS
|
2007-09-07 11:34:51 +03:00
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ipt-extra))
|
|
|
|
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
define KernelPackage/ip6tables
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=IPv6 modules
|
2008-06-02 22:46:47 +03:00
|
|
|
DEPENDS:=+kmod-ipv6
|
2007-07-18 14:31:01 +03:00
|
|
|
KCONFIG:=CONFIG_IP6_NF_IPTABLES
|
2007-09-23 20:22:17 +03:00
|
|
|
FILES:=$(foreach mod,$(IPT_IPV6-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPV6-m)))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ip6tables/description
|
|
|
|
Netfilter IPv6 firewalling support
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ip6tables))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/arptables
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=ARP firewalling modules
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(LINUX_DIR)/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)
|
2007-07-18 14:31:01 +03:00
|
|
|
KCONFIG:=CONFIG_IP_NF_ARPTABLES
|
2007-04-18 15:28:38 +03:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)))))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/arptables/description
|
|
|
|
Kernel modules for ARP firewalling
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,arptables))
|
|
|
|
|
|
|
|
define KernelPackage/ebtables
|
2007-09-16 20:45:15 +03:00
|
|
|
SUBMENU:=$(NF_MENU)
|
2006-10-17 16:18:01 +03:00
|
|
|
TITLE:=Bridge firewalling modules
|
2008-01-06 14:58:01 +02:00
|
|
|
DEPENDS:=@LINUX_2_6
|
2007-04-18 15:28:38 +03:00
|
|
|
FILES:=$(LINUX_DIR)/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
|
2008-07-30 03:58:36 +03:00
|
|
|
KCONFIG:=CONFIG_BRIDGE_NETFILTER=y \
|
|
|
|
CONFIG_BRIDGE_NF_EBTABLES
|
2007-04-18 15:28:38 +03:00
|
|
|
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,ebtables.ko $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebtable_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebt_*.$(LINUX_KMOD_SUFFIX)))))
|
2006-10-17 16:18:01 +03:00
|
|
|
endef
|
2007-08-28 14:44:15 +03:00
|
|
|
|
2007-09-07 11:34:51 +03:00
|
|
|
define KernelPackage/ebtables/description
|
|
|
|
Kernel modules for Ethernet Bridge firewalling
|
|
|
|
endef
|
|
|
|
|
2006-10-17 16:18:01 +03:00
|
|
|
$(eval $(call KernelPackage,ebtables))
|