summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nodogsplash/Makefile7
-rw-r--r--nodogsplash/files/etc/config/nodogsplash7
-rwxr-xr-xnodogsplash/files/etc/init.d/nodogsplash7
3 files changed, 14 insertions, 7 deletions
diff --git a/nodogsplash/Makefile b/nodogsplash/Makefile
index 786891b..46ff9b1 100644
--- a/nodogsplash/Makefile
+++ b/nodogsplash/Makefile
@@ -7,12 +7,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nodogsplash
PKG_FIXUP:=autoreconf
-PKG_VERSION:=3.2.0
-PKG_RELEASE:=0
+PKG_VERSION:=3.2.1
+PKG_RELEASE:=1
PKG_SOURCE_URL:=https://codeload.github.com/nodogsplash/nodogsplash/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=nodogsplash-$(PKG_VERSION).tar.gz
-PKG_HASH:=c9712c21c2cc88724a8104fa63edd4f69d31af24db0fad84db6105fae2d65809
+PKG_HASH:=16da76ecf7820cd8b32081237e05b24a7d2d8a9db8a47242badc7937d6cf1ae8
PKG_BUILD_DIR:=$(BUILD_DIR)/nodogsplash-$(PKG_VERSION)
PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
@@ -49,6 +49,7 @@ define Package/nodogsplash/install
$(INSTALL_DIR) $(1)/etc/nodogsplash/htdocs/images
$(CP) $(PKG_BUILD_DIR)/resources/splash.html $(1)/etc/nodogsplash/htdocs/
+ $(CP) $(PKG_BUILD_DIR)/resources/splash.css $(1)/etc/nodogsplash/htdocs/
$(CP) $(PKG_BUILD_DIR)/resources/status.html $(1)/etc/nodogsplash/htdocs/
$(CP) $(PKG_BUILD_DIR)/resources/splash.jpg $(1)/etc/nodogsplash/htdocs/images/
endef
diff --git a/nodogsplash/files/etc/config/nodogsplash b/nodogsplash/files/etc/config/nodogsplash
index b7bd13c..714d9bf 100644
--- a/nodogsplash/files/etc/config/nodogsplash
+++ b/nodogsplash/files/etc/config/nodogsplash
@@ -27,8 +27,13 @@ config nodogsplash
#option debuglevel '7'
# Client timeouts in minutes
- option preauthidletimeout '10'
+ option preauthidletimeout '30'
option authidletimeout '120'
+ # Session Timeout is the interval after which clients are forced out (a value of 0 means never)
+ option sessiontimeout '1200'
+
+ # The interval in seconds at which nodogsplash checks client timeout status
+ option checkinterval '600'
# Enable BinAuth Support.
# If set, a program is called with several parameters on authentication (request) and deauthentication.
diff --git a/nodogsplash/files/etc/init.d/nodogsplash b/nodogsplash/files/etc/init.d/nodogsplash
index d9f4633..3c3335c 100755
--- a/nodogsplash/files/etc/init.d/nodogsplash
+++ b/nodogsplash/files/etc/init.d/nodogsplash
@@ -139,9 +139,10 @@ generate_uci_config() {
for option in binauth fasport fasremoteip faspath fas_secure_enabled \
daemon debuglevel maxclients gatewayname gatewayinterface gatewayiprange \
gatewayaddress gatewayport webroot splashpage statuspage imagesdir pagesdir \
- redirecturl preauthidletimeout authidletimeout checkinterval setmss mssvalue \
- trafficcontrol downloadlimit uploadlimit downloadimq uploadimq syslogfacility \
- ndsctlsocket fw_mark_authenticated fw_mark_blocked fw_mark_trusted
+ redirecturl sessiontimeout preauthidletimeout authidletimeout checkinterval \
+ setmss mssvalue trafficcontrol downloadlimit uploadlimit \
+ syslogfacility ndsctlsocket fw_mark_authenticated \
+ fw_mark_blocked fw_mark_trusted
do
config_get val "$cfg" "$option"