From 4f449c2fbcba609fbada2cae54d2567f5c5d1fbc Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 21 Feb 2013 22:33:44 +0000 Subject: 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') git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35738 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/firewall3/Makefile | 4 ++-- package/network/config/firewall3/files/firewall.init | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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 +} -- cgit v1.2.3