2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 NFMENU
:=Netfilter Extensions
11 define KernelPackage
/ipt-conntrack
12 TITLE
:=Modules for connection tracking
14 Netfilter
(IPv4
) kernel modules for connection tracking
\\\
19 - ipt_connmark
/CONNMARK
20 FILES
:=$(foreach mod
,$(IPT_CONNTRACK-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
23 $(eval
$(call KernelPackage
,ipt-conntrack
))
25 define KernelPackage
/ipt-filter
26 TITLE
:=Modules for packet content inspection
28 Netfilter
(IPv4
) kernel modules for packet content inspection
\\\
33 FILES
:=$(foreach mod
,$(IPT_FILTER-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
36 $(eval
$(call KernelPackage
,ipt-filter
))
38 define KernelPackage
/ipt-ipopt
39 TITLE
:=Modules for matching
/changing IP packet options
41 Netfilter
(IPv4
) modules for matching
/changing IP packet options
\\\
52 FILES
:=$(foreach mod
,$(IPT_IPOPT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
55 $(eval
$(call KernelPackage
,ipt-ipopt
))
57 define KernelPackage
/ipt-ipsec
58 TITLE
:=Modules for matching IPSec packets
60 Netfilter
(IPv4
) modules for matching IPSec packets
\\\
65 FILES
:=$(foreach mod
,$(IPT_IPSEC-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
68 $(eval
$(call KernelPackage
,ipt-ipsec
))
70 define KernelPackage
/ipt-nat
71 TITLE
:=Modules for extra NAT targets
73 Netfilter
(IPv4
) modules for extra NAT targets
\\\
78 FILES
:=$(foreach mod
,$(IPT_NAT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
81 $(eval
$(call KernelPackage
,ipt-nat
))
83 define KernelPackage
/ipt-nathelper
84 TITLE
:=Extra Conntrack and NAT helpers
86 Extra Netfilter
(IPv4
) Conntrack and NAT helpers
\\\
89 - ip_conntrack_amanda
\\\
90 - ip_conntrack_proto_gre
\\\
91 - ip_nat_proto_gre
\\\
92 - ip_conntrack_pptp
\\\
94 - ip_conntrack_sip
\\\
96 - ip_nat_snmp_basic
\\\
98 FILES
:=$(foreach mod
,$(IPT_NAT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
101 $(eval
$(call KernelPackage
,ipt-nathelper
))
103 define KernelPackage
/ipt-imq
104 TITLE
:=Intermediate Queueing support
106 Kernel support for Intermediate Queueing devices
107 KCONFIG
:=$(CONFIG_IP_NF_TARGET_IMQ
)
108 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/*IMQ
*.
$(LINUX_KMOD_SUFFIX
) $(MODULES_DIR
)/kernel
/drivers
/net
/imq.
$(LINUX_KMOD_SUFFIX
)
111 $(eval
$(call KernelPackage
,ipt-imq
))
114 define KernelPackage
/ipt-queue
115 TITLE
:=Module for user-space packet queueing
117 Netfilter
(IPv4
) module for user-space packet queueing
\\\
121 FILES
:=$(foreach mod
,$(IPT_QUEUE-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
124 $(eval
$(call KernelPackage
,ipt-queue
))
126 define KernelPackage
/ipt-ulog
127 TITLE
:=Module for user-space packet logging
129 Netfilter
(IPv4
) module for user-space packet logging
\\\
133 FILES
:=$(foreach mod
,$(IPT_ULOG-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
136 $(eval
$(call KernelPackage
,ipt-ulog
))
138 define KernelPackage
/ipt-extra
141 Other Netfilter
(IPv4
) kernel modules
\\\
148 FILES
:=$(foreach mod
,$(IPT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
151 $(eval
$(call KernelPackage
,ipt-extra
))
153 define KernelPackage
/ip6tables
156 Netfilter IPv6 firewalling support
157 KCONFIG
:=$(CONFIG_IP6_NF_IPTABLES
)
158 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/netfilter
/ip
*.
$(LINUX_KMOD_SUFFIX
)
161 $(eval
$(call KernelPackage
,ip6tables
))
164 define KernelPackage
/arptables
165 TITLE
:=ARP firewalling modules
167 Kernel modules for ARP firewalling
168 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/arp
*.
$(LINUX_KMOD_SUFFIX
)
169 KCONFIG
:=$(CONFIG_IP_NF_ARPTABLES
)
172 $(eval
$(call KernelPackage
,arptables
))
175 define KernelPackage
/ebtables
176 TITLE
:=Bridge firewalling modules
178 Kernel modules for Ethernet Bridge firewalling
179 FILES
:=$(MODULES_DIR
)/kernel
/net
/bridge
/netfilter
/*.
$(LINUX_KMOD_SUFFIX
)
180 KCONFIG
:=$(CONFIG_BRIDGE_NF_EBTABLES
)
183 $(eval
$(call KernelPackage
,ebtables
))