Commit Graph

1491 Commits

Author SHA1 Message Date
Rob White
3e89317829 Pre Release Updates
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-12 08:08:17 +00:00
Rob White
b25990ed4d Merge pull request #272 from openNDS/v9.5.0beta
V9.5.0beta updates
2021-12-08 08:24:50 +00:00
Rob White
f97aa14d9c Add - Changelog and documentation update
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-08 08:16:07 +00:00
Rob White
8dfac494fe Add - use average packet size instead of MTU when implementing rate limiting
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-06 19:34:30 +00:00
Rob White
74213164b0 Fix - typo in iptables command and remove a redundant command
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-05 14:57:32 +00:00
Rob White
cfce23d4b5 Add - startdaemon() and stopdaemon() utility functions
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-05 09:57:55 +00:00
Rob White
6e6fe48da0 Add - combined interface/ipaddress external gateway status monitoring
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-05 09:56:18 +00:00
Rob White
0fa79d0686 Fix - potential online/offline detection problem when mwan3 is running
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-05 09:43:37 +00:00
Rob White
b564832190 Add - get_debug_level and syslog library calls
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-04 19:31:38 +00:00
Rob White
a8c87b9be1 Fix - correctly reset upload and download rate rules
Signed-off-by: Rob White <rob@blue-wave.net>
2021-12-02 20:29:51 +00:00
Rob White
102cf6e92a Add - extend upstream gateway checking for use with mwan3 loadbalance/failover
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-29 21:01:06 +00:00
Rob White
ba5e88dbd3 Add - changelogs update
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-26 15:15:55 +00:00
Rob White
5e8ac64896 Merge pull request #269 from openNDS/v9.5.0beta
Fix - Potential NULL pointer segfault in http_microhttpd
2021-11-25 14:48:57 +00:00
Rob White
d595b425e5 Fix - remove astyle from travis.yml
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 14:45:44 +00:00
Rob White
2d0830878c Fix - Potential NULL pointer segfault in http_microhttpd on calling autenticated()
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 13:23:56 +00:00
Rob White
7a3507986e Merge pull request #267 from dddaniel/segfault-fix
Fix - NULL pointer segfault in microhttpd on preauth
2021-11-25 13:00:05 +00:00
Rob White
5ff1fe8456 Merge pull request #268 from openNDS/v9.5.0beta
V9.5.0beta Updates
2021-11-25 12:58:05 +00:00
Rob White
3433800017 Fix - typo in documentation for ndsctl [@DAT4]
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
9dd6b7cf92 Add - Calculate Bucket size based on achieved burst rate
This gives finer rate limit resolution with smoother performance.
The temporary 50Kb/s lower limit is now removed.

Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
6b7265f369 Fix - prevent parameter parsing if clientip not known
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
9cfa8b8096 Add - disable rate quotas by setting bucket ratio to zero
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
c1a9fd5e71 Fix - suppress some debug messages
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
06a0fc16a7 Add - more libraries documentation
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
fc8e020d77 Add - library calls "startdaemon" and "stopdaemon"
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
1db2f5df65 Fix - Increase buffer length for longer interface names [koivunen]
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
2e010b1fea Add - useful comments in libopennds
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
e2061af6e8 Update changelog
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
54104c239e Add - client_type to list of cid variables for binauth
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
fea66248ff Add - enforce minimum data rates in ndsctl auth
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Rob White
75a1ef2fa1 Fix - Typo in README.md
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-25 12:52:01 +00:00
Daniel Danzberger
e6a9bcd0d2 Fix - NULL pointer segfault in microhttpd on preauth
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-11-23 21:59:27 +01:00
Rob White
a3eb4d6a7a Merge pull request #262 from openNDS/v9.5.0beta
V9.5.0beta updates
2021-11-10 10:58:18 +00:00
Rob White
019d4cdf03 Fix - readthedocs build
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-10 10:52:11 +00:00
Rob White
9a36aa9373 Update README.md
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-09 23:12:19 +00:00
Rob White
730662f0a5 Add - bucket ratio option to config file
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-08 16:21:41 +00:00
Rob White
48b1b954a3 Add - upload and download bucket ratio config values
Allows tuning of bucket size (queue length) for rate quotas

Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-07 14:16:46 +00:00
Rob White
bd0afd3011 Fix - flag initial debuglevel to externals
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-06 07:43:24 +00:00
Rob White
ff36726668 Add - limit-burst tuning to rate quotas
This increases the bucket size, minimising the number of dropped packets
when a client is rate limited and "bursts" with larger volumes of data.

Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-06 07:29:29 +00:00
Rob White
2e9d9f4c85 Fix - add trailing space to defaultip
This enables correct detection of primary default route in case
of multiple "default" routes being configured

Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-05 07:32:26 +00:00
Rob White
0bb1ea43b6 Add - record pre-emptive authentication in local log
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-03 14:39:35 +00:00
Rob White
73d291d005 Add - Write to local log function to libopennds
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-03 14:38:43 +00:00
Rob White
569218c121 Merge pull request #257 from openNDS/v9.5.0beta
V9.5.0beta updates
2021-11-02 19:06:34 +00:00
Rob White
4cbbcb90f6 Add - set client_type and custom string for Pre-emptive authentication
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-02 16:31:08 +00:00
Rob White
6598c00d62 Fix - Remove trailing newline from library call response
Signed-off-by: Rob White <rob@blue-wave.net>
2021-11-01 16:43:59 +00:00
Rob White
cd53bd1f89 Fix - attempt to remove cid file only if client->cid is set
Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-31 16:02:26 +00:00
Rob White
5d4bc69642 Add - a skip option for custom downloads to speed up serving page from themespec
Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-30 20:21:38 +01:00
Rob White
5dae6501ef Add - put client_type into query string when type is cpd canary
Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-29 16:35:07 +01:00
Rob White
ba3c218c8a Add - set refresh=0 before loading images
Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-29 14:56:00 +01:00
Rob White
b06d574ebb Fix - Truncated return status
Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-29 13:38:11 +01:00
Rob White
d4431e052b Add - Acknowlegement from call to dnsconfig
Signed-off-by: Rob White <rob@blue-wave.net>
2021-10-29 13:36:23 +01:00