Add NETfishing discovery service

This commit is contained in:
Alexander Sellite 2026-08-10 10:19:57 -04:00
commit b5b3cc0211
13 changed files with 1013 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# Bind locally and place a TLS reverse proxy in front of the service.
NETFISHING_DISCOVERY_HOST=127.0.0.1
NETFISHING_DISCOVERY_PORT=7770
NETFISHING_DISCOVERY_ROOM_TTL=45
NETFISHING_DISCOVERY_MAX_ROOMS=4096
NETFISHING_DISCOVERY_MAX_ROOMS_PER_ADDRESS=32
NETFISHING_DISCOVERY_MAX_BODY_BYTES=8192
NETFISHING_DISCOVERY_LOG_LEVEL=INFO
# Only trust X-Forwarded-For when the immediate peer is within one of these CIDRs.
# The loopback values suit a reverse proxy on the same host.
NETFISHING_DISCOVERY_TRUSTED_PROXY_CIDRS=127.0.0.0/8,::1/128