1 # $Id: netfilter.mk 2411 2005-11-11 03:41:43Z nico $
7 IPKG_KMOD_IPT_CONNTRACK-m
:=
8 IPKG_KMOD_IPT_CONNTRACK-
$(CONFIG_IP_NF_MATCH_CONNTRACK
) += ipt_conntrack
9 IPKG_KMOD_IPT_CONNTRACK-
$(CONFIG_IP_NF_MATCH_HELPER
) += ipt_helper
10 IPKG_KMOD_IPT_CONNTRACK-
$(CONFIG_IP_NF_MATCH_CONNMARK
) += ipt_connmark
11 IPKG_KMOD_IPT_CONNTRACK-
$(CONFIG_IP_NF_TARGET_CONNMARK
) += ipt_CONNMARK
12 IPKG_KMOD_IPT_CONNTRACK-
$(CONFIG_IP_NF_MATCH_STATE
) += ipt_state
14 IPKG_KMOD_IPT_EXTRA-m
:=
15 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_LIMIT
) += ipt_limit
16 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_TARGET_LOG
) += ipt_LOG
17 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_MULTIPORT
) += multiport
18 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_OWNER
) += ipt_owner
19 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += ipt_physdev
20 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_PKTTYPE
) += ipt_pkttype
21 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_RECENT
) += ipt_recent
22 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_TARGET_REJECT
) += ipt_REJECT
24 IPKG_KMOD_IPT_FILTER-m
:=
25 IPKG_KMOD_IPT_FILTER-
$(CONFIG_IP_NF_MATCH_IPP2P
) += ipt_ipp2p
26 IPKG_KMOD_IPT_FILTER-
$(CONFIG_IP_NF_MATCH_LAYER7
) += ipt_layer7
28 IPKG_KMOD_IPT_IPOPT-m
:=
29 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_DSCP
) += ipt_dscp
30 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_DSCP
) += ipt_DSCP
31 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_ECN
) += ipt_ecn
32 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_ECN
) += ipt_ECN
33 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_LENGTH
) += ipt_length
34 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_MAC
) += ipt_mac
35 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_MARK
) += ipt_mark
36 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_MARK
) += ipt_MARK
37 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_TCPMSS
) += ipt_tcpmss
38 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_TCPMSS
) += ipt_TCPMSS
39 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_TOS
) += ipt_tos
40 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_TOS
) += ipt_TOS
41 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_TTL
) += ipt_ttl
42 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_TTL
) += ipt_TTL
43 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += ipt_unclean
45 IPKG_KMOD_IPT_IPSEC-m
:=
46 IPKG_KMOD_IPT_IPSEC-
$(CONFIG_IP_NF_MATCH_AH_ESP
) += ipt_ah ipt_esp
48 IPKG_KMOD_IPT_NAT-m
:=
49 IPKG_KMOD_IPT_NAT-
$(CONFIG_IP_NF_TARGET_MASQUERADE
) += ipt_MASQUERADE
50 IPKG_KMOD_IPT_NAT-
$(CONFIG_IP_NF_TARGET_MIRROR
) += ipt_MIRROR
51 IPKG_KMOD_IPT_NAT-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += ipt_REDIRECT
53 IPKG_KMOD_IPT_NAT_EXTRA-m
:=
54 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_AMANDA
) += ip_conntrack_amanda
55 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_CT_PROTO_GRE
) += ip_conntrack_proto_gre
56 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_NAT_PROTO_GRE
) += ip_nat_proto_gre
57 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_PPTP
) += ip_conntrack_pptp
58 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_NAT_PPTP
) += ip_nat_pptp
59 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_NAT_SNMP_BASIC
) += ip_nat_snmp_basic
60 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_TFTP
) += ip_conntrack_tftp
62 IPKG_KMOD_IPT_QUEUE-m
:=
63 IPKG_KMOD_IPT_QUEUE-
$(CONFIG_IP_NF_QUEUE
) += ip_queue
65 IPKG_KMOD_IPT_ULOG-m
:=
66 IPKG_KMOD_IPT_ULOG-
$(CONFIG_IP_NF_TARGET_ULOG
) += ipt_ULOG
73 IPKG_IPTABLES-y
:= ipt_standard
74 IPKG_IPTABLES-y
+= ipt_icmp ipt_tcp ipt_udp
76 IPKG_IPTABLES_MOD_CONNTRACK-m
:=
77 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_CONNMARK
) += ipt_connmark
78 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_TARGET_CONNMARK
) += ipt_CONNMARK
79 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_CONNTRACK
) += ipt_conntrack
80 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_HELPER
) += ipt_helper
81 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_STATE
) += ipt_state
83 IPKG_IPTABLES_MOD_EXTRA-m
:=
84 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_LIMIT
) += ipt_limit
85 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_TARGET_LOG
) += ipt_LOG
86 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_MULTIPORT
) += ipt_multiport
87 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_OWNER
) += ipt_owner
88 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += ipt_physdev
89 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_PKTTYPE
) += ipt_pkttype
90 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_RECENT
) += ipt_recent
91 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_TARGET_REJECT
) += ipt_REJECT
93 IPKG_IPTABLES_MOD_FILTER-m
:=
94 IPKG_IPTABLES_MOD_FILTER-
$(CONFIG_IP_NF_MATCH_IPP2P
) += ipt_ipp2p
95 IPKG_IPTABLES_MOD_FILTER-
$(CONFIG_IP_NF_MATCH_LAYER7
) += ipt_layer7
97 IPKG_IPTABLES_MOD_IMQ-m
:=
98 IPKG_IPTABLES_MOD_IMQ-
$(CONFIG_IP_NF_TARGET_IMQ
) += ipt_IMQ
100 IPKG_IPTABLES_MOD_IPOPT-m
:=
101 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_DSCP
) += ipt_dscp
102 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_DSCP
) += ipt_DSCP
103 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_ECN
) += ipt_ecn
104 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_ECN
) += ipt_ECN
105 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_LENGTH
) += ipt_length
106 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_MAC
) += ipt_mac
107 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_MARK
) += ipt_mark
108 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_MARK
) += ipt_MARK
109 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_TCPMSS
) += ipt_tcpmss
110 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_TCPMSS
) += ipt_TCPMSS
111 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_TOS
) += ipt_tos
112 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_TOS
) += ipt_TOS
113 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_TTL
) += ipt_ttl
114 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_TTL
) += ipt_TTL
115 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += ipt_unclean
117 IPKG_IPTABLES_MOD_IPSEC-m
:=
118 IPKG_IPTABLES_MOD_IPSEC-
$(CONFIG_IP_NF_MATCH_AH_ESP
) += ipt_ah ipt_esp
120 IPKG_IPTABLES_MOD_NAT-m
:=
121 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_NAT
) += ipt_SNAT ipt_DNAT
122 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_TARGET_MASQUERADE
) += ipt_MASQUERADE
123 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_TARGET_MIRROR
) += ipt_MIRROR
124 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += ipt_REDIRECT
126 IPKG_IPTABLES_MOD_ULOG-m
:=
127 IPKG_IPTABLES_MOD_ULOG-
$(CONFIG_IP_NF_TARGET_ULOG
) += ipt_ULOG
129 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_CONNTRACK-y
)
130 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_EXTRA-y
)
131 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_FILTER-y
)
132 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_IMQ-y
)
133 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_IPOPT-y
)
134 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_IPSEC-y
)
135 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_NAT-y
)
136 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_ULOG-y
)