nodogsplash: add missing config options
sessiontimeout (minutes) until client is forced out checkinterval (seconds) interval at which nodogsplash checks client timeout status Add real world useful values to timeout options. Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
parent
c394f54b63
commit
00a6bef40b
3 changed files with 11 additions and 5 deletions
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=nodogsplash
|
PKG_NAME:=nodogsplash
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_VERSION:=3.2.0
|
PKG_VERSION:=3.2.0
|
||||||
PKG_RELEASE:=0
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/nodogsplash/nodogsplash/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/nodogsplash/nodogsplash/tar.gz/v$(PKG_VERSION)?
|
||||||
PKG_SOURCE:=nodogsplash-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=nodogsplash-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -27,8 +27,13 @@ config nodogsplash
|
||||||
#option debuglevel '7'
|
#option debuglevel '7'
|
||||||
|
|
||||||
# Client timeouts in minutes
|
# Client timeouts in minutes
|
||||||
option preauthidletimeout '10'
|
option preauthidletimeout '30'
|
||||||
option authidletimeout '120'
|
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.
|
# Enable BinAuth Support.
|
||||||
# If set, a program is called with several parameters on authentication (request) and deauthentication.
|
# If set, a program is called with several parameters on authentication (request) and deauthentication.
|
||||||
|
|
|
@ -139,9 +139,10 @@ generate_uci_config() {
|
||||||
for option in binauth fasport fasremoteip faspath fas_secure_enabled \
|
for option in binauth fasport fasremoteip faspath fas_secure_enabled \
|
||||||
daemon debuglevel maxclients gatewayname gatewayinterface gatewayiprange \
|
daemon debuglevel maxclients gatewayname gatewayinterface gatewayiprange \
|
||||||
gatewayaddress gatewayport webroot splashpage statuspage imagesdir pagesdir \
|
gatewayaddress gatewayport webroot splashpage statuspage imagesdir pagesdir \
|
||||||
redirecturl preauthidletimeout authidletimeout checkinterval setmss mssvalue \
|
redirecturl sessiontimeout preauthidletimeout authidletimeout checkinterval \
|
||||||
trafficcontrol downloadlimit uploadlimit downloadimq uploadimq syslogfacility \
|
setmss mssvalue trafficcontrol downloadlimit uploadlimit \
|
||||||
ndsctlsocket fw_mark_authenticated fw_mark_blocked fw_mark_trusted
|
syslogfacility ndsctlsocket fw_mark_authenticated \
|
||||||
|
fw_mark_blocked fw_mark_trusted
|
||||||
do
|
do
|
||||||
config_get val "$cfg" "$option"
|
config_get val "$cfg" "$option"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue