Changeset 12089


Ignore:
Timestamp:
2008-08-04T13:51:58+02:00 (10 years ago)
Author:
blogic
Message:

adds a new uci firewall

  • iptbales and netfilter packages need to be rewrapped when we switch to this firewall as default
  • there are some examples in the file /etc/config/firewall
  • iptables-save/restore are still missing
  • hotplug takes care of adding/removing netdevs during runtime
  • misisng features ? wishes ? let me know ...
Location:
trunk
Files:
14 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r11460 r12089  
    1515DEFAULT_PACKAGES:=base-files libgcc uclibc busybox dropbear mtd uci 
    1616# For router targets 
    17 DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper bridge 
     17DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper bridge firewall 
    1818 
    1919# Additional packages for Linux 2.6 
  • trunk/package/iptables/Makefile

    r11335 r12089  
    5757  TITLE:=IPv4 firewall administration tool 
    5858  MENU:=1 
    59 endef 
    60  
    61 define Package/iptables/conffiles 
    62 /etc/firewall.config 
    63 /etc/firewall.user 
    6459endef 
    6560 
     
    248243 
    249244define Package/iptables/install 
    250         $(INSTALL_DIR) $(1)/etc/config 
    251         $(INSTALL_DATA) ./files/firewall.config $(1)/etc/ 
    252         $(INSTALL_DIR) $(1)/etc/init.d 
    253         $(INSTALL_BIN) ./files/firewall.init $(1)/etc/init.d/firewall 
    254         $(INSTALL_BIN) ./files/firewall.user $(1)/etc/ 
    255         $(INSTALL_DIR) $(1)/usr/lib 
    256         $(INSTALL_DATA) ./files/firewall.awk $(1)/usr/lib 
    257245        $(INSTALL_DIR) $(1)/usr/sbin 
    258246        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/ 
Note: See TracChangeset for help on using the changeset viewer.