Commit graph

40 commits

Author SHA1 Message Date
Alexander Couzens
0c19201587 nodogsplash: update to 4.0.3
Fix a traversal path attack.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2020-05-06 13:24:48 +02:00
Rob White
6e50f8b998 nodogsplash: Backport Version 4.0.1. (#493)
This version has numerous fixes and enhancements.
It is compatible with the previous v3.2.1 release and onwards.

 Important fixes in this version:
 * Fix coding error in fas-aes.php [bluewavenet]
 * Make debuglevel platform independent [mwarning]
 * Fix memory handling bug, issue nodogsplash/nodogsplash#341 [mwarning] [stevo01]
 * ndsctl_thread - ignore interupts when returning from epoll [lynxis]
 * auth.c - use correct types to prevent cast and comparement of uint and int [lynxis]
 * openwrt/init.d - prevent start of the daemon if configuration generation fails [lynxis]
 * Generate Error 403 Forbidden, if Gateway Port is accessed directly [bluewavenet]
 * Validate fasremoteip as a valid dotted format IPv4 address [bluewavenet] [mwarning]
 * Prevent client CPD "Too Many Redirects" error. [bluewavenet]

Maintainer: Moritz Warning <moritzwarning@web.de>

Signed-off-by: Rob White <rob@blue-wave.net>
2019-07-30 16:20:15 +02:00
Rob White
a55193512f nodogsplash: Backport of Version 4.0.0. (#486)
This version has numerous fixes and enhancements.
It is compatible with the previous v3.2.1 release and onwards.

Maintainer: Moritz Warning <moritzwarning@web.de>

Signed-off-by: Rob White <rob@blue-wave.net>
2019-07-25 13:32:53 +02:00
Moritz Warning
4d7a182ef3 nodogsplash: fix invalid pointer bug when clock is turned back (#456)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-03-14 18:31:33 +01:00
Moritz Warning
8b760071d1 nodogsplash: fix download hash
The tagging of the release was wrong, as a result, the hash of the downloaded files is different from the usual download package.
The content has been verified to be the same.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2018-09-28 15:32:43 +02:00
Rob White
f68a998fb2 nodogsplash: Backport v3.2.1 to OpenWrt 18.06
This release provides bugfixes and some minor enhancements:

  * reset upload/download counter when a client has been authenticated a second time [mwarning]
  * print sesssion duration as 0 in "ndsctl json" and "ndsctl clients" output when a session has not been started [mwarning]
  * rework html templater to speed up splash page generation [mwarning]
  * FAS documentation updates [bluewavenet]
  * Add CSS file and update splash and status html [bluewavenet]

Signed-off-by: Rob White <rob@blue-wave.net>
2018-09-27 14:51:23 +01:00
Rob White
ed5d97c2ce 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
2018-09-15 10:02:54 +01:00
Rob White
883dec4212 nodogsplash: Backport v3.2.0
Signed-off-by: Rob White <rob@blue-wave.net>
2018-09-04 17:15:48 +01:00
Rob White
021153d84f nodogsplash: Remove nodogsplash and nodogsplash2
in preparation for backport of v3.2.0

Signed-off-by: Rob White <rob@blue-wave.net>
2018-09-04 17:12:31 +01:00
Moritz Warning
93468c3f5f nodogsplash: idletimeout => clientidletimeout (fixes #292)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2017-05-16 00:25:23 +02:00
Moritz Warning
79ab503131 nodogsplash: update to version 1.0.2
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2017-05-16 00:01:57 +02:00
Moritz Warning
893890ae2b nodogsplash: wait for interface to appear 2016-11-01 02:13:49 +01:00
Moritz Warning
eb80008326 nodogsplash: bump version to 1.0.1 2016-08-10 22:33:04 +02:00
Moritz Warning
53b70069c2 nodogsplash: extend configuration help text 2016-07-28 23:57:42 +02:00
Moritz Warning
f3f344e949 nodogsplash: remove duplicate options, fixes #135 2016-06-05 11:52:52 +02:00
Moritz Warning
0830aa6442 nodogplash: 1.0.0 release 2016-05-28 13:03:11 +02:00
Moritz Warning
5f75450365 nodogplash: change section name 2016-05-28 13:02:49 +02:00
Moritz Warning
82c882a300 nodogsplash: change comments 2016-05-28 13:01:12 +02:00
Moritz Warning
341dfdab99 nodogsplash: add $ to variable 2016-05-12 18:18:54 +02:00
Moritz Warning
822d7cd8a8 fix check for config existence 2016-05-09 20:29:52 +02:00
Moritz Warning
ee3db2964f nodogsplash: fix enable PasswordAuthentication 2016-04-18 22:09:33 +02:00
Moritz Warning
f6f76e1541 nodogsplash: fix enable UsernameAuthentication 2016-04-18 22:07:32 +02:00
Jo-Philipp Wich
d6715b0be2 nodogsplash: fix musl compatiblity
- Replace nonstandard `sys/unistd.h` includes with `unistd.h` ones
 - Add missing `fcntl.h` include to `libhttpd/protocol.c` in order to
   provide declarations for `open()`, `O_RDONLY` etc.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 17:35:39 +02:00
Alexander Couzens
7a233607af nodogsplash: simplify append_config_option
Drop arguement config_counterpart from append_config_option(). append_config_option
took an additional argument named config_counterpart which represents the
configuration name in configfile.This is needed for configuration variable names isn't the same
as in uci. Nodogsplash ignores the case of configuration variables and makes this feature optional.
Introduce new func append_config_option_map() which does the old behaviour.
2015-03-05 18:01:05 +01:00
Alexander Couzens
dfa1e090fb nodogsplash: fix uci configuration by fixing append_config_option
append_config_option doesn't wrote anything to nodogsplash.conf.
2015-03-05 18:00:52 +01:00
Alexander Couzens
375378d4de nodogsplash: make missing config options available through uci 2015-03-05 12:47:15 +01:00
Moritz Warning
80711295dd nodogsplash: remove option ExternalInterface as there is no implementation behind it 2015-02-10 13:31:39 +01:00
Moritz Warning
5f49ef1192 nodogsplash: code cleanup, add option gatewayinterface, allow uci and manual configration in parallel 2015-01-26 15:13:56 +01:00
Alexander Couzens
98699f47d7 nodogsplash: migrate to uci based configuration
Use /etc/config/nodogsplash for configuration.
Old setups will migrate using config option to use old
file base configuration.
2015-01-07 10:42:30 +01:00
Moritz Warning
33fe963242 nodogsplash: upgrade to 0.9_beta9.9.9 2014-11-29 08:11:36 +01:00
Steven Barth
69f203d5c3 Add SPDX license tags
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:17:00 +01:00
Moritz Warning
c866e0c9e3 use procd for nodogsplash, thanks @lynxis 2014-05-19 00:07:17 +02:00
Gui Iribarren
0c2656c402 nodogsplash: recognize yes, true or 1 as valid TrafficControl values 2013-12-15 08:47:17 -03:00
Gui Iribarren
4bcf0bc5a8 nodogsplash: check if TrafficControl is enabled before testing imq module requirement.
This avoids failing to start in current OpenWrt Attitude Adjustment and trunk,
which lack IMQ support (and WONTFIX). Suggested in the issue discussed in:
http://ml.ninux.org/pipermail/nodogsplash/2013-May/000009.html

Signed-off-by: Gui Iribarren <gui@altermundi.net>
2013-12-15 08:37:03 -03:00
Moritz Warning
de6e4c7990 nodogsplash: use v0.9_beta9.9.8 release 2013-09-06 13:21:45 +02:00
Moritz Warning
4711c71b25 nodogsplash: use official github nodogsplash organization homepage 2013-05-20 18:42:53 +02:00
Saverio Proto
b74d2c860f [packages] nodogsplash: use official github nodogsplash organization feed 2013-05-11 15:32:04 +02:00
Saverio Proto
b12986c09d [packages] nodogsplash: download git sources with proper OpenWrt Makefile tools 2013-05-11 15:31:51 +02:00
Moritz Warning
ed1710fad3 [packages] nodogsplash: new OpenWrt package for new nodogsplash build system 2013-05-11 15:31:23 +02:00
Saverio Proto
d1183c96df Rename to subfolder to import into openwrt-routing repository 2013-05-11 14:45:52 +02:00