usteer: add support for IPv6 remote exchange
This adds optional support for message exchange using IPv6 multicast
messaging. This has the ability for routers and switches between nodes
to route traffic between usteer nodes multicast-aware.
By default, IPv4 is used. IPv6 can be enabled by configuring the ipv6
option to 1.
Signed-off-by: Jan Braun <[email protected]>
[squash commits - adapt usock usage]
Signed-off-by: David Bauer <[email protected]>
remote: use port macro for destination port
Signed-off-by: David Bauer <[email protected]>
main: add a command line option for dumping remote node data
Run for a given number of seconds and dump all found remote hosts/nodes as
JSON data
Signed-off-by: Felix Fietkau <[email protected]>
config: reduce remote node timeout to 10 update intervals
Even when there are network issues, we shouldn't keep stale data
around for so long
Signed-off-by: Felix Fietkau <[email protected]>
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 <[email protected]>
ubus: add support for getting a list of remote hosts
Signed-off-by: Felix Fietkau <[email protected]>
remote: track remote hosts as a separate data structure
Will be used to track host info
Signed-off-by: Felix Fietkau <[email protected]>
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 <[email protected]>
rename a few functions in preparation for renaming script_data to node_info
Signed-off-by: Felix Fietkau <[email protected]>
ubus: add api for modifying node script data
This is replicated across nodes
Signed-off-by: Felix Fietkau <[email protected]>
ubus: display script data when dumping node info
Signed-off-by: Felix Fietkau <[email protected]>
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 <[email protected]>
openwrt: add missing config handling for event log types
Signed-off-by: Felix Fietkau <[email protected]>
make list of steering-enabled SSIDs configurable
Signed-off-by: Felix Fietkau <[email protected]>
openwrt: add documentation for uci options in the config file
Signed-off-by: Felix Fietkau <[email protected]>
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 <[email protected]>
openwrt: fix path to daemon in init script
Signed-off-by: Felix Fietkau <[email protected]>
policy: always accept assoc requests by default
Only steer using probe responses to avoid connection issues
Signed-off-by: Felix Fietkau <[email protected]>
policy: always accept auth requests
Signed-off-by: Felix Fietkau <[email protected]>