Commit Graph

1483 Commits

Author SHA1 Message Date
Tim Wilkinson ce296c94d4 Make sure wifi is up before letting OLSRD run 2021-11-07 11:09:34 -08:00
Phil Crump 837a3c602c
admin page: Fix validateFirmwareFilename() for underscore in ath79 filenames (#161) 2021-11-04 15:32:04 -05:00
Tim Wilkinson 1fd909b18d
Meshoween: Better way to add new uci meshstatus section (#159) 2021-11-03 21:26:56 -05:00
Tim Wilkinson 9cac3db003
aredn: Meshoween - Bug fixes (#158)
Create meshstatus section if missing
2021-11-03 13:25:06 -07:00
Tim Wilkinson 134532ab2a
aredn: Meshoween Mesh status page optimizations (#157)
* Memory and cpu performance improvements
* Fix bandwidth reporting
* Discard large arrays once we're done with them
* Fixup whitespace
* Improve string constructions
* Use available mem
* Print the Remote Nodes as we go (can be big)
* Local variables
* Stop re-reading arp/mac files
* Reduce calls to system 'cat'
* Simply lat/lon read
* Only read route30 once
* Whitespace
* Make meshstatus limits configurable
* and => &&, or => ||
* gzip content if we can

fixes #155
2021-11-02 21:35:39 -07:00
Brett T. Warden f4a537a6df
Package kernel driver for DS3231 RTC (#153)
Enable building and packaging the rtc-ds1307 kernel driver, which supports the high accuracy DS3231 RTC over I2C, along with other models. This can enable standalone real-time for devices with an exposed I2C bus, such as the GL-AR750.

This change cascades some additional kernel options around RTC and I2c support, and additionally builds the i2c-dev module, in the i2c-core package.

The package is not included in images, rather available for individual download and install.
2021-10-29 07:56:27 -07:00
dman776 47e209391a
build: enable creation of profile.json to drive OFS tool in the future (#154) 2021-10-28 18:15:08 -05:00
Phil Crump 7d6dfcb37d
aredn: Load leaflet assets asynchronously on setup page. (#151) 2021-10-25 20:43:55 -05:00
Phil Crump a6669cc53e
aredn: Fix validateFirmwareFilename() on admin page (#150)
Co-authored-by: Phil Crump <phil.crump@goonhilly.org>
2021-10-22 16:02:15 -05:00
Joe AE6XE 304540d0e1 aredn: add new ubnt Rocket M with USB device
new boardid 0xe112
2021-09-15 02:20:33 +01:00
dman776 c179ce40b7
Api add tactical name (#139) 2021-09-09 08:32:24 -05:00
Steve AB7PA 7908c3e2d4
api: fix remote nodes list (#138) 2021-09-09 08:31:20 -05:00
Steve AB7PA 7741b27785
aredn: add sdhci packages (#136) 2021-09-09 08:30:25 -05:00
Tim Wilkinson 71e0debdbc Use develop branch for packages 2021-09-09 09:03:32 +01:00
dman776 abb3b4ae79
enhancement: add freifunk repo to advancedconfig. fixes #143 (#144) 2021-08-31 13:10:00 -05:00
apcameron 1f28582591 openwrt: bump version to 19.07.08 to address security fixes
Security fixes
Fix FragAttacks (fragmentation and aggregation attacks) vulnerabilities in cfg80211, mac80211, ath10k and ath10k-ct
We are not sure if some closed source firmware files are still affected by these problems.
Security Advisory 2021-08-01-1 - XSS via missing input validation of host names displayed (CVE-2021-32019)
Security Advisory 2021-08-01-2 - Stored XSS in hostname UCI variable (CVE-2021-33425)
Security Advisory 2021-08-01-3 - luci-app-ddns: Multiple authenticated RCEs (CVE-2021-28961)
Various security fixes in packages
2021-08-08 19:23:30 -07:00
Eric 785161e932
aredn: fix long node names for tunnels. (#137)
fixes #11
also fixes: https://www.arednmesh.org/comment/7412#comment-7412
(which has been hanging around for um... _years_!!)
2021-07-20 09:07:10 -05:00
Steve AB7PA a3e33a2f9b
api: show version in info table (#135)
Include the api_version in the info table so it can be displayed in 
System card on newui.
2021-07-18 21:21:12 -05:00
Steve AB7PA db61c1181d
api: sort remote nodes (#134)
* api: sort remote nodes

one-liner to sort remoteNodes by ETX value for newui.

* api: sort remote nodes

ensure sort by floating point numbers
2021-07-18 21:20:48 -05:00
Steve AB7PA aad99540b2
aredn: add mmc packages (#133)
* aredn: add mmc packages

compile but do not include mmc packages in firmware image

* aredn: add mmc packages

Add mmc-utils to Makefile.
2021-07-18 21:20:23 -05:00
Eric 87ea92da2a
aredn: update the API version numbers (#132) 2021-07-13 21:29:32 -05:00
Steve AB7PA 8ff4156d37
fix snrlogging issue (#131)
Add default values to snr variables to avoid fatal errors that prevent 
snr.dat and snrlog/files from being written.
2021-07-10 12:40:28 -05:00
Eric 8f1d23e565
aredn: 20MHz wide channel fix for adjust_rate function in utils.lua (#129) 2021-07-10 12:40:01 -05:00
Steve AB7PA a7ab2c6a46
api: revise localhost function (#128)
* api: revise localhost function

Revise getLocalHosts() so it doesn't report unwanted hosts.  
getLocalCnxType() is no longer needed.

* include new iplookup function too

* incorporate Eric r1de values for getCurrentNeighbors

* use alternative for mac2host()

* get actual wlan interface for arp query

* tested on dualband radio

Tested on dualband radios with active clients on both Mesh RF and Wifi 
AP.

* add more error checking

* fix iplookup match

It is possible to have 2-digit "mid" prefixes. Fixes match to account 
for 2 possible digits.

* tighten up code

* add extra info values for Eric r1de
2021-07-10 12:39:25 -05:00
Eric 7fa6b57e1c
aredn: added network topology to mesh info API "page" (#125) 2021-07-10 12:38:11 -05:00
Steve AB7PA 49017f4cbf
add invalid link handling to api (#115) 2021-06-17 14:49:11 -05:00
Steve AB7PA e93987fe06
api: add RF IP for non-RF links (#124)
* api: add RF IP for non-RF links

Add the RF IP address for non-RF linked devices. This allows the 
services to be displayed for non-RF Current Neighbors.

* remove case manipulation
2021-06-17 14:48:19 -05:00
dman776 d595b9cf3d
add traceroute and remotenodes to api (#114) 2021-06-06 07:33:43 -05:00
Steve AB7PA 06bce04df1
fix MHz on status display (#118) 2021-06-05 10:37:53 -05:00
dman776 79aa11db40
Api use libiwinfo frequency (#112) 2021-05-26 09:57:47 -05:00
Steve AB7PA 10ff6f512f
Fix regex for current neighbor midxx.hostname (#110) 2021-05-22 23:45:00 -05:00
Steve AB7PA 79a57a0021
Add LocalHost Connection Type (#109)
Add a connection type field to info.lua so the api can provide it to the 
newui Local Hosts display.
2021-05-21 11:12:43 -05:00
Steve AB7PA 1c76248765
Remove local.mesh suffix from Local Hosts hostname in newui (#108) 2021-05-20 20:46:29 -05:00
Steve AB7PA 7633d10382
Remove local.mesh suffix from CurrentNeighbor hostname (#106)
* Remove local.mesh suffix from CurrentNeighbor hostname

* Uppercase hostname for consistency

* Make hostname lowercase for consistency with Local Hosts display in newui
2021-05-20 16:56:50 -05:00
AbortRetryFail 9fd900f631
Add build target for Meraki MR16 devices. (#104)
closes #103
closes #104
2021-05-16 15:29:40 -07:00
Steve AB7PA 780b696398
fix: Local Alert File Read All (#102)
* fix: Local Alert File Read All

Read the entire local_message file rather than just the first line.

* fix: Local Alert File Read All

Also fix the issue with empty alert files showing empty newui alert 
dialogs.
2021-05-11 21:27:05 -05:00
dman776 232d7bf6b2
api enhancement: convert getFreq to use lib-iwinfo (#101) 2021-05-06 00:05:57 -05:00
Steve AB7PA 8ef6e56925
Format Uptime as String (#100)
* Format Uptime as String

Format uptime as a string with values for days, hours, minutes, and 
seconds.

* Format uptime as String

Change code to use the secondsToClock function in utils.lua
2021-05-05 22:20:29 -05:00
dman776 209f9dc3f9
bugfix: fix api when meshrf is disabled (#99) 2021-05-05 12:53:19 -05:00
dman776 8117fcc74f
Lua info gateway (#95)
* api updates: alerts, targettype, api_version

* added filesystem and memory totals

* bugfix: correct error in api ip when there is no gateway
2021-04-23 10:10:40 -05:00
Paul K3PGM 3ddb7a0bb2
feature: runtime-configurable tunnel limits (#84) 2021-04-23 09:46:09 -05:00
dman776 261644b1e5 Updated config.yml 2021-04-11 07:12:52 -05:00
Joe Ayers 745b15ee29 aredn: reset branch to main 2021-04-10 23:27:36 -07:00
dman776 70287347b4
aredn: Prepare the 3.21.4.0 release (#92)
* aredn: Prepare the 3.21.4.0 release

* add Mikrotik mAntbox to README
2021-04-10 09:58:45 -05:00
Steve AB7PA d5c9e33e68
bug: Fix spike to zero in SNR Chart (#90)
Fix spike to zero in SNR Chart.
2021-04-06 21:18:00 -05:00
Steve AB7PA 6cc379d647
bug: fix nill typo (#88)
* bug: fix nill typo

Fix typo (nill to nil) in pidfile test.

* bug: fix nill typo

Fix typo (nill to nil).
2021-04-06 21:15:50 -05:00
dman776 3de44d3830
readme update - correct typo (#87) 2021-03-31 16:28:23 -05:00
Steve AB7PA 77ebea85c2
Execute Button Description (#86) 2021-03-27 11:28:17 -05:00
kc8ufv fa4c9c36ea Update perlfunc.pm
Added new hardware model strings for the Mikrotik Routerboard 911 & 912, since Mikrotik now puts them as RB911/RB912
2021-03-26 17:46:16 -07:00
Joe AE6XE fa12ec50e1
aredn: add Rocket XM ar71xx image to support older models with USB port (#83) 2021-03-24 22:25:34 -05:00