status mechanism for handlers
There are 2 types of information a handler may have interest in showing:
public data : number of networks, station, channels, last update.
private data: database info (host, name ...)
This can be done if the WSS accepts input from the Handler Streamingoutput.
#1 Updated by Chad Trabant almost 9 years ago
- Subject changed from Handlers status to status mechanism for handlers
I would like to initially focus on making the private status information available, we can include the mentioned public data in the same summary.
White list IP ranges (IP and netmask) are an appropriate level of access for this kind of information. This white list control should be a function of the WSS as a standard feature.
A path should be determined, how about <interface>/status-handler ?
#2 Updated by Mike Stults over 5 years ago
- Resolution set to Won't Fix
This feature can be implemented with the existing WSS functionality using the allowedIPs capability to distinguish between private and public.
For example, to add public and private database statuses, add two endpoints like this;
- for the public status endpoint
other properties, etc.
- for the private status endpoint, add allowedIPs property
db-private-status.handlerProgram=/wss_handlers/dbStatusHandler # same handler or different
aother properties, etc.
db-private-status.allowedIPs=127.0.0.1/32,::1/128,172.17.0.0/24 # set IPs as needed