Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

1.5 KB
Raw Blame

The HTTP-cookie warnings no longer treat 6to4 (2002::/16), Teredo (2001::/32) or NAT64 (64:ff9b::/96, 64:ff9b:1::/48) client addresses as private. Python's ipaddress module may report 6to4, Teredo and NAT64 local-use addresses as private (which ones depends on the Python version; LDR excludes these ranges on every version), so a remote client arriving over such a tunnel could send X-Forwarded-Proto: https and plant the "set TRUST_PROXY_HEADERS=true" advice meant for a local reverse proxy, and was never reported as a public client served over plain HTTP. The rate limiter's forwarding-trust check makes the same exclusion: without a restricted LDR_SERVER_FORWARDED_ALLOW_IPS, a direct peer with such an address is no longer treated as a private proxy, so it cannot choose its own rate-limit key with X-Real-IP, nor, while TRUST_PROXY_HEADERS is unset, with X-Forwarded-For. (With TRUST_PROXY_HEADERS=true and LDR_SERVER_FORWARDED_ALLOW_IPS unset, the right-most X-Forwarded-For entry is read from every peer, tunnelled or not; set LDR_SERVER_FORWARDED_ALLOW_IPS to close that.) Both the rate limiter's check and the HTTP-cookie warnings unwrap an IPv4-mapped peer (::ffff:a.b.c.d) themselves and judge it by the IPv4 address it wraps, so the result does not depend on the Python version: Python 3.12.0 to 3.12.3 report every mapped address private, which let a public IPv4 client on a dual-stack listener plant the same advice and stay unreported.