2035 Commits

Author SHA1 Message Date
Rob White
62c1dd1093 Merge pull request #607 from openNDS/10.3.00
10.3.00 updates for release
v10.3.0
2024-06-07 11:36:07 +01:00
Rob White
17667ee69c Update ChangeLog
Signed-off-by: Rob White <rob@blue-wave.net>
2024-06-07 11:31:55 +01:00
Rob White
840096cf5c Update documentation
Signed-off-by: Rob White <rob@blue-wave.net>
2024-06-07 11:31:22 +01:00
Rob White
d9ea6d8b56 Fix - missing exit in library call
Signed-off-by: Rob White <rob@blue-wave.net>
2024-06-07 11:25:07 +01:00
Rob White
d411966216 Merge pull request #605 from openNDS/10.3.00
10.3.00
2024-06-06 21:19:03 +01:00
Rob White
9be4fc6995 Bump to v10.3.0
Signed-off-by: Rob White <rob@blue-wave.net>
2024-06-06 21:12:12 +01:00
Rob White
be5fff0c07 Add - support for mesh11sd meshnodes and reimplement auth_restore to not use ndsctl
Signed-off-by: Rob White <rob@blue-wave.net>
2024-06-05 22:45:48 +01:00
Rob White
d8eea9dddb Update - config file
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-29 14:18:16 +01:00
Rob White
3adc13b083 Fix - formatting of ThemeSpec scripts
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-29 14:06:27 +01:00
Rob White
9247698a40 Fix - move parsing of custom vaiables and fields to libopennds library script
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-29 14:05:13 +01:00
Rob White
4f00a05750 Fix - move custom_variables_list parsing to liboppennds library
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-28 12:22:08 +01:00
Rob White
a802cae5d8 Fix - parsing of custom variables list
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-28 10:55:53 +01:00
Rob White
ccc1aa045d Fix - non placeholder themespec logo size
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-28 08:19:51 +01:00
Rob White
b093469a66 Fix - formatting of themespec custom placeholders and status page
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-27 21:48:00 +01:00
Rob White
11893efa53 Fix - missing parseing of custom files list in config
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-27 21:46:06 +01:00
Rob White
1cfbf50575 Fix - issue #596, Problem with fasremotefqdn that has multiple IPs ( CDN )
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-27 21:27:32 +01:00
Rob White
be7d5008f7 Add - download protocol debug message
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-27 08:49:07 +01:00
Rob White
5a3421451d Add - function resolve_fqdn()
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-27 08:46:20 +01:00
Rob White
32a33cb291 Fix - failure to parse custom variables and custom images from config lists
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-26 20:18:01 +01:00
Rob White
b489c983a2 Merge pull request #593 from openNDS/v10.2.1beta
Fix - ensure list dhcp-option-force is added to the correct dnsmasq zone
2024-05-07 07:47:48 +01:00
Rob White
569709a867 Fix - ensure list dhcp-option-force is added to the correct dnsmasq zone
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-07 07:37:43 +01:00
Rob White
f5a35693d6 Merge pull request #592 from openNDS/v10.2.1beta
V10.2.1beta
2024-05-07 06:36:57 +01:00
Rob White
55bacca796 Fix - error adding nft rule when fasremotefqdn not set
Fixes issue #591

Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-07 06:31:14 +01:00
Rob White
7fff74b7e6 Fix - change error message to debug message when legacy ipset not present
Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-07 06:31:14 +01:00
Rob White
2eebf0222b Merge pull request #590 from openNDS/v10.2.1beta
Fix - Remove default value for faskey
2024-05-05 18:53:22 +01:00
Rob White
26496b4f76 Fix - Remove default value for faskey
Credit to @billz for discovering the issue

Signed-off-by: Rob White <rob@blue-wave.net>
2024-05-05 18:48:17 +01:00
Rob White
d724a76721 Merge pull request #581 from openNDS/v10.2.1beta
Fix - some memory leaks - credit @LuMingYinDetect
2024-03-26 20:20:44 +00:00
Rob White
862126afcb Fix - some memory leaks - credit @LuMingYinDetect
Signed-off-by: Rob White <rob@blue-wave.net>
2024-03-26 20:10:29 +00:00
Rob White
99b95176cc Merge pull request #572 from openNDS/v10.2.1beta
V10.2.1beta
2024-02-28 08:52:00 +00:00
Rob White
ecc2f779a8 Fix -typo preventing reload of dnsmasq
Signed-off-by: Rob White <rob@blue-wave.net>
2024-02-28 08:45:25 +00:00
Rob White
210c5da18e Fix - use after free - we now delete the client instead of changing state
Credit @LuMingYinDetect

Signed-off-by: Rob White <rob@blue-wave.net>
2024-02-28 08:36:44 +00:00
Rob White
c392cb41a4 Merge pull request #562 from sunweaver/pr/evaluate-system-call-retvals
src/{main,auth,fw_iptables}.c: Evaluate system() calls' return values.
2024-01-21 08:24:15 +00:00
Mike Gabriel
486fb73686 src/{main,auth,fw_iptables}.c: Evaluate system() calls' return values.
This avoids these build warnings:

  src/fw_iptables.c: In function ‘iptables_fw_init’:
  src/fw_iptables.c:412:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    412 |         system(dnscmd);
        |         ^~~~~~~~~~~~~~
  src/auth.c: In function ‘fw_refresh_client_list’:
  src/auth.c:306:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    306 |         system(dnscmd);
        |         ^~~~~~~~~~~~~~
  src/auth.c:312:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    312 |         system(dnscmd);
        |         ^~~~~~~~~~~~~~
  src/auth.c:696:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    696 |                 system(pmaccmd);
        |                 ^~~~~~~~~~~~~~~
  src/main.c: In function ‘termination_handler’:
  src/main.c:210:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    210 |         system(dnscmd);
        |         ^~~~~~~~~~~~~~
  src/main.c: In function ‘main_loop’:
  src/main.c:930:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    930 |         system(cmd);
        |         ^~~~~~~~~~~
  src/main.c: In function ‘setup_from_config’:
  src/main.c:519:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    519 |         system(dnscmd);
        |         ^~~~~~~~~~~~~~
  src/main.c:722:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    722 |                 system(fasssl);
        |                 ^~~~~~~~~~~~~~
  src/main.c:754:25: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    754 |                         system(fasssl);
        |                         ^~~~~~~~~~~~~~
  src/main.c:882:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    882 |         system(dnscmd);
        |         ^~~~~~~~~~~~~~
2024-01-21 09:17:08 +01:00
Rob White
90095165f8 Merge pull request #561 from openNDS/v10.2.1beta
Various fixes for V10.2.1beta
2024-01-03 12:34:16 +00:00
Rob White
2868c6eaac Fix - enable iteration counter for all nft error codes
Signed-off-by: Rob White <rob@blue-wave.net>
2024-01-03 12:14:29 +00:00
Rob White
e74cc80a93 Fix - use dnsmasq reload instead of restart, fixes issue #556
Signed-off-by: Rob White <rob@blue-wave.net>
2024-01-03 10:05:22 +00:00
Rob White
761c5a9f55 Fix - remove unneeded memory allocation
Signed-off-by: Rob White <rob@blue-wave.net>
2024-01-03 10:01:24 +00:00
Rob White
ca9b3dba98 Fix - ensure all client memory is freed when removing client
Signed-off-by: Rob White <rob@blue-wave.net>
2024-01-03 10:00:13 +00:00
Rob White
f9ba5b3e2a Fix - remove unneeded memory allocations and free some strdup allocations
Signed-off-by: Rob White <rob@blue-wave.net>
2024-01-03 08:26:09 +00:00
Rob White
fea92cc51a Fix - race condition when dnsmasq takes too long to restart
Signed-off-by: Rob White <rob@blue-wave.net>
2024-01-02 16:18:02 +00:00
Rob White
4b0d9c9c3f Merge pull request #548 from mcassaniti/fixes-547
Support specifying DHCP leases file location
2023-11-29 09:59:34 +00:00
Michael A Cassaniti
e4879e2fef Support specifying DHCP leases file location
Signed-off-by: Michael A Cassaniti <michael@cassaniti.id.au>
2023-11-29 20:08:33 +11:00
Rob White
255b57ade6 Merge pull request #549 from openNDS/v10.2.1beta
Bump to v10.2.1beta
2023-11-28 14:16:31 +00:00
Rob White
ea9510faac Bump to v10.2.1beta
Signed-off-by: Rob White <rob@blue-wave.net>
2023-11-28 14:12:15 +00:00
Rob White
be310ac3d5 Merge pull request #546 from openNDS/v10.2.00
Add - missing documentation for blocklists
v10.2.0
2023-11-23 13:18:19 +00:00
Rob White
b199428e30 Add - missing documentation for blocklists
Signed-off-by: Rob White <rob@blue-wave.net>
2023-11-23 13:10:32 +00:00
Rob White
ec2f9b8161 Merge pull request #545 from openNDS/v10.2.00
V10.2.00 for release
2023-11-23 09:14:02 +00:00
Rob White
ad2f5600ca Update OpenWrt makefile
Signed-off-by: Rob White <rob@blue-wave.net>
2023-11-23 09:08:55 +00:00
Rob White
055ac101c2 Updatr documentation
Signed-off-by: Rob White <rob@blue-wave.net>
2023-11-23 09:08:55 +00:00
Rob White
1ce46d250f Merge pull request #544 from openNDS/v10.2.0beta
V10.2.0beta pre-release updates
2023-11-22 20:51:12 +00:00