Jan Braun
e4ea2045eb
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 <keksgesicht23@gmail.com >
[squash commits - adapt usock usage]
Signed-off-by: David Bauer <mail@david-bauer.net >
2021-09-21 14:58:41 +02:00
David Bauer
a52de0ff20
remote: use port macro for destination port
...
Signed-off-by: David Bauer <mail@david-bauer.net >
2021-09-21 14:58:23 +02:00
Felix Fietkau
ab4d89e742
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 <nbd@nbd.name >
2021-07-07 11:37:51 +02:00
Felix Fietkau
07a2f767e5
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 <nbd@nbd.name >
2021-07-06 19:50:05 +02:00
Felix Fietkau
e685db7fa7
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 >
2021-07-06 19:44:02 +02:00
Felix Fietkau
0029f3ce2e
ubus: add support for getting a list of remote hosts
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-07-06 19:23:59 +02:00
Felix Fietkau
8be33b596b
remote: track remote hosts as a separate data structure
...
Will be used to track host info
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-07-06 19:14:40 +02:00
Felix Fietkau
e9641c4657
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 >
2021-07-06 14:35:40 +02:00
Felix Fietkau
e0cd9522dc
rename a few functions in preparation for renaming script_data to node_info
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-07-06 14:28:28 +02:00
Felix Fietkau
831b46a705
ubus: add api for modifying node script data
...
This is replicated across nodes
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-07-06 11:10:47 +02:00
Felix Fietkau
7f52d413f2
ubus: display script data when dumping node info
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-07-06 11:10:47 +02:00
Felix Fietkau
0e2538d685
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 >
2021-07-06 11:10:15 +02:00
Felix Fietkau
dc383d4361
openwrt: add missing config handling for event log types
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-05-13 16:10:36 +02:00
Felix Fietkau
0aab299c54
make list of steering-enabled SSIDs configurable
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-05-13 16:09:29 +02:00
Felix Fietkau
41213af5e6
openwrt: add documentation for uci options in the config file
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-05-12 13:33:14 +02:00
Felix Fietkau
2b1c740ce3
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 >
2021-04-16 14:55:57 +02:00
Felix Fietkau
6d62833ca1
openwrt: fix path to daemon in init script
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-04-16 14:29:18 +02:00
Felix Fietkau
47794506ce
policy: always accept assoc requests by default
...
Only steer using probe responses to avoid connection issues
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-04-12 12:15:28 +02:00
Felix Fietkau
d7a7f147fa
policy: always accept auth requests
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2021-04-12 12:10:17 +02:00
John Crispin
f9815e2d3c
Merge pull request #1 from thuehn/patch-1
...
[fix] binary file name should be usteerd
2020-11-19 21:37:44 +01:00
Dr.-Ing. Thomas Hühn
3bbce2b6a7
[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
2020-11-19 16:46:12 +01:00
Felix Fietkau
d10731f806
usteer: Initial import
...
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2020-11-12 15:37:10 +01:00