Commit Graph

1664 Commits

Author SHA1 Message Date
Tim Wilkinson 5704b3c411
Remove functional use of :has css so we can support older browsers. (#1386)
Some cosmetic use remains, but this isn't considered critical.
2024-08-24 18:52:05 -07:00
Tim Wilkinson 7f384c6533
Chage login/logout and toosl css (#1384) 2024-08-24 13:29:37 -07:00
Tim Wilkinson 471c6a1f14
Drop base font size (#1376) 2024-08-23 16:42:26 -07:00
Tim Wilkinson df1f165a26
Local nodes are < 100 meters (not < 50 meters) (#1377) 2024-08-23 13:45:39 -07:00
Tim Wilkinson c7d942af6d
Dont remove the old firmware path (yet) (#1375) 2024-08-22 22:01:14 -07:00
Tim Wilkinson 96202bde21
Wifi scan is only available in mesh mode (#1369) 2024-08-22 16:51:23 -07:00
Tim Wilkinson 3dd38d6921
Fix missing % on LQ values (#1368) 2024-08-22 16:38:21 -07:00
Tim Wilkinson 15d0bf61ed
Improve firmware layout (#1366)
Fix double scrollbar on some platforms
Better scrollbar spacing
2024-08-22 16:31:36 -07:00
Tim Wilkinson a5ad4aeefd
Add favicon (#1367) 2024-08-22 16:31:06 -07:00
Tim Wilkinson 3a0bbe0c3b
Add Wifi Client status info (#1362) 2024-08-22 13:40:29 -07:00
Tim Wilkinson 65963f1aac
Improve spacing of hardware/firmware labels (#1359) 2024-08-22 08:45:12 -07:00
Tim Wilkinson b06d34e8e4
More neighbor stats (#1357) 2024-08-22 00:09:32 -07:00
Tim Wilkinson 409ad3f099
More high contrast (#1356) 2024-08-21 23:19:54 -07:00
Tim Wilkinson d4e3869772
Fix bad gateway (#1355) 2024-08-21 20:50:25 -07:00
Tim Wilkinson 9432beccfd
Force the new UI to be the default (#1354) 2024-08-21 20:20:43 -07:00
Tim Wilkinson d0dd691551
More theme work (#1352)
* Add high contrast / larger typeface theme.

* Kitten typo

* More theme work
2024-08-21 15:35:29 -07:00
Tim Wilkinson 63f210f96a
Add high contrast / larger typeface theme. (#1351) 2024-08-21 13:48:49 -07:00
Tim Wilkinson 864727c574
Add version number to packages in remove dropdown (#1350) 2024-08-21 13:45:34 -07:00
Tim Wilkinson 2e9cbd9935
Compact the firmare+hardware info in the dialog (#1348) 2024-08-21 11:50:48 -07:00
Tim Wilkinson c3a55b112e
Add/fix missing icon tooltips (#1347) 2024-08-21 11:49:16 -07:00
Tim Wilkinson b09062739d
Set missing dhcp configuration option (#1346) 2024-08-21 11:48:01 -07:00
Tim Wilkinson 11452c9e4b
Lockdown first usage pages. (#1342)
Unless device is unconfigured, dont let the first use pages do anything.
2024-08-21 00:47:17 -07:00
Tim Wilkinson 79175b281e
Fix missing legacy server tunnel name (#1341) 2024-08-20 23:04:48 -07:00
Tim Wilkinson 7dbb8de87f
Blur wireguard keys. (#1340)
Dont blur newly created tunnels.
2024-08-20 22:47:46 -07:00
Tim Wilkinson cccd5fe97d
Blur legacy tunnel password unless field is selected (#1339) 2024-08-20 22:13:47 -07:00
Tim Wilkinson 0b38e2e36e
Fix network field width on wireguard tunnels (#1338) 2024-08-20 20:47:38 -07:00
Tim Wilkinson 4a44a52c39
Fix node rename (#1334) 2024-08-20 14:43:24 -07:00
Tim Wilkinson 5791c3bab2
Add password reveal eyes in various places (#1333) 2024-08-20 14:10:41 -07:00
Tim Wilkinson 9291102438
Improve messaging about node names in firstuse (#1330) 2024-08-19 21:54:56 -07:00
Tim Wilkinson b3612e3d3a
Rewrite DHCP aliases when DHCP range changes (#1329) 2024-08-19 21:33:50 -07:00
Tim Wilkinson 1889cdf34d
Fix changing DHCP range. (#1327)
Just completely forgot to update all the values
2024-08-19 21:04:28 -07:00
Tim Wilkinson bb08c34948
Fix occasional commit then reboot screen (#1326) 2024-08-19 17:44:49 -07:00
Tim Wilkinson 53a63886d6
Add more radio information to status (#1325) 2024-08-19 16:28:57 -07:00
Tim Wilkinson 3b1e7947aa
Refresh sysinfo on distance blocked nodes (#1324) 2024-08-19 16:21:22 -07:00
Tim Wilkinson 4ce3a6c554
Better handling of missing lat/lon when GPS is starting up (#1323) 2024-08-19 16:19:35 -07:00
Tim Wilkinson b2d0b2980b
Speedup initial LQM setup (#1320) 2024-08-19 09:13:12 -07:00
Tim Wilkinson 458339ce77
Fix nil reference to nat when checking some services (#1319) 2024-08-19 08:59:21 -07:00
Tim Wilkinson 3ca3ed4a79
Restart LQM when changing channel (#1318)
* Restart LQM if we change wifi channel

* Fix test
2024-08-18 23:21:10 -07:00
Tim Wilkinson d5b0046f99
Allow negative elevations (#1317) 2024-08-18 21:23:49 -07:00
Tim Wilkinson 00a5cca7b5
Fix and harminize the way tunnel IPs wrap (and avoid using 256 as an octet) (#1315) 2024-08-18 18:01:55 -07:00
Tim Wilkinson bac75d6df3
Make menu cursors consistent (#1316) 2024-08-18 18:01:41 -07:00
Tim Wilkinson efb6631531
Fix tunnel notes (#1307) 2024-08-18 09:29:40 -07:00
Tim Wilkinson f38f753b0e
When arping fails, fallback on simple UDP ping (#1305) 2024-08-17 22:53:31 -07:00
Tim Wilkinson 7cf522de47
Limit reported GPS precision (#1304) 2024-08-17 20:37:38 -07:00
Tim Wilkinson 65209f1c98
Keep update button at bottom of firmware dialog (#1303) 2024-08-17 17:08:10 -07:00
Tim Wilkinson ce7321930d
Increase dialog height (#1302) 2024-08-17 17:07:42 -07:00
Tim Wilkinson 83d4c83798
Compact firmware version info (#1301) 2024-08-17 17:00:43 -07:00
Tim Wilkinson 556cef4d78
Cancel clicks if copy is active (#1300) 2024-08-17 14:48:55 -07:00
Tim Wilkinson 6fca9a176d
Clickable local node info (#1299) 2024-08-17 14:18:37 -07:00
Tim Wilkinson a6a00cc432
Handle out of range link quality multipliers (#1298) 2024-08-17 13:49:07 -07:00
Tim Wilkinson f8c01e88ec
Fix the download + update button at the bottom of the dialog (#1297) 2024-08-17 12:57:57 -07:00
Tim Wilkinson de7edc955e
Handle old nodes with missing node details (#1292) 2024-08-17 12:08:23 -07:00
Tim Wilkinson 7808774245
Fix nat service validation (#1288)
* Handle port redirects when validting services in NAT mode

* Fix localname for nat lookup
2024-08-17 10:35:06 -07:00
Tim Wilkinson d7ddeb164d
Revert previous tunnel change now uhttpd handles larger arguments (#1283) 2024-08-17 09:36:45 -07:00
Tim Wilkinson 1b980d7155
Tweak position of firmware status label (#1285) 2024-08-17 09:36:17 -07:00
Tim Wilkinson ceb8d5ea8f
Fix problems with large numbers of tunnels (#1281) 2024-08-16 22:27:22 -07:00
Tim Wilkinson 3836a767e9
Disable wifi signal tool when not in mesh mode (#1280) 2024-08-16 21:00:09 -07:00
Tim Wilkinson 6b72623b98
Fix pattern for dns subdomain aliases (#1278) 2024-08-16 17:21:20 -07:00
Tim Wilkinson c06642949a
Support 24 hour clock display (#1275) 2024-08-16 15:59:13 -07:00
Tim Wilkinson 4888c149c7
Enable copy-n-paste (#1274) 2024-08-16 14:51:06 -07:00
Tim Wilkinson 5ed567c885
Open local services in a new tab (#1273) 2024-08-16 14:27:26 -07:00
Tim Wilkinson eff9c0bd32
Move arednmesh.org link to menu and restore old logo functionality (#1272) 2024-08-16 13:12:50 -07:00
Tim Wilkinson 51740d8714
Fix inconsistent local/node services title (#1268) 2024-08-16 12:02:10 -07:00
Tim Wilkinson 3521053634
Fix hidden node display (#1267) 2024-08-16 11:57:31 -07:00
Tim Wilkinson 0432bf3165
New UI (#1263)
* New UI

* Fix gzip filename race condition

* Fix scrolling on first use page
2024-08-15 20:28:45 -07:00
Tim Wilkinson 484dc5ba3a
Mikrotik bootloader v7 support (#1258)
Some Mikrotik devices can no longer be downgraded to v6. Add support for
v7 bootloaders.
2024-08-05 17:11:53 -07:00
Tim Wilkinson a7bf530da3
First-use setup script to simplify initial setup of AREDN VMs. (#1257) 2024-08-04 16:36:39 -07:00
Steve 55665a42a4
update wg tun sv NET label (#1255) 2024-08-03 09:21:36 -07:00
Tim Wilkinson 8d4eadee53
Rebuild the NAT version of the firewall (#1243)
* New fireware configuration for NATed LAN.

* Fix ip rule
2024-06-17 15:24:57 -07:00
Tim Wilkinson 5d8a240c8f
Add service-validation-state to support data. (#1241) 2024-06-10 14:46:19 -07:00
Tim Wilkinson 166cf0d742
Send iperf info line by line rather than all at the end (#1240)
* Send iperf info line by line rather than all at the end

* Less newlines
2024-06-09 10:08:14 -07:00
Tim Wilkinson 2f74728693
Add names to xlink routes and bridges. (#1239)
Fix aredn_message_all file-not-found error.
2024-06-07 18:39:44 -07:00
Steve f2d8adb8d3
widen aam field on status page (#1237) 2024-06-03 13:29:39 -07:00
Tim Wilkinson 299645583c
Fetch routes from kernel rather than OLSR (#1235)
* Fetch routes from kernel rather than OLSR
Fix xlink detection

* Fix commit
2024-06-01 17:32:38 -07:00
Tim Wilkinson 0328f0ec7e
Olsrd crash fixes (#1234)
* Simplify the OLSR watchdog

* Dont pull the routing table into LQM for supernodes.
LQM tracks routes on nodes to help keep leaf nodes connected even
when circumstances would probably prevent this. However on supernodes
the routing table is massive and pulling this into LQM will frequently
crash OLSRD. As we dont need this for supernode just dont do it for them.
2024-05-31 22:44:36 -07:00
Tim Wilkinson 192e6deaec
Restart firewall when changing tunnels (now required) (#1233) 2024-05-31 21:05:14 -07:00
Tim Wilkinson d36bb88913
Only monitor active wireguard tunnels (#1232)
* Only monitor wireguard tunnels which are active
2024-05-29 22:49:38 -07:00
Tim Wilkinson fde3b08367
Find the closest supernode, not the first (#1229)
* Find the closest supernode, not the first

* Support DNS queries coming from the supernode network
2024-05-29 19:59:29 -07:00
Tim Wilkinson da71e6e26b
Ignore badly formatted services (#1228) 2024-05-29 16:44:11 -07:00
Tim Wilkinson 4717ab051c
Drop default quality (#1227)
We calculate quality differently (ie. correctly) so drop the default
minimum to avoid too many nasty suprises.
2024-05-29 16:44:00 -07:00
Tim Wilkinson c0d38a4e89
Update registered trademarks (#1225) 2024-05-29 00:45:25 -07:00
Tim Wilkinson 32e35ce88c
Fix forwarding between xlink and dtd (#1226) 2024-05-29 00:45:13 -07:00
Tim Wilkinson d6a652df31
Wireless monitoring improvements (#1222)
* Wireless monitor runs an emergeny wifi scan at 3am to recover forgotten nodes.
LQM no longer tries to ping stations which have disconnected.
2024-05-26 23:31:54 -07:00
Tim Wilkinson 8507fbc250
Tiny builds dont have wg installed (#1221) 2024-05-26 16:42:48 -07:00
Tim Wilkinson 2f1684a218
Rework the firewall for tunnels and xlinks to allow port forwarding. (#1220) 2024-05-26 16:41:18 -07:00
Tim Wilkinson 78fb72b917
Use increase in SNR to unblock quality block (#1218) 2024-05-25 16:51:37 -07:00
Tim Wilkinson 108d0da939
Fix fat-fingered display of lqm status on mesh page (#1215) 2024-05-23 11:31:31 -07:00
Tim Wilkinson ed422f3550
Better leaf node detection (#1214)
* Better leaf node detection

* Only count leafs what would be blocked
2024-05-22 19:46:41 -07:00
Tim Wilkinson fbaa54bb23
Avoid cutting off leaf nodes (#1211)
* Avoid cutting off leaf nodes

* Use OLSR broadcast with pending nodes
2024-05-21 21:02:58 -07:00
Tim Wilkinson 2509ebdf3b
Fix check-services which failed when services reduced to 0 (#1212) 2024-05-21 21:02:47 -07:00
Tim Wilkinson d92876dccf
DHCP was not always starting on the lan interface like we need it to. (#1213) 2024-05-21 21:02:28 -07:00
Tim Wilkinson f7f31c8237
More antennas (#1209) 2024-05-20 22:10:02 -07:00
Tim Wilkinson 5069f0e480
Improve LQM interface detection (#1207) 2024-05-15 18:39:55 -07:00
Tim Wilkinson 250db5605f
Fix busy wait when tick == 0 (#1206) 2024-05-15 18:09:07 -07:00
Tim Wilkinson b495f4e62b
Mikrotik dish (#1205) 2024-05-14 23:13:51 -07:00
Tim Wilkinson 146aebd881
Remove nodes if they've had a quality of 0 for an hour. (#1204)
They've probably gone, but the ARP cache tends to keep them around so we
can't rely on that timing them out.
2024-05-14 23:09:06 -07:00
Tim Wilkinson 2235d3229c
Fix dns alias validation pattern to allow wildcard DNS again. (#1203) 2024-05-14 22:39:47 -07:00
Tim Wilkinson 7536b66aca
Fix quality error messages (#1202)
* Handle null snr and qualities

* Fix quality message
2024-05-14 16:02:00 -07:00
Tim Wilkinson 3d3dbc5040
Use nixio.getnameinfo rather than our own nslookup hack (#1201) 2024-05-14 11:20:08 -07:00
Paul K3PGM 650e26667c
Improvements and fixes for Advanced DHCP Options (#1197)
- The "Always" checkbox now works for options with an explicit tag, and
is disabled for untagged options; the latter cannot be supported because
of a limitation in the OpwnWRT configuration language.
- Tagging by host name has been removed; it didn't work before and isn't
particularly useful in the AREDN context.
- Tagging by Agent Circuit ID, Agent Remote ID, and Subscriber-ID are
now supported so that a DHCP Relay Agent can be used to extend the LAN
across multiple subnets.
- Small improvements were made to error handling and hints.
2024-05-14 09:46:25 -07:00
Tim Wilkinson f79a90e816
Fix tunnel statistics (#1200) 2024-05-14 09:13:26 -07:00
Tim Wilkinson 7c4892d23f
More LQM quality tracking improvements. (#1196) 2024-05-12 22:10:53 -07:00
Tim Wilkinson 2454accbb5
Fix various status information errors (#1195)
* Fix various status information errors

* Fix whitespace
2024-05-12 14:53:37 -07:00
Tim Wilkinson 8bb01e0501
LQM improvements. (#1193)
Matched with changes in aredn_packages
2024-05-11 23:03:29 -07:00
Tim Wilkinson 4b13d5969f
Move manager logs into syslog (#1190) 2024-05-05 23:11:57 -07:00
Steve 76e0333968
fix extra curly brace (#1186) 2024-04-29 18:34:42 -07:00
Paul K3PGM cf3ef93b53
Add some missing antenna definitions for older Ubiquiti radios. (#1185)
* Add some missing antenna definitions for older Ubiquiti radios.

* Fix copy/paste error (sigh...)
2024-04-29 08:56:18 -07:00
Tim Wilkinson d4cfe9e9f2
Fix restarting firewall when wan telnet/ssh/web access changes (#1183) 2024-04-28 11:01:47 -07:00
Tim Wilkinson d261ebe334
Add gl-ar300m nand definition to radios.json (#1169) 2024-04-20 22:43:35 -07:00
Tim Wilkinson b452ba20e7
Make sure dmz_dhcp_end has a value, even in NAT mode (#1163) 2024-04-16 16:28:46 -07:00
Tim Wilkinson 86271040a0
Scan cache (#1160)
* Cache the last wifi scan and update it when a re-scan is requested.
This change was suggested as a way of handling Ubiquiti AC devices
which disconnect while scanning and making retrieving the results
problematic if that was your connection. Now we scan and store the
results so they can be retrieved later. In fact we no longer scan when
navigating to this page but require an explicity scan button push.
This make the page generally more responsive when initially navigated
to.
2024-04-10 18:30:29 -04:00
Paul K3PGM 9dafffa152
Show progress bar during reboot/reflash and show estimated time remaining in MM:SS. (#1156)
* Reboot/reflash progress bar, time remaining in MM:SS

When rebooting or reflashing the node, display a progress bar as
well as the estimated time remaining. Also show the time remaining
in MM:SS format.

* Fix indentation error.

* Minor changes to improve browser compatibility.
2024-04-07 16:04:00 -04:00
Tim Wilkinson 0dba2661c3
Improve the reboot/flash timers (#1155)
During the initial setup the IP address of the node can move
around a fair bit. Make sure the reboot timeout code handles this.
2024-04-04 12:10:58 -07:00
Tim Wilkinson e51fedc394
Use 192.168.1.1 when flashing while on ramdisk (#1154) 2024-04-03 15:29:15 -07:00
Paul K3PGM 3fee4eadae
Add antenna and TX-power definitions for GL-B1300. (#1151) 2024-04-03 15:01:43 -07:00
Tim Wilkinson d8b85d5b4a
Fix library requires (#1147)
* Another attempt to stop the mesh page from being truncated sometimes

* Fix originator

* Fix the require(...) libraries
2024-04-01 22:15:45 -07:00
Tim Wilkinson 9b89db7a7f
Fix missing hosts on mesh page (#1146)
* Another attempt to stop the mesh page from being truncated sometimes

* Fix originator
2024-04-01 22:14:49 -07:00
Tim Wilkinson d8c29d60e9
Use per-page scan rather than per node (#1145)
Similar fix that was recently added to the mesh page
2024-03-31 22:14:49 -07:00
Tim Wilkinson c77a63eca3
Ubiquiti AC wifi scan fix (#1144)
If we disconnect then reconnect the radio then the wifi scan on the Ubiquiti AC
will work for a short while.
2024-03-31 22:13:42 -07:00
Tim Wilkinson dae38b1611
Eliminate displaying multiple copies of previous neighbors (#1143) 2024-03-31 14:18:38 -07:00
Tim Wilkinson 145a2a38e8
Add 'None' antenna so we can unset the defined antenna (#1142) 2024-03-29 22:32:49 -07:00
Tim Wilkinson 466b8bd3c2
Chrome layout fixes (#1141)
* Layout tweaks for Chrome

* Better fixed antenna ui
2024-03-29 18:32:36 -07:00
Tim Wilkinson 5c90a1c09f
Tweak setup page layout (#1139)
* Tweak setup page layout

* Move map
2024-03-29 15:42:00 -07:00
Tim Wilkinson d111d82549
Provide /metrics using alias (no more /cgi-bin/metrics) (#1140) 2024-03-29 15:41:48 -07:00
Tim Wilkinson 7fbc89e797
Fix black on black text on tunnel page (#1138) 2024-03-29 13:02:52 -07:00
Tim Wilkinson c7f79de97a
Add aux antenna support (#1136) 2024-03-29 12:25:04 -07:00
Tim Wilkinson 5c279f16e0
Add a countdown timer for reboots and updates (#1137) 2024-03-29 12:24:55 -07:00
Tim Wilkinson bca1ed4be4
Rewrite iperf to make it more reliable (#1135)
* Improve iperf

* Try to improve iperf reliability

* Try to improve iperf reliability

* Rewrite
2024-03-28 23:01:59 -07:00
Tim Wilkinson a97c1c277a
Use arpping to monitor poor arp-able links (#1134) 2024-03-28 23:01:48 -07:00
Tim Wilkinson 068e35dfc8
Fix missing cursor (#1132) 2024-03-28 23:01:37 -07:00
Tim Wilkinson 4337fc6393
Fix display of previous neighbors (#1133) 2024-03-28 15:43:09 -07:00
Tim Wilkinson f75e4d9675
Increase wifi retries by default. (#1129)
Experimental wifi research reports that increased retries (rather than decreased as I originally
thought) improves tcp throughput on multi-hop wifi networks.
2024-03-27 17:01:14 -07:00
Tim Wilkinson 8e751dcb62
Half the OLSR maintenance traffic (#1130) 2024-03-27 17:01:00 -07:00
Tim Wilkinson 3d1faf8939
Fix DTD and WLAN ips derived from matching MACs. (#1128)
On some devices the hardware MAC for the WLAN and ETH are the
same so the 10.DTD and 10.WLAN addresses are identical. If we
detect this, bump the DTD address.
Commonly seen on TP-Link devices (but there are others)
2024-03-26 22:56:21 -07:00
Tim Wilkinson a14b897e0f
Disable reducing retry counts (#1126) 2024-03-26 16:23:50 -07:00
Tim Wilkinson ff02f129f3
Improve xlink reporting in sysinfo (#1127) 2024-03-26 16:23:32 -07:00
Tim Wilkinson 2fc76191a0
Set pkt retry to 2 (was 1) for hub nodes. (#1125)
Too many retries appears to cause network congestion issues slowing down
links with multiple hops, but reducing this to 1 then caused single links
to have poor performance. Try a rety of 2 as a better compromise.
2024-03-25 21:08:30 -07:00
Tim Wilkinson 8b6339a099
Use adaptive reload mechanism when node upgrades or reboots (#1121) 2024-03-25 19:52:27 -07:00
Tim Wilkinson 08226ca8d0
Make auto mesh reloading per browser rather then per node (#1122) 2024-03-25 19:52:16 -07:00
Tim Wilkinson dea10f2f8e
Lime on Black style (#1123) 2024-03-25 19:52:06 -07:00
Tim Wilkinson d517e4f6c8
Fix Bad Gateway when rebooting from tunnel pages (#1120) 2024-03-24 23:34:19 -07:00
Tim Wilkinson 6be1091ffb
Updates to /etc/local/services no longer require reboot (#1119) 2024-03-24 23:10:42 -07:00
Tim Wilkinson b1c85fa281
Improve speed of search (#1117)
* Stop searching empty fields

* Cache searchable fields to speed up future searches
2024-03-22 17:49:59 -07:00
Tim Wilkinson 43a4940032
Improve mesh page searching (#1115)
* Improve layout so we can improve search

* Fixes

* Use thead for table header
2024-03-15 08:43:43 -07:00
Tim Wilkinson 811743a7ac
Add <1 mile if distance to node is known but small. (#1114)
Handle kilometers
2024-03-13 18:18:24 -07:00
Tim Wilkinson afbd22a5e6
Hide wireguard keys in base config (#1112) 2024-03-06 10:24:03 -08:00
Tim Wilkinson 2cda75e7ba
Include tunnel information in supporttool dump (with hidden passwords) (#1111) 2024-03-05 17:23:13 -08:00
Tim Wilkinson 5c633f2b8e
Support CIDR (e.g. /24, /16, etc) on a xlink (#1110)
* Revert hAP AC Lite xlink support

* Support CIDR (e.g. /24, /16, etc) on a xlink
Xlink had originally been envisaged as a point-to-point connection
leaving the "how" of that to other software. However, there's a use case
where the non-AREDN radios in the xlink need to be accessed, and allocating
addresses within the xlink's address range is a good way to do that.
By supporting a a subnet on a xlink we can enable this.
2024-03-04 21:08:27 -08:00
Tim Wilkinson e8abbb5489
Revert hAP AC Lite xlink support (#1106) 2024-03-01 15:23:15 -08:00
Tim Wilkinson 6f30ab1cc5
Fix bug in making new xlinks (#1105) 2024-02-29 16:32:45 -08:00
Tim Wilkinson 6d81b4c846
Enable xlinks on hap ac lites (#1104) 2024-02-28 23:57:13 -08:00
Tim Wilkinson 4ff44c2b21
Run the wireguard watchdog script every 5 minutes (#1102)
This fixes up wireguard connections to dynamically changing IP addresses
2024-02-23 23:02:45 -08:00
Tim Wilkinson 6659c59239
Ignore tracker entries without IPs (#1101) 2024-02-23 21:11:51 -08:00
Tim Wilkinson d1777c016d
Correctly escape characters in the mailto: urls (#1099) 2024-02-19 17:33:41 -08:00
Tim Wilkinson e76c21de2d
Improve hidden node reporting & fix column alignments (#1098)
* Fix ETX alignment

* Move hidden into Remote Nodes section.
Simplify node status construction
2024-02-11 21:04:02 -08:00
Tim Wilkinson 270b205a8b
Improve link labels (add RF and Wireguard) (#1097) 2024-02-11 01:12:58 -08:00
Tim Wilkinson 425253a428
Fix lqm ip lookup (#1096) 2024-02-09 20:55:18 -08:00
Tim Wilkinson 139c5f66e5
Merge the LQM info onto the Mesh page (#1095) 2024-02-09 20:45:52 -08:00
Tim Wilkinson a810b3b63b
Limit buffer size of iperf3 test to 1K (#1094)
This is a workaround for a bug where iperf3 will just block
randomly and no longer send data. It may effect the absolute
performance measurements compared to the default buffer value
although I didnt see that in my testing
2024-02-09 14:13:16 -08:00
Tim Wilkinson a09ac6ed1a
New supernodes no longer have access to legacy tunnels (#1093) 2024-02-06 19:24:33 -08:00
Tim Wilkinson 62a6959378
Collapse QEMU and VMWARE hardware into two basic types (#1091) 2024-02-05 11:51:43 -08:00
Tim Wilkinson 9e94c018c7
Regenerate key when client name changes (#1088) 2024-02-03 22:32:40 -08:00
Tim Wilkinson 14929ff576
Revert attempt to hide irrelevant neigbhors as it hid too much. (#1087) 2024-02-03 12:17:02 -08:00
Tim Wilkinson 54509345ff
Fix clearing the mesh search field (#1086) 2024-02-01 18:01:17 -08:00
Tim Wilkinson f3de5785a0
Validate network override configs (#1085)
* Validate network override configs

* Extra vlans
2024-01-30 13:25:37 -08:00
Tim Wilkinson 82b5694dff
Sort node list in mesh display (#1084) 2024-01-30 13:25:26 -08:00
Tim Wilkinson 40dbe7e547
Support for mANTbox 2 12s (#1083)
* Add routerboard-911g-2hpnd-12s

* Fix procd for devices without /dev/console

* Disable console reset in kernel
2024-01-24 19:28:36 -08:00
Tim Wilkinson f3d49eab64
Hide long time idle neighbors (#1082)
* Dont show neighbor we can't resolve or route to

* Hide neighbor which have been non-routable for over an hour
2024-01-23 00:13:01 -08:00
Tim Wilkinson 1c72b145f6
Support for GL.iNet E750 (#1079)
* Support for GL.iNet E750
2024-01-22 20:22:27 -08:00
Paul K3PGM 35316299c1
Deduplicate and sort tag names in Advanced DHCP Options selector. (#1078)
* Deduplicate and sort tag names in Advanced DHCP Options selector.

* Only build the deduplicated list of tag names once.

* Build DHCP option tag table more efficiently.
2024-01-22 18:27:12 -08:00
Tim Wilkinson 29cc59ac9c
Support wireguard linktype (#1077) 2024-01-21 20:20:21 -08:00
Tim Wilkinson 493dd98534
Wrap wireguard ip addresses (#1076) 2024-01-21 17:25:29 -08:00
Paul K3PGM 4e35b2f0c6
First draft of advanced DHCP option specification on Ports tab. (#1073)
* First draft of advanced DHCP option specification on Ports tab.

Allows the node administrator to specify additional DHCP options that
will be supplied to LAN clients in specific circumstances. This change
adds two tables to the Ports configuration tab.

The "Tags for Advanced DHCP Options" table allows the administrator to
specify DHCP tags that will be assigned to clients that identify
themselves with specific values for properties such as Vendor Class or
MAC address.

The "Advanced DHCP Options" table allows the administrator to specify
arbitrary DHCP options to send to any client, or only to clients with a
specific tag. Option numbers can be entered directly or chosen from a
list of well-known options. Option values are manually entered by the
administrator.

In-browser validation is implemented for all input fields with easily
recognizable content such as host names, MAC addresses, and port and
option numbers. Placeholders are also supplied for input fields, such as
MAC addresses with wildcard matching, that might otherwise be difficult
to describe.

Issues with the current version:
- Sending DHCP options not requested by the client is implemented using
the dhcp_option_force UCI configuration option, but does not currently
work.
- Tagging by client host name is supported by dnsmasq, but not yet by
UCI.
- DHCP option values must be entered manually by the administrator, but
are not currently validated.

* Better validation, placeholders, and hints for existing input fields.

* Remove junk accidentally inserted in comment.

* Preserve Advanced DHCP options across updates.
2024-01-21 17:25:16 -08:00
Tim Wilkinson d75a463a50
Support Litebeam 5AC LR (#1071) 2024-01-18 15:07:02 -08:00
CoolAEW 6be27bf138
Added external antenna and (XM) destinction to boardID 0xe2b5 (#1069) 2024-01-17 14:03:16 -08:00
Tim Wilkinson e83af37894
Label wireguard tunnels in LQM (#1068) 2024-01-17 14:02:20 -08:00
Tim Wilkinson fb0f9a4b56
Update cursors on each lqm iteration. (#1067)
If we dont, and other apps change values in the config files, old
cursors dont see the new values.
2024-01-17 11:43:52 -08:00
Tim Wilkinson e08e0feae5
Support dynamic number of ethernet ports on VMs (#1066) 2024-01-16 16:13:34 -08:00
CoolAEW 1ca9b4d201
Added antennas to Ubiquiti NanoBridge M5 (#1065)
* Added NanoBridge M5 antennas

* Changed NanoBridge M5 to use external antenna
2024-01-16 10:09:10 -08:00
Tim Wilkinson 1bafc35ded
Dont run iwinfo if we have no wifi (#1064) 2024-01-13 23:35:29 -08:00
Tim Wilkinson ca0006164c
Dont scan wifi bitrates when not using mesh wifi (#1062)
* Dont get wifi bitrates when not using mesh wifi

* Remove unused 'prefix'
2024-01-12 23:25:00 -08:00
Tim Wilkinson b64fd8f8e0
Improve mesh display (#1061)
* Improve tunnel and xlink display information

* Also weight nlq.
This is assumed both ends of a tunnel are equally weighted as we
have no way to get this information directly.
2024-01-12 22:26:45 -08:00
Tim Wilkinson ce5521f373
Fixes for remote logging (#1060) 2024-01-11 20:51:25 -08:00
Tim Wilkinson bb83a8d1c9
More wireguard fixes (#1059)
* More wireguard fixes

* Fix monitoring bug when finding tunnel address
2024-01-10 00:02:54 -08:00
Tim Wilkinson f1567d662f
Wireguard2 - bug fixes (#1057)
* Fix _add for wireguard

* Fix LQM for wireguard
2024-01-07 21:44:21 -08:00
Tim Wilkinson e486a61cc8
Wireguard support - take 2. (#1056) 2024-01-07 16:17:52 -08:00
Tim Wilkinson 757ec56ada
Add some LQ and NLQ hint text. (#1054)
I can't be the only person who has to keep looking up what this means?
2024-01-05 12:09:55 -08:00
Tim Wilkinson 931bc07c0a
Retry failed firmware version downloads (#1053) 2024-01-03 22:32:41 -08:00
Tim Wilkinson 185d6e0abf
Fix host checking (#1052)
* Fix host checking

* nameserver -> nameservice
2024-01-03 00:45:49 -08:00
Tim Wilkinson 8b1b973490
Fix tunnel net display truncation on some browsers (#1051) 2024-01-02 15:06:20 -08:00
Tim Wilkinson 6d8528fa56
Make sure the node nodes we use for tunnels are always uppercase (#1049) 2024-01-01 17:36:18 -08:00
Tim Wilkinson 1d6815215a
Fix way we read old services (#1047) 2024-01-01 14:48:06 -08:00
Tim Wilkinson b6dfba160e
Remove need for /etc/config/services file (#1045) 2023-12-27 14:39:17 -08:00
Tim Wilkinson 509d475133
Fix firewall rules. (#1041)
1. Allow wireguard tunnels in iface mesh setup (treat like vtuns)
2. Fix incorrectly setting up dtd/wifi to wan rules
2023-12-21 11:06:15 -08:00
Tim Wilkinson 56043e0e0b
Reboot needs ip information from active /etc/config not /etc/config.mesh (#1040) 2023-12-21 11:06:03 -08:00
Paul K3PGM 80a4bbb7ae
Set advancednetwork script to be executable again. (#1042) 2023-12-21 11:04:53 -08:00
Paul K3PGM 0b7db7f15c
Add missing table entries in the Acvanced Network tab (#1039)
- Add missing layouts table entry for the GL-B1300.
- Add missing default_configs table entry for VMware Virtual Platform
2023-12-20 20:35:07 -08:00
Tim Wilkinson e5bd9bc066
Simply the watchdog by fixing various timeouts. (#1038)
Unfortunately there doesnt appear to be much flexibility in the various
hardware watchdogs on radios, so setting the watchdog > 60 seconds mostly
doesnt work. So rework the settings to allow for this and that our watchdog
tests must be frequent and quick.
2023-12-20 00:25:12 -08:00
Tim Wilkinson 2fe3904f0a
Accidenally created the wireguard devices twice (#1036) 2023-12-19 16:13:26 -08:00
Tim Wilkinson 0899ae7d02
Make watchdog easier to configure and less aggressive (#1034) 2023-12-19 12:07:47 -08:00