As a NOC screen, I want to display a status page without logging in so that when I boot up, I load a URL and the desired page loads.
Add a command line param -permittedIPs "10.0.0.0/24,192.168.88.1/32" to the daemon.
If a GET or POST request to /login is received, check the source IP address against the permittedIPs list. If the source address falls within the CIDRs specified, then issue a JWT token with the role of iplogin
This functionality replaces the old /checkip kludge.
As a NOC screen, I want to display a status page without logging in so that when I boot up, I load a URL and the desired page loads.
Add a command line param
-permittedIPs "10.0.0.0/24,192.168.88.1/32"
to the daemon.If a GET or POST request to
/login
is received, check the source IP address against thepermittedIPs
list. If the source address falls within the CIDRs specified, then issue a JWT token with the role ofiplogin
This functionality replaces the old
/checkip
kludge.