Commit Graph

856 Commits

Author SHA1 Message Date
Herbert Wolverson
f3a5739133 Add 'download unknown' link to the unknown IPs page. 2023-01-13 14:16:48 +00:00
Herbert Wolverson
d7034d1e42 Update testing file to indicate that the branch is no longer needed. 2023-01-13 13:59:50 +00:00
Herbert Wolverson
78e26d1b43 Merge branch 'v1.4-pre-alpha-rust-integration' 2023-01-13 13:57:47 +00:00
Robert Chacón
87e5ca90f9
Update TESTING-1.4.md 2023-01-12 19:45:00 -07:00
Herbert Wolverson
d9ae80e56f #184 - Experimental code for unpacking MPLS labels, finding the bottom-of-stack and extracting IPv4 or IPv6 payload. Does not supported VLANs nested inside VPLS. Needs considerably more testing. 2023-01-12 18:48:53 +00:00
Herbert Wolverson
f79f850079 Oops, turning off redaction didn't work properly. 2023-01-12 17:23:38 +00:00
Herbert Wolverson
f5cfd48dd1 Oops, turning off redaction didn't work properly. 2023-01-12 17:22:10 +00:00
Herbert Wolverson
187e0dd275 Add bounds checking to quantile calculation 2023-01-12 16:56:06 +00:00
Herbert Wolverson
115a3fed7b Add bounds checking to quantile calculation 2023-01-12 16:54:10 +00:00
Herbert Wolverson
2906c1b8f0 Ignore 0 band in quantile display. 2023-01-12 16:50:39 +00:00
Herbert Wolverson
858ed06286 Update redaction, it's now in Klingon. 2023-01-12 16:41:52 +00:00
Herbert Wolverson
44171d15ea Support redaction mode. 2023-01-12 16:13:10 +00:00
Herbert Wolverson
8fade0b1b1 Add a CSS file and move a lot of inline styles out of the body. 2023-01-12 14:57:23 +00:00
Robert Chacón
75fc2f22f7
Merge pull request #188 from cclauss/patch-1
GitHub Action to lint Python code
2023-01-12 03:51:38 -07:00
Herbert Wolverson
80b79684da #148 - Show quantile utilization on queue details. 2023-01-11 20:44:44 +00:00
Herbert Wolverson
7118ad948f #148 - Show quantile utilization on dashboard for total flow analysis. 2023-01-11 20:07:35 +00:00
Herbert Wolverson
0715f76022 Remove redundant reload link 2023-01-11 18:22:56 +00:00
Herbert Wolverson
7b0715756f Real-time reloading of lqosd tunables and queue check frequency
Extends the bus to include a "reload lqosd" command that reloads
the tunables and queue frequency in real-time, without requiring
a bridge restart.
2023-01-11 18:16:30 +00:00
Herbert Wolverson
7b18ca4196 Add libbpf-dev to the dependency list. 2023-01-11 16:00:24 +00:00
Herbert Wolverson
8d9eee8f47 TESTING: Add a CI build/test step to the Rust project for Github. This will probably fail and require more commits to get working. 2023-01-11 15:53:34 +00:00
Herbert Wolverson
2c829fc09c Add documentation to lqos_config 2023-01-11 15:42:10 +00:00
Herbert Wolverson
d51c1b8622 Add more unit tests to lqos_bus, checking that encode/decode of request and replies is valid. 2023-01-11 15:12:38 +00:00
Herbert Wolverson
5cf20a9afe Clean up and document the lqos_bus crate. 2023-01-11 15:04:26 +00:00
Herbert Wolverson
02c3a835a1 Cargo fmt run - format all code. 2023-01-11 14:12:40 +00:00
Herbert Wolverson
778de71402 Comment out queue diff types we aren't currently using. 2023-01-11 14:12:16 +00:00
Herbert Wolverson
393a489bca Allow logged-in users to update ispConfig.py via web UI
1) lqos_config understands writing to a new ispConfig.py file, copying the
   previous one and amending to avoid changing any not-covered data.
2) The web UI can adjust the config, upload a new one and it is saved.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 16:12:09 +00:00
Christian Clauss
cfb42895d0
Use requirements.txt 2023-01-10 16:49:27 +01:00
Robert Chacón
86c26bb9d4
Merge pull request #189 from cclauss/patch-2
python3 -m pip install -r requirements.txt
2023-01-10 08:46:20 -07:00
Herbert Wolverson
bebcbaf7c6 Merge branch 'v1.4-pre-alpha-rust-integration' of https://github.com/LibreQoE/LibreQoS into v1.4-pre-alpha-rust-integration 2023-01-10 14:16:34 +00:00
Herbert Wolverson
76077a3de0 Use checked subtraction to avoid overflow when counting hosts. 2023-01-10 14:12:51 +00:00
Herbert Wolverson
add187fa6f Fix warning 2023-01-10 14:12:51 +00:00
Herbert Wolverson
165dae030b Adds an authentication system.
* The new Rust utility "webusers" manages /opt/libreqos/webusers.toml.
* You can add/update/remove/list users from that tool.
* The "allow anonymous" option in webusers.toml permits access for
  unauthenticated users, but won't let them change anything. This is
  for payne demonstrations.
* All web APIs and pages should now be secured, requiring a login.
* The login requires cookies.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:51 +00:00
Herbert Wolverson
8060a50f0d Update test instructions to include how to update. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
a95f6d45de Update TESTING-1.4 instructions 2023-01-10 14:12:50 +00:00
Herbert Wolverson
939302af63 Throughput graph is responsive, doesn't fill to zero on unshaped, and has an X-axis label. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
66b5e822af #1 TCP Rtt graph is responsive, has a colour gradient, and an X axis label 2023-01-10 14:12:50 +00:00
Herbert Wolverson
702b8034df CPU graph is responsive, and scales colors based on load. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
bb3358ebcc #183 Flexible layout, no legend and more padding for RAM graph. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
5d92eb7a61 Update lqos.example to more sane defaults, and add a TESTING-1.4.md document to provide some temporary instructions for testing this release. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
0cddf107de Easier to read queue data, now showing graphs for throughput, delays, queue length, etc. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
56f421daed TC Queue Check Frequency and Display
* The frequency with which TC queues are polled for statistics is
  now controled by `queue_check_period_ms` in `/etc/lqos`.
* Example file updated.
* Configuration display updated.

This is designed to act as a compromise: for detailed analysis, it
can be updated to a low number. For regular running, it can be updated
to 1000 or more.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00
Herbert Wolverson
c5e8da8159 Oops - forgot to multiply bytes into bits for consistency. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
0422384b21 Show a few more data items per queue 2023-01-10 14:12:50 +00:00
Herbert Wolverson
dbfee1f079 Less horrible graphing code, ringbuffer properly scrolling.
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00
Herbert Wolverson
e3c7245838 Forgot to invert upload
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00
Herbert Wolverson
d8bffa2137 Initial work on displaying queue data. Very early days.
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00
Herbert Wolverson
fbd3c22566 Missing td tags 2023-01-10 14:12:50 +00:00
Herbert Wolverson
2d9937518a Read-only configuration of non-integration portions is working locally, sending upstream for testing. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
8afdc2e0d1 WIP - Basic interface and Bifrost config displayable. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
64ae074fbe Oops - missed an active navlink tag
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00