Commit graph

24 commits

Author SHA1 Message Date
Jakob Lechner
808564b940 Attempt to fix nil pointer dereference 2025-09-15 18:06:40 +02:00
Jakob Lechner
f7110da643 Implement reading password from file 2025-09-15 16:42:22 +02:00
Jakob Lechner
09785448e2 Update dependencies and rework logging 2025-09-15 16:36:31 +02:00
Gerrit M. Keller
0d17408255 Add OFDMA upstream channel information 2023-01-07 21:48:55 +01:00
Gerrit M. Keller
cd1acd3804 Fix querying LED status
In firmware version 3.0.* the LED status is exposed in a more
generalized settings endpoint /api/v1/set_device with a response body
like:
{
  "error": "ok",
  "message": "all values retrieved",
  "data": {
    "username": "admin",
    "login_password": "",
    "led": "true",
    "http_state": "false"
  },
  "token": "xxxxx"
}
2023-01-07 21:48:55 +01:00
Gregor Jasny
6416edb90c fix: adjust Dns_Tbl parser
With firmware 3.0.41-IMS-KDG the `Dns_Tbl` format changed:

```json
{
	"Dns_Tbl": [{
			"__id": "1",
			"dns": "83.169.186.33",
			"Type": "DHCPv4"
		},
		{
			"__id": "2",
			"dns": "83.169.186.97",
			"Type": "DHCPv4"
		}
	]
}
```
2023-01-07 21:48:55 +01:00
MaxPeal
5285dddf4b add WanStatus 2023-01-07 21:48:55 +01:00
Gerrit M. Keller
cd742fe7b6 Fix authorization with firmware v3.0.*
After upgrade to firmware version 3.0.41-IMS-KDG
vodafone-station-exporter stopped working
crashing with a segmentation violation after querying
/api/v1/phone_calllog/1,2/CallTbl.

Checking the HTTP traffic all API requests requiring authentication
failed with HTTP error 401 and JSON response
{"error":"error","message":"Unauthorized user!"}

Adding a simple GET request to /api/v1/session/menu directly after the
final login POST request fixes this.
2023-01-07 21:48:55 +01:00
fluepke
ce763bb1a9
Add license 2021-03-21 00:04:40 +01:00
fluepke
ee0ce195ec
Logout any existing sessions 2021-03-20 20:08:47 +01:00
fluepke
547172a8e3
Improve README.md 2020-12-04 22:07:51 +01:00
fluepke
dd4186586f
Add scraping of SIP registrations 2020-12-04 22:07:20 +01:00
fluepke
11b3dc38d3
Add scraping of software component information 2020-12-04 21:19:08 +01:00
fluepke
fce525cad9
Add scraping of LED status setting 2020-12-04 21:05:49 +01:00
fluepke
7f045f968c
Add scraping of call log 2020-12-04 20:55:14 +01:00
fluepke
9739f241be
Add scraping of station status 2020-12-04 20:07:04 +01:00
fluepke
f94d82b91d
Improve README.md 2020-12-04 19:09:03 +01:00
fluepke
22ea340e27
Add sta_status API call 2020-12-04 19:07:46 +01:00
fluepke
780eb92684
Add more DOCSIS channel information 2020-12-04 19:04:29 +01:00
fluepke
d7f6534e3a
Improve README.md 2020-12-04 09:14:21 +01:00
fluepke
fb130d2dc9
Implement basic vodafone station exporter 2020-12-04 09:12:02 +01:00
fluepke
499736e5bf
Add .gitignore 2020-12-04 07:02:24 +01:00
fluepke
9933565444
Add GoLang key derivation implementation 2020-12-04 06:41:52 +01:00
fluepke
e2904e8cb4
Add README.md 2020-12-04 06:40:41 +01:00