aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-12-13 16:35:06 -0600
committerJP Dillingham <jp@dillingham.me>2025-12-13 16:35:06 -0600
commit1e0eb94a16fd6b8a3204bc14e11c0c5d47617d0c (patch)
treefc3e4fb320af056b25bd8d2d9c3fbd48cdd454f8
parent0d548ed62517ed1807d3c13f96772f33a9a3c1d1 (diff)
downloadslskd-1e0eb94a16fd6b8a3204bc14e11c0c5d47617d0c.tar.gz
on second thought, remove caution
-rw-r--r--docs/config.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/config.md b/docs/config.md
index 1ab7daec..3efe2e8a 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -892,8 +892,6 @@ By default, the role associated with the 'primary' API key is `Administrator` (o
#### Cautions
-When using CIDR filtering, you *must* supply both IPv4 and IPv6 ranges.
-
Note that CIDR filtering may not work as expected behind a reverse proxy, ingress controller, or load balancer, because the remote IP address will be that of the device that's handling ingress. This application doesn't support the `X-Forwarded-For` header (or anything like it) because a bad actor can easily fake it. If you wish to use CIDR filtering in this scenario, you'll need to do it at the point of ingress to your network.
Please also note that using API key authentication without HTTPS is **NOT RECOMMENDED**. API keys are sent in HTTP headers (and in the case of SignalR, in query parameters) and will be easily accessible to anyone eavesdropping on the network. This is a risk with JWTs as well, but JWTs expire and API keys don't. If you choose to use API keys over plain HTTP, seriously consider using CIDR filtering.