113 Commits

Author SHA1 Message Date
Rob White
b560fb6056 Add - increase RestartSec parameter in opennds.service for generic Linux
Signed-off-by: Rob White <rob@blue-wave.net>
2023-11-18 12:28:26 +00:00
Rob White
52145defa3 Add - StartLimitIntervalSec and StartLimitBurst to systemd service script
Signed-off-by: Rob White <rob@blue-wave.net>
2023-06-10 19:44:23 +01:00
Rob White
7b380d27e3 Add - updates for service startup, systemd and procd
Signed-off-by: Rob White <rob@blue-wave.net>
2023-06-08 08:56:35 +01:00
Rob White
da58259048 Fix - minimalise deprecated legacy .conf file
Signed-off-by: Rob White <rob@blue-wave.net>
2022-11-12 20:30:11 +00:00
Rob White
e40fd3a153 Add - More css updates
More emphasis on user interpretation rather than looks of page

Signed-off-by: Rob White <rob@blue-wave.net>
2022-08-05 08:54:58 +01:00
Rob White
45c598c763 Add - css update
Signed-off-by: Rob White <rob@blue-wave.net>
2022-08-04 20:51:28 +01:00
Dian Ariyanto
1ce0bedfbe bring back the border 2022-06-08 17:25:40 +07:00
Dian Ariyanto
a05b5cc97d fix tab and add css to FAS 2022-06-08 12:27:52 +07:00
Dian Ariyanto
1668fd4980 Add some cosmetic
Add some CSS style to the default splash page to look fresher.
2022-05-29 06:03:38 +07:00
Rob White
970813f8f8 Update splash images
Signed-off-by: Rob White <rob@blue-wave.net>
2022-02-18 17:07:04 +00:00
Rob White
51af6c4d28 Fix - Revert to http for Travis download of libmicrohttpd
LetsEncrypt cert is broken

Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-09 20:49:35 +01:00
Rob White
3c66f7b849 Use https for ftpmirror.gnu.org for Travis build check
Signed-off-by: Rob White <rob@blue-wave.net>
2021-09-23 09:28:31 +01:00
rob
8010f731c9 Update config files
Signed-off-by: rob <rob@blue-wave.net>
2021-04-27 20:12:22 +01:00
rob
84d46db268 Add example custom images and custom html
Signed-off-by: rob <rob@blue-wave.net>
2021-04-27 11:23:06 +01:00
rob
a1945250e5 Remove deprecated legacy splash page support
Signed-off-by: rob <rob@blue-wave.net>
2021-04-25 21:58:58 +01:00
Rob White
b5f403977b opennds.conf:Fix typos
Signed-off-by: Rob White <rob@blue-wave.net>
2021-01-05 13:28:27 +00:00
Rob White
4c199f34a4 Updates to config files
Signed-off-by: Rob White <rob@blue-wave.net>
2021-01-04 21:50:58 +00:00
Rob White
5b89c9ba9b opennds.conf - Generic Linux, default to GatewayInterface = wlan0
Signed-off-by: Rob White <rob@blue-wave.net>
2021-01-04 12:35:32 +00:00
Rob White
7a9e82344e Fix typo in opennds.conf
Signed-off-by: Rob White <rob@blue-wave.net>
2021-01-03 22:24:16 +00:00
Rob White
ae4921af9d Update config files
Signed-off-by: Rob White <rob@blue-wave.net>
2021-01-02 10:46:15 +00:00
Rob White
e39ace8199 Bump to version 8.0.0 and update copyright notices
Signed-off-by: Rob White <rob@blue-wave.net>
2021-01-02 09:17:34 +00:00
Rob White
5a8ff373dd splash.html: fix typo
Signed-off-by: Rob White <rob@blue-wave.net>
2020-12-27 21:10:45 +00:00
Rob White
e1eb1ab74c splash.html: Add deprication notice
Signed-off-by: Rob White <rob@blue-wave.net>
2020-12-27 20:41:39 +00:00
Rob White
48b823cf3b opennds.conf: Add GatewayFQDN option
Signed-off-by: Rob White <rob@blue-wave.net>
2020-12-01 16:36:32 +00:00
Rob White
511148d017 Remove RedirectURL from opennds.conf
Signed-off-by: Rob White <rob@blue-wave.net>
2020-11-06 21:52:54 +00:00
Rob White
ab2cc7278e Update comments in configuration files.
Signed-off-by: Rob White <rob@blue-wave.net>
2020-11-06 21:43:01 +00:00
Rob White
155035230b Update config files
Signed-off-by: Rob White <rob@blue-wave.net>
2020-11-05 19:38:17 +00:00
Rob White
67e6b46407 Deprecate legacy splash.html and disable it.
Use login.sh with config select of "continue" or username/email login.
Allow reneabling with allow_legacy_splash config option.

Signed-off-by: Rob White <rob@blue-wave.net>
2020-10-31 07:03:31 +00:00
Rob White
1f836d8c2b Remove support for RedirectURL
As (most) client CPD processes close immediately on authentication,
RedirectURL no longer works.
Similar but reliable functionality can be achieved by using FAS,
displaying the required URL BEFORE authenticating.

Signed-off-by: Rob White <rob@blue-wave.net>
2020-10-31 07:03:31 +00:00
Rob White
3a7ded7407 Walled Garden: autonomous operation
Signed-off-by: Rob White <rob@blue-wave.net>
2020-10-28 21:15:20 +00:00
Rob White
fad66e6a99 Walled Garden: Configuration
Signed-off-by: Rob White <rob@blue-wave.net>
2020-10-28 21:15:20 +00:00
Rob White
2642ab42d9 Set MHD version for Travis
Signed-off-by: Rob White <rob@blue-wave.net>
2020-08-21 19:04:50 +01:00
Rob White
38cf39763b Updates for release 6.0.0
Changelog updates for 6.0.0
Set MHD version check to >= 0.9.71
Clean up Preauth "Already authenticated" page
Update config files for v6.0.0
Add description for binauth output and input arguments
Tidy function do_binauth
Add preauth multifield login script with css update
Clarify custom string options
    Hidden or client entered custom string

Signed-off-by: Rob White <rob@blue-wave.net>
2020-08-21 18:55:47 +01:00
Rob White
5c6d161f18 Add Walled Garden / IPSET info to config files
Signed-off-by: Rob White <rob@blue-wave.net>
2020-08-16 22:46:10 +01:00
Rob White
44d2f00bd4 Add/improve Walled Garden comments on config files
Signed-off-by: Rob White <rob@blue-wave.net>
2020-08-15 22:43:28 +01:00
Rob White
0fb79e0aea Set use outdated MHD enabled for Openwrt 19.7 backport and checks for MHD version
Signed-off-by: Rob White <rob@blue-wave.net>
2020-08-12 18:09:02 +01:00
Rob White
24de5b827f MHD 0.9.71 or higher is mandatory.
Signed-off-by: Rob White <rob@blue-wave.net>
2020-08-11 19:15:28 +01:00
Rob White
576efcacd3 Generic Linux - install opennds.service
Move opennds.service to resources folder

Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-23 12:24:43 +01:00
Rob White
68d3a5a17e Update config files
Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-19 19:49:12 +01:00
Rob White
9b573a7f94 Splash page updates
Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-19 19:49:12 +01:00
Rob White
893714f853 Implement Rate Quotas
Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-12 23:13:53 +01:00
Rob White
733ee09172 Config file updates
Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-12 23:13:53 +01:00
Rob White
83d0d474a3 Add upload/download quota and rate configuration values
Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-12 23:13:52 +01:00
Rob White
5b27074ac5 Updates to Templated Splash pages.
Signed-off-by: Rob White <rob@blue-wave.net>
2020-06-12 23:13:52 +01:00
Rob White
3d1033d39e More renaming, new splash image.
Signed-off-by: Rob White <rob@blue-wave.net>
2020-04-05 16:53:33 +01:00
Rob White
b78536aea1 Intial clone from nodogsplash master
Signed-off-by: Rob White <rob@blue-wave.net>
2020-04-05 08:21:01 +01:00
Rob White
aa54541fca Fix comments in config files
Signed-off-by: Rob White <rob@blue-wave.net>
2020-02-17 00:12:38 +00:00
Rob White
2a2b3693cc Fix: Allow use of "#" and "'" (single quote/asterisk) in gatewayname
See issue #516

"#" is used as a comment indicator in nodogsplash.conf
This fix allows the character to be present as part of an option value.
If the character occurs at the beginning of the line,
the line will be considered as a comment.

"'" (single quote/asterisk) is used as a uci delimiter.
If this character is required in gatewayname then use the
htmlentity &#39; instead.
The default config files have been updated to reflect this.

The demo preauth scripts have been modified to ensure
gatewayname is properly escaped.


Signed-off-by: Rob White <rob@blue-wave.net>
2020-02-15 15:59:48 +00:00
Rob White
15ba5ea4c8 Add option use_outdated_mhd
See issue #515

MHD_get_version is used to determine the installed (runtime) version of
libmicrohttpd (MHD).
If the version is earlier than 0.9.69, then by default, NDS will terminate.

However, if option use_outdated_mhd is set to 1, NDS starts normally
but logs an error.

Signed-off-by: Rob White <rob@blue-wave.net>
2020-02-10 20:58:40 +00:00
Rob White
9fb70f3ce2 Add option: option unescape_callback_enabled
Disabled is 0 (default)
Enabled is 1

This allows custom unescape  in MHD.

MHD needs to unescape characters sent in query strings by browsers.
When this option is disabled, MHD uses its builtin unescape.
When enabled, MHD uses /usr/lib/nodogsplash/unescape.sh

The unescape.sh library is safe as all incoming queries are escaped
by the client browser and the argument containing string to be unescaped
is quoted by NDS.

Signed-off-by: Rob White <rob@blue-wave.net>
2020-02-05 19:41:50 +00:00