Changeset 36e3a1c in freewrt for package/iptables
- Timestamp:
- Aug 30, 2025, 5:37:23 AM (3 months ago)
- Branches:
- freewrt_2_0
- Children:
- df9a3e9
- Parents:
- 2400aa1
- git-author:
- Waldemar Brodkorb <wbx@…> (08/29/25 23:42:41)
- git-committer:
- Waldemar Brodkorb <wbx@…> (08/30/25 05:37:23)
- Location:
- package/iptables
- Files:
-
- 2 added
- 6 deleted
- 5 edited
-
Config.in (modified) (2 diffs)
-
Makefile (modified) (4 diffs)
-
ipkg/iptables-mod-conntrack.control (modified) (1 diff)
-
ipkg/iptables-mod-extra.control (deleted)
-
ipkg/iptables-mod-filter.control (deleted)
-
ipkg/iptables-mod-imq.control (deleted)
-
ipkg/iptables-mod-ipopt.control (deleted)
-
ipkg/iptables-mod-ipsec.control (deleted)
-
ipkg/iptables-mod-masquerade.control (added)
-
ipkg/iptables-mod-nat.control (modified) (1 diff)
-
ipkg/iptables-mod-reject.control (modified) (1 diff)
-
ipkg/iptables-mod-tcpmss.control (added)
-
ipkg/iptables-mod-ulog.control (deleted)
Legend:
- Unmodified
- Added
- Removed
-
package/iptables/Config.in
r2400aa1 r36e3a1c 41 41 depends FWRT_PACKAGE_IPTABLES 42 42 help 43 Iptables (IPv4) extensions for connection tracking 43 Iptables extensions for connection tracking 44 45 config FWRT_PACKAGE_IPTABLES_MOD_NAT 46 prompt "iptables-mod-nat................ Iptables extensions for network address translation" 47 tristate 48 default n 49 depends FWRT_PACKAGE_IPTABLES 50 help 51 Iptables extensions for network address translation 52 53 config FWRT_PACKAGE_IPTABLES_MOD_MASQUERADE 54 prompt "iptables-mod-masquerade......... Iptables extensions for masquerading" 55 tristate 56 default n 57 depends FWRT_PACKAGE_IPTABLES 58 select FWRT_PACKAGE_IPTABLES_MOD_NAT 59 help 60 Iptables extensions for masquerading 44 61 45 62 config FWRT_PACKAGE_IPTABLES_MOD_REJECT … … 49 66 depends FWRT_PACKAGE_IPTABLES 50 67 help 51 Iptables (IPv4)extensions for REJECT target68 Iptables extensions for REJECT target 52 69 53 config FWRT_PACKAGE_IPTABLES_MOD_ FILTER54 prompt "iptables-mod- filter............. Iptables extension for packet content inspection"70 config FWRT_PACKAGE_IPTABLES_MOD_TCPMSS 71 prompt "iptables-mod-tcpmss............. Iptables extensions for TCP MSS" 55 72 tristate 56 73 default n 57 74 depends FWRT_PACKAGE_IPTABLES 58 select FWRT_PACKAGE_KMOD_IPT_FILTER59 75 help 60 Iptables (IPv4) extension for packet content inspection76 Iptables extensions for TCP MSS target 61 77 62 Includes:63 * libipt_ipp2p64 * libipt_layer765 66 config FWRT_PACKAGE_IPTABLES_MOD_IMQ67 prompt "iptables-mod-imq................ Iptables extensions for Intermediate Queuing Device QoS-support"68 tristate69 default n70 depends FWRT_PACKAGE_IPTABLES71 select FWRT_PACKAGE_KMOD_IMQ72 help73 Iptables (IPv4) extensions for Intermediate Queuing Device QoS-support74 75 Includes:76 * libipt_IMQ77 78 config FWRT_PACKAGE_IPTABLES_MOD_IPOPT79 prompt "iptables-mod-ipopt.............. Iptables extensions for matching/changing IP packet options"80 tristate81 default n82 depends FWRT_PACKAGE_IPTABLES83 select FWRT_PACKAGE_KMOD_IPT_IPOPT84 help85 Extra Iptables (IPv4) extensions for matching/changing IP packet options86 87 Includes:88 * libipt_CLASSIFY89 * libipt_dscp/DSCP90 * libipt_ecn/ECN91 * libipt_length92 * libipt_mac93 * libipt_NETMAP94 * libipt_tcpmms95 * libipt_time96 * libipt_tos/TOS97 * libipt_ttl/TTL98 * libipt_unclean99 100 config FWRT_PACKAGE_IPTABLES_MOD_IPSEC101 prompt "iptables-mod-ipsec.............. Iptables extensions for matching special IPsec packets"102 tristate103 default n104 depends FWRT_PACKAGE_IPTABLES105 select FWRT_PACKAGE_KMOD_IPT_IPSEC106 help107 Iptables (IPv4) extensions for matching special IPsec packets108 109 Includes:110 * libipt_ah111 * libipt_esp112 113 config FWRT_PACKAGE_IPTABLES_MOD_NAT114 prompt "iptables-mod-nat................ Iptables extensions for different NAT targets"115 tristate116 default n117 depends FWRT_PACKAGE_IPTABLES118 select FWRT_PACKAGE_KMOD_IPT_NAT119 help120 Iptables (IPv4) extensions for different NAT targets121 122 Includes:123 * libipt_REDIRECT124 125 config FWRT_PACKAGE_IPTABLES_MOD_ULOG126 prompt "iptables-mod-ulog............... Iptables extensions for user-space packet logging"127 tristate128 default n129 depends FWRT_PACKAGE_IPTABLES130 select FWRT_PACKAGE_KMOD_IPT_ULOG131 help132 Iptables (IPv4) extensions for user-space packet logging133 134 Includes:135 * libipt_ULOG136 137 config FWRT_PACKAGE_IPTABLES_MOD_EXTRA138 prompt "iptables-mod-extra.............. Other extra Iptables extensions"139 tristate140 default n141 depends FWRT_PACKAGE_IPTABLES142 select FWRT_PACKAGE_KMOD_IPT_EXTRA143 help144 Other extra Iptables (IPv4) extensions145 146 Includes:147 * libipt_limit148 * libipt_owner149 * libipt_physdev150 * libipt_pkttype151 * libipt_recent152 * libipt_LOG153 78 154 79 config FWRT_PACKAGE_IPTABLES_UTILS -
package/iptables/Makefile
r2400aa1 r36e3a1c 13 13 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.xz 14 14 15 define IPKG_plugin_template16 17 $$(IPKG_$(1)):18 install -m0755 -d $$(IDIR_$(1))/usr/lib/xtables19 for m in $(2); do \20 $(INSTALL_DATA) $(WRKINST)/usr/lib/xtables/lib$$$${m}.so $$(IDIR_$(1))/usr/lib/xtables/ ; \21 done22 @[ -z "$(3)" ] || $(MAKE) $(3)23 $(RSTRIP) $$(IDIR_$(1))24 $(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR)25 26 endef27 28 15 include $(TOPDIR)/mk/package.mk 29 16 include $(LINUX_DIR)/.config 30 include $(TOPDIR)/mk/netfilter.mk31 17 32 18 $(eval $(call PKG_template,IPTABLES,iptables,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) … … 37 23 $(eval $(call PKG_template,IPTABLES_MOD_CONNTRACK,iptables-mod-conntrack,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 38 24 $(eval $(call PKG_template,IPTABLES_MOD_REJECT,iptables-mod-reject,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 25 $(eval $(call PKG_template,IPTABLES_MOD_NAT,iptables-mod-nat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 26 $(eval $(call PKG_template,IPTABLES_MOD_MASQUERADE,iptables-mod-masquerade,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 39 27 $(eval $(call PKG_template,IPTABLES_MOD_TCPMSS,iptables-mod-tcpmss,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 40 $(eval $(call PKG_template,IPTABLES_MOD_EXTRA,iptables-mod-extra,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))41 $(eval $(call PKG_template,IPTABLES_MOD_FILTER,iptables-mod-filter,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))42 $(eval $(call PKG_template,IPTABLES_MOD_IMQ,iptables-mod-imq,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))43 $(eval $(call PKG_template,IPTABLES_MOD_IPOPT,iptables-mod-ipopt,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))44 $(eval $(call PKG_template,IPTABLES_MOD_IPSEC,iptables-mod-ipsec,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))45 $(eval $(call PKG_template,IPTABLES_MOD_NAT,iptables-mod-nat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))46 $(eval $(call PKG_template,IPTABLES_MOD_ULOG,iptables-mod-ulog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))47 48 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_CONNTRACK,$(IPT_CONNTRACK-m)))49 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_REJECT,$(IPT_REJECT-m)))50 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_TCPMSS,$(IPT_TCPMSS-m)))51 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_EXTRA,$(IPT_EXTRA-m)))52 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_FILTER,$(IPT_FILTER-m),layer7-install))53 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_IMQ,$(IPT_IMQ-m)))54 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_IPOPT,$(IPT_IPOPT-m)))55 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_IPSEC,$(IPT_IPSEC-m)))56 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_NAT,$(IPT_NAT-m)))57 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_ULOG,$(IPT_ULOG-m)))58 28 59 29 $(WRKBUILD)/.configured: … … 89 59 $(IPKG_BUILD) $(IDIR_IPTABLES) $(PACKAGE_DIR) 90 60 61 $(IPKG_IPTABLES_MOD_CONNTRACK): 62 $(INSTALL_DIR) $(IDIR_IPTABLES_MOD_CONNTRACK)/usr/lib/xtables 63 (cd $(WRKINST)/usr/lib/xtables ; \ 64 $(INSTALL_DATA) libxt_conntrack.so $(IDIR_IPTABLES_MOD_CONNTRACK)/usr/lib/xtables/ \ 65 ) 66 $(RSTRIP) $(IDIR_IPTABLES_MOD_CONNTRACK) 67 $(IPKG_BUILD) $(IDIR_IPTABLES_MOD_CONNTRACK) $(PACKAGE_DIR) 68 69 $(IPKG_IPTABLES_MOD_NAT): 70 $(INSTALL_DIR) $(IDIR_IPTABLES_MOD_NAT)/usr/lib/xtables 71 (cd $(WRKINST)/usr/lib/xtables ; \ 72 $(INSTALL_DATA) libxt_NAT.so $(IDIR_IPTABLES_MOD_NAT)/usr/lib/xtables/ \ 73 ) 74 $(RSTRIP) $(IDIR_IPTABLES_MOD_NAT) 75 $(IPKG_BUILD) $(IDIR_IPTABLES_MOD_NAT) $(PACKAGE_DIR) 76 77 $(IPKG_IPTABLES_MOD_MASQUERADE): 78 $(INSTALL_DIR) $(IDIR_IPTABLES_MOD_MASQUERADE)/usr/lib/xtables 79 (cd $(WRKINST)/usr/lib/xtables ; \ 80 $(CP) libxt_MASQUERADE.so $(IDIR_IPTABLES_MOD_MASQUERADE)/usr/lib/xtables/ \ 81 ) 82 $(RSTRIP) $(IDIR_IPTABLES_MOD_MASQUERADE) 83 $(IPKG_BUILD) $(IDIR_IPTABLES_MOD_MASQUERADE) $(PACKAGE_DIR) 84 85 $(IPKG_IPTABLES_MOD_REJECT): 86 $(INSTALL_DIR) $(IDIR_IPTABLES_MOD_REJECT)/usr/lib/xtables 87 (cd $(WRKINST)/usr/lib/xtables ; \ 88 $(CP) libipt_REJECT.so $(IDIR_IPTABLES_MOD_REJECT)/usr/lib/xtables/ \ 89 ) 90 $(RSTRIP) $(IDIR_IPTABLES_MOD_REJECT) 91 $(IPKG_BUILD) $(IDIR_IPTABLES_MOD_REJECT) $(PACKAGE_DIR) 92 93 $(IPKG_IPTABLES_MOD_TCPMSS): 94 $(INSTALL_DIR) $(IDIR_IPTABLES_MOD_TCPMSS)/usr/lib/xtables 95 (cd $(WRKINST)/usr/lib/xtables ; \ 96 $(CP) libxt_tcpmss.so libxt_TCPMSS.so $(IDIR_IPTABLES_MOD_TCPMSS)/usr/lib/xtables/ \ 97 ) 98 $(RSTRIP) $(IDIR_IPTABLES_MOD_TCPMSS) 99 $(IPKG_BUILD) $(IDIR_IPTABLES_MOD_TCPMSS) $(PACKAGE_DIR) 100 101 91 102 $(IPKG_IPTABLES_FIREWALL_SCRIPT): 92 103 $(INSTALL_DIR) $(IDIR_IPTABLES_FIREWALL_SCRIPT)/etc/init.d … … 111 122 $(RSTRIP) $(IDIR_IP6TABLES) 112 123 $(IPKG_BUILD) $(IDIR_IP6TABLES) $(PACKAGE_DIR) 113 114 layer7-install:115 $(INSTALL_DIR) $(IDIR_IPTABLES_MOD_FILTER)/etc/l7-protocols116 $(INSTALL_DATA) files/l7/*.pat $(IDIR_IPTABLES_MOD_FILTER)/etc/l7-protocols/ -
package/iptables/ipkg/iptables-mod-conntrack.control
r2400aa1 r36e3a1c 2 2 Priority: optional 3 3 Section: net 4 Depends: iptables, kmod-ipt -conntrack4 Depends: iptables, kmod-iptables-conntrack 5 5 Description: Iptables (IPv4) extensions for connection tracking -
package/iptables/ipkg/iptables-mod-nat.control
r2400aa1 r36e3a1c 2 2 Priority: optional 3 3 Section: net 4 Depends: iptables, kmod-ipt -nat4 Depends: iptables, kmod-iptables-nat 5 5 Description: Iptables (IPv4) extensions for different NAT targets -
package/iptables/ipkg/iptables-mod-reject.control
r2400aa1 r36e3a1c 2 2 Priority: optional 3 3 Section: net 4 Depends: iptables 5 Description: Iptables (IPv4) extensions for REJECT target 4 Depends: iptables, kmod-iptables-reject 5 Description: Iptables (IPv4) extensions for REJECT targets
Note:
See TracChangeset
for help on using the changeset viewer.
