Commit Graph

201 Commits

Author SHA1 Message Date
Moritz Warning
0661884edc Merge branch 'master' into production 2018-08-03 14:23:57 +02:00
Moritz Warning
a77534932b Merge pull request #264 from nodogsplash/clientimeout
add setting sessiontimeout
2018-08-03 12:52:51 +02:00
Moritz Warning
0090e89302 add setting sessiontimeout 2018-08-03 12:50:13 +02:00
Moritz Warning
6f6c70e373 add comments 2018-08-02 01:08:37 +02:00
Moritz Warning
c1a378498c bump version to 3.0.0 2018-07-31 19:21:26 +02:00
Moritz Warning
84d979538e remove unused http thread settings 2018-07-31 18:12:36 +02:00
Moritz Warning
9857b6702f Merge branch 'master' into zaolin_binvoucher 2018-07-31 17:28:20 +02:00
Rob White
acca8a3e10 Remove remnants of redirect_url_encoded
Remove remnants of redirect_url_encoded

Signed-off-by: Rob White <rob@blue-wave.net>
2018-07-30 21:11:35 +01:00
Rob White
a988b9be09 $authtarget incorrectly formed
$authtarget was incorrectly formed causing browser errors in many browsers.
Caused by url encoding the redirect_url (including the http:// part). The initial ampersand in the $authtarget query string should be encoded but the ampersand characters inserted by the encoding of redirect_url cause failure in many browsers, especially some versions of iOS CPD.

Signed-off-by: Rob White <rob@blue-wave.net>
2018-07-30 19:49:43 +01:00
Moritz Warning
1a7820a6eb replace binvoucher feature by more flexible binauth feature 2018-07-30 19:00:23 +02:00
Moritz Warning
5c923d6c2f cleanup
- replace deprecated ctime
- code style improvements
- use new execute methods and update ndsctl_status output
- better code to check for valid mac and ip address strings
2018-07-30 19:00:18 +02:00
Moritz Warning
4aa8f77c4b remove unused template variable 2018-07-30 13:47:12 +02:00
Moritz Warning
3710bb7f84 rework binvoucher feature 2018-07-29 22:58:07 +02:00
Philipp Deppenwiese
380031c2f8 Add binvoucher support
Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org>
2018-07-29 22:58:07 +02:00
Moritz Warning
6820125aed remove unused setting authenticate_immediately 2018-07-29 22:56:21 +02:00
Moritz Warning
fded4fa17a remove unused settings
RemoteAuthenticatorAction, EnablePreAuth, BinVoucher, ForceVoucher, PasswordAuthentication, UsernameAuthentication, PasswordAttempts, Username, Password
2018-07-29 22:24:33 +02:00
Moritz Warning
8f74c633ec remove some unused settings 2018-07-29 02:31:16 +02:00
Moritz Warning
51e3cf835e fix option splashpage, fixes #255 2018-07-16 20:35:20 +02:00
Moritz Warning
679fbba420 code style 2018-07-16 19:49:04 +02:00
Moritz Warning
db568877fa use buffered file descriptor from libc
This is more elegant than using a homebrew variant.
2018-07-16 19:48:11 +02:00
Moritz Warning
ba0f119993 Merge pull request #244 from blogcin/clean
Remove unnecessary variable
2018-05-14 15:05:29 +02:00
Hyeonsik Song
e9319c7139 Remove unnecessary variable 2018-05-14 11:36:00 +09:00
Rob White
51a3cd6f05 Bump version to 2.1.1 2018-05-12 11:22:05 +01:00
Moritz Warning
1a802fa7eb bump version to 2.1.0 2018-05-09 01:28:24 +02:00
Moritz Warning
d496494b55 Merge pull request #240 from blogcin/config_corruption
conf.c: Fix strncpy memory leak
2018-05-02 16:10:40 +02:00
Hyeonsik Song
0f6f83b013 conf.c: config initialized with 0 2018-05-02 22:18:57 +09:00
Hyeonsik Song
21b1854e87 commandline.c: Fix strncpy memory leak
Signed-off-by: Hyeonsik Song <blogcin@naver.com>
2018-05-02 22:16:06 +09:00
Hyeonsik Song
4c938ca8a9 conf.c: Fix strncpy memory leak 2018-05-02 22:13:15 +09:00
Moritz Warning
c654e101ec Merge pull request #238 from blogcin/multiplex
ndsctl_thread.c: Change client handle logic to use multiplexing
2018-05-02 12:24:17 +02:00
Hyeonsik Song
4a5640d22d ndsctl_thread.c: Change socket close timing to ndsctl_handler
Signed-off-by: Hyeonsik Song <blogcin@naver.com>
2018-05-02 10:21:47 +09:00
Hyeonsik Song
72021a01e6 ndsctl_thread.c: Add epoll error event handling 2018-05-02 10:08:23 +09:00
Hyeonsik Song
824230ffb4 ndsctl_thread.c: Remove necessary variable initialization 2018-05-02 09:40:01 +09:00
Hyeonsik Song
fd02620664 ndsctl_status.c: code style fix 2018-05-02 01:43:08 +09:00
Hyeonsik Song
99f6a10f21 ndsctl_thread.c: Change client handle logic to use multiplexing 2018-05-01 20:48:04 +09:00
Hyeonsik Song
16689df196 microhttpd: Use TCP Fastopen option 2018-05-01 20:35:01 +09:00
Rob White
47eed9168d Allow Chaining to Existing Firewall Rules
Allow chaining to existing iptables rules for Trusted and Authenticated clients by changing from ACCEPT to RETURN in the NDS iptables settings. 
Tested on LEDE 170104. Also works for NDS version 1. See #229
Author-name: Rob White
Signed-off-by: Rob White <rob@blue-wave.net>
2018-04-05 14:04:22 +01:00
Moritz Warning
98725015e0 minor coding style and spelling changes 2018-04-04 22:53:17 +02:00
Moritz Warning
226830b2e1 firewall: fix compilation, fixes #230 2018-04-04 22:46:05 +02:00
Moritz Warning
a079f3e470 firewall: use switch instead of ifs 2018-03-29 22:22:01 +02:00
Moritz Warning
e81fa61921 remove authenticateimmediately option
There is no functionality behind anymore.
2018-01-26 04:56:38 +01:00
Moritz Warning
907f4e8c5a bump NDS version 2.0.1 2018-01-06 20:17:20 +01:00
Moritz Warning
d9acbe33f5 src/conf.c: remove duplicate entry 2018-01-02 13:32:12 +01:00
Azsde
51486dcb84 Fix segfault when mimetype isn't found (#216) 2017-12-28 11:59:58 +01:00
Song Hyeon Sik
cd84c9d56c Add handling calloc failure (#211) 2017-11-30 11:04:43 +01:00
bedefaced
521f2ba9b7 gateway.c: check for libmicrohttp version fix (#203)
version checking after microhttpd.h including
2017-09-05 00:30:27 +02:00
Moritz Warning
41bdcf02bb gateway.c: check for libmicrohttp version >= 0.9.51 2017-08-04 20:55:49 +02:00
Moritz Warning
190a94b92c remove unnecessary allocation 2017-08-04 20:22:30 +02:00
Moritz Warning
989635c9d8 fw: add --wait to iptables call 2017-08-04 20:21:14 +02:00
Moritz Warning
1fa350795c remove debug line 2017-07-29 00:25:44 +02:00
Moritz Warning
36e8a1af8b Merge branch 'master' of https://github.com/nodogsplash/nodogsplash 2017-04-29 02:40:41 +02:00