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_CONDITION
) += ipt_condition
16 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_CONNBYTES
) += ipt_connbytes
17 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_LIMIT
) += ipt_limit
18 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_TARGET_LOG
) += ipt_LOG
19 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_MULTIPORT
) += multiport
20 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_OWNER
) += ipt_owner
21 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += ipt_physdev
22 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_PKTTYPE
) += ipt_pkttype
23 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_QUOTA
) += ipt_quota
24 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_RECENT
) += ipt_recent
25 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_TARGET_REJECT
) += ipt_REJECT
26 IPKG_KMOD_IPT_EXTRA-
$(CONFIG_IP_NF_MATCH_STRING
) += ipt_string
28 IPKG_KMOD_IPT_FILTER-m
:=
29 IPKG_KMOD_IPT_FILTER-
$(CONFIG_IP_NF_MATCH_IPP2P
) += ipt_ipp2p
30 IPKG_KMOD_IPT_FILTER-
$(CONFIG_IP_NF_MATCH_LAYER7
) += ipt_layer7
32 IPKG_KMOD_IPT_IPOPT-m
:=
33 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_DSCP
) += ipt_dscp
34 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_DSCP
) += ipt_DSCP
35 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_ECN
) += ipt_ecn
36 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_ECN
) += ipt_ECN
37 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_LENGTH
) += ipt_length
38 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_MAC
) += ipt_mac
39 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_MARK
) += ipt_mark
40 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_MARK
) += ipt_MARK
41 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_TCPMSS
) += ipt_tcpmss
42 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_TCPMSS
) += ipt_TCPMSS
43 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_TOS
) += ipt_tos
44 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_TOS
) += ipt_TOS
45 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_TTL
) += ipt_ttl
46 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_TARGET_TTL
) += ipt_TTL
47 IPKG_KMOD_IPT_IPOPT-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += ipt_unclean
49 IPKG_KMOD_IPT_IPSEC-m
:=
50 IPKG_KMOD_IPT_IPSEC-
$(CONFIG_IP_NF_MATCH_AH_ESP
) += ipt_ah ipt_esp
52 IPKG_KMOD_IPT_NAT-m
:=
53 IPKG_KMOD_IPT_NAT-
$(CONFIG_IP_NF_TARGET_MASQUERADE
) += ipt_MASQUERADE
54 IPKG_KMOD_IPT_NAT-
$(CONFIG_IP_NF_TARGET_MIRROR
) += ipt_MIRROR
55 IPKG_KMOD_IPT_NAT-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += ipt_REDIRECT
57 IPKG_KMOD_IPT_NAT_EXTRA-m
:=
58 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_AMANDA
) += ip_conntrack_amanda
59 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_CT_PROTO_GRE
) += ip_conntrack_proto_gre
60 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_NAT_PROTO_GRE
) += ip_nat_proto_gre
61 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_PPTP
) += ip_conntrack_pptp
62 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_NAT_PPTP
) += ip_nat_pptp
63 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_NAT_SNMP_BASIC
) += ip_nat_snmp_basic
64 IPKG_KMOD_IPT_NAT_EXTRA-
$(CONFIG_IP_NF_TFTP
) += ip_conntrack_tftp
66 IPKG_KMOD_IPT_QUEUE-m
:=
67 IPKG_KMOD_IPT_QUEUE-
$(CONFIG_IP_NF_QUEUE
) += ip_queue
69 IPKG_KMOD_IPT_ULOG-m
:=
70 IPKG_KMOD_IPT_ULOG-
$(CONFIG_IP_NF_TARGET_ULOG
) += ipt_ULOG
77 IPKG_IPTABLES-y
:= ipt_standard
78 IPKG_IPTABLES-y
+= ipt_icmp ipt_tcp ipt_udp
80 IPKG_IPTABLES_MOD_CONNTRACK-m
:=
81 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_CONNMARK
) += ipt_connmark
82 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_TARGET_CONNMARK
) += ipt_CONNMARK
83 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_CONNTRACK
) += ipt_conntrack
84 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_HELPER
) += ipt_helper
85 IPKG_IPTABLES_MOD_CONNTRACK-
$(CONFIG_IP_NF_MATCH_STATE
) += ipt_state
87 IPKG_IPTABLES_MOD_EXTRA-m
:=
88 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_CONDITION
) += ipt_condition
89 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_CONNBYTES
) += ipt_connbytes
90 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_LIMIT
) += ipt_limit
91 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_TARGET_LOG
) += ipt_LOG
92 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_MULTIPORT
) += ipt_multiport
93 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_OWNER
) += ipt_owner
94 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += ipt_physdev
95 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_PKTTYPE
) += ipt_pkttype
96 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_QUOTA
) += ipt_quota
97 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_RECENT
) += ipt_recent
98 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_TARGET_REJECT
) += ipt_REJECT
99 IPKG_IPTABLES_MOD_EXTRA-
$(CONFIG_IP_NF_MATCH_STRING
) += ipt_string
101 IPKG_IPTABLES_MOD_FILTER-m
:=
102 IPKG_IPTABLES_MOD_FILTER-
$(CONFIG_IP_NF_MATCH_IPP2P
) += ipt_ipp2p
103 IPKG_IPTABLES_MOD_FILTER-
$(CONFIG_IP_NF_MATCH_LAYER7
) += ipt_layer7
105 IPKG_IPTABLES_MOD_IMQ-m
:=
106 IPKG_IPTABLES_MOD_IMQ-
$(CONFIG_IP_NF_TARGET_IMQ
) += ipt_IMQ
108 IPKG_IPTABLES_MOD_IPOPT-m
:=
109 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_DSCP
) += ipt_dscp
110 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_DSCP
) += ipt_DSCP
111 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_ECN
) += ipt_ecn
112 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_ECN
) += ipt_ECN
113 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_LENGTH
) += ipt_length
114 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_MAC
) += ipt_mac
115 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_MARK
) += ipt_mark
116 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_MARK
) += ipt_MARK
117 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_TCPMSS
) += ipt_tcpmss
118 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_TCPMSS
) += ipt_TCPMSS
119 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_TOS
) += ipt_tos
120 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_TOS
) += ipt_TOS
121 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_TTL
) += ipt_ttl
122 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_TARGET_TTL
) += ipt_TTL
123 IPKG_IPTABLES_MOD_IPOPT-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += ipt_unclean
125 IPKG_IPTABLES_MOD_IPSEC-m
:=
126 IPKG_IPTABLES_MOD_IPSEC-
$(CONFIG_IP_NF_MATCH_AH_ESP
) += ipt_ah ipt_esp
128 IPKG_IPTABLES_MOD_NAT-m
:=
129 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_NAT
) += ipt_SNAT ipt_DNAT
130 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_TARGET_MASQUERADE
) += ipt_MASQUERADE
131 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_TARGET_MIRROR
) += ipt_MIRROR
132 IPKG_IPTABLES_MOD_NAT-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += ipt_REDIRECT
134 IPKG_IPTABLES_MOD_ULOG-m
:=
135 IPKG_IPTABLES_MOD_ULOG-
$(CONFIG_IP_NF_TARGET_ULOG
) += ipt_ULOG
137 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_CONNTRACK-y
)
138 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_EXTRA-y
)
139 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_FILTER-y
)
140 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_IMQ-y
)
141 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_IPOPT-y
)
142 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_IPSEC-y
)
143 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_NAT-y
)
144 IPKG_IPTABLES-y
+= $(IPKG_IPTABLES_MOD_ULOG-y
)