project/usteer.git
3 years agoadd support for defining global host info
Felix Fietkau [Tue, 6 Jul 2021 17:44:01 +0000 (19:44 +0200)]
add support for defining global host info

Change the '*' in the node info update cmd to refer to host info instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoubus: add support for getting a list of remote hosts
Felix Fietkau [Tue, 6 Jul 2021 17:23:59 +0000 (19:23 +0200)]
ubus: add support for getting a list of remote hosts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoremote: track remote hosts as a separate data structure
Felix Fietkau [Tue, 6 Jul 2021 17:14:36 +0000 (19:14 +0200)]
remote: track remote hosts as a separate data structure

Will be used to track host info

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agorename script_data to node_info
Felix Fietkau [Tue, 6 Jul 2021 12:29:24 +0000 (14:29 +0200)]
rename script_data to node_info

It's a more descriptive name, and we will have host_info later as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agorename a few functions in preparation for renaming script_data to node_info
Felix Fietkau [Tue, 6 Jul 2021 12:28:28 +0000 (14:28 +0200)]
rename a few functions in preparation for renaming script_data to node_info

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoubus: add api for modifying node script data
Felix Fietkau [Tue, 6 Jul 2021 08:29:20 +0000 (10:29 +0200)]
ubus: add api for modifying node script data

This is replicated across nodes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoubus: display script data when dumping node info
Felix Fietkau [Mon, 5 Jul 2021 13:51:10 +0000 (15:51 +0200)]
ubus: display script data when dumping node info

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoconfig: check for empty ssid list
Felix Fietkau [Tue, 6 Jul 2021 09:00:35 +0000 (11:00 +0200)]
config: check for empty ssid list

Without this check, an empty ssid list array results in a config with no nodes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoopenwrt: add missing config handling for event log types
Felix Fietkau [Thu, 13 May 2021 14:10:33 +0000 (16:10 +0200)]
openwrt: add missing config handling for event log types

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomake list of steering-enabled SSIDs configurable
Felix Fietkau [Thu, 13 May 2021 14:06:16 +0000 (16:06 +0200)]
make list of steering-enabled SSIDs configurable

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoopenwrt: add documentation for uci options in the config file
Felix Fietkau [Wed, 12 May 2021 11:33:14 +0000 (13:33 +0200)]
openwrt: add documentation for uci options in the config file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agorework log handling
Felix Fietkau [Fri, 16 Apr 2021 12:15:15 +0000 (14:15 +0200)]
rework log handling

- make logging events more structured
- add fine grained control over log events
- make it possible to receive more detailed events via ubus

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoopenwrt: fix path to daemon in init script
Felix Fietkau [Fri, 16 Apr 2021 12:29:12 +0000 (14:29 +0200)]
openwrt: fix path to daemon in init script

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agopolicy: always accept assoc requests by default
Felix Fietkau [Mon, 12 Apr 2021 10:14:05 +0000 (12:14 +0200)]
policy: always accept assoc requests by default

Only steer using probe responses to avoid connection issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agopolicy: always accept auth requests
Felix Fietkau [Mon, 12 Apr 2021 10:10:17 +0000 (12:10 +0200)]
policy: always accept auth requests

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 years agoMerge pull request #1 from thuehn/patch-1
John Crispin [Thu, 19 Nov 2020 20:37:44 +0000 (21:37 +0100)]
Merge pull request #1 from thuehn/patch-1

[fix] binary file name should be usteerd

4 years ago[fix] binary file name should be usteerd
Dr.-Ing. Thomas Hühn [Thu, 19 Nov 2020 15:46:12 +0000 (16:46 +0100)]
[fix] binary file name should be usteerd

the binary file name to be copied while install it in the OpenWrt package should be usteerd not usteer

4 years agousteer: Initial import
Felix Fietkau [Wed, 21 Mar 2018 15:40:05 +0000 (16:40 +0100)]
usteer: Initial import

Signed-off-by: Felix Fietkau <nbd@nbd.name>