From: Jo-Philipp Wich Date: Thu, 21 Feb 2013 22:33:44 +0000 (+0000) Subject: firewall3: update to git head X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7d7d88b58047d269f6216ceab61c943df1b1a8ca;p=openwrt%2Fstaging%2Fjow.git firewall3: update to git head - all uci rules are boxed in custom chains now, so a firewall stop leaves user rules intact - properly handle selective ipv4 or ipv6 only firewall start/stop/restart actions - support ip ranges (e.g. option src_ip '!192.168.1.1-192.168.1.100' -> -m iprange ! --src-range 192.168.1.1-192.168.1.100') - support time options (e.g. option weekdays 'Mon Tue Sat' -> -m time --weekdays 1,2,6') SVN-Revision: 35738 --- diff --git a/package/network/config/firewall3/Makefile b/package/network/config/firewall3/Makefile index 063e554677..5282613d65 100644 --- a/package/network/config/firewall3/Makefile +++ b/package/network/config/firewall3/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=firewall3 -PKG_VERSION:=2013-02-17 +PKG_VERSION:=2013-02-21 PKG_RELEASE:=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://nbd.name/firewall3.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=a32e331a11034403df2e26807df9195435b6fb8a +PKG_SOURCE_VERSION:=fe3ecee341da8542aa25b962dcb8bcc628fcdd1e PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MAINTAINER:=Jo-Philipp Wich diff --git a/package/network/config/firewall3/files/firewall.init b/package/network/config/firewall3/files/firewall.init index bddbadd880..8c1dbd94ca 100755 --- a/package/network/config/firewall3/files/firewall.init +++ b/package/network/config/firewall3/files/firewall.init @@ -15,3 +15,7 @@ start() { stop() { fw3 stop } + +restart() { + fw3 restart +}