Commit Graph

882 Commits

Author SHA1 Message Date
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 d517e4f6c8
Fix Bad Gateway when rebooting from tunnel pages (#1120) 2024-03-24 23:34:19 -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 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 82b5694dff
Sort node list in mesh display (#1084) 2024-01-30 13:25:26 -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
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 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 e08e0feae5
Support dynamic number of ethernet ports on VMs (#1066) 2024-01-16 16:13:34 -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 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 8b1b973490
Fix tunnel net display truncation on some browsers (#1051) 2024-01-02 15:06:20 -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 a388adaa79
Improve the messaging when failing to retrieve firmware versions (#1033) 2023-12-19 12:06:45 -08:00
Tim Wilkinson cd4b99197a
Watchdog support, initial version. (#1030)
* Watchdog support, initial version.
The watchdog monitors three things:
1. A set of important system daemons.
2. A set of pingable ip addresses.
3. A time the node should reboot everyday.
2023-12-18 23:07:52 -08:00
Tim Wilkinson 8f5e87eb11
Fix display of ntp update when it changes (#1031) 2023-12-18 16:48:02 -08:00
Tim Wilkinson 913e9e9ee1
Fix text alignment on devices without antennas (#1029) 2023-12-17 22:02:05 -08:00
Tim Wilkinson 7e9137417e
Display all the antenna information on the front page (#1028) 2023-12-17 21:33:27 -08:00
Tim Wilkinson cc5c7cafd0
Make sure switching wifi modes forces a reboot. (#1027)
Because some hardware doesnt handle this well.
2023-12-17 21:14:38 -08:00
Tim Wilkinson 14494a477f
Add missing Request class to luci.http (#1026)
This was removed in the latest OpenWRT but we still use it.
Original plan was to just provide the old http (as ohttp) along
side but too many third-party apps also need this.
2023-12-17 16:20:41 -08:00
Tim Wilkinson abd0f8075a
VMWare support (#1024) 2023-12-16 21:32:25 -08:00