Update proxy blocking

This commit is contained in:
DariusIII
2026-07-02 13:47:12 +02:00
parent ffff25307b
commit 09ad515969
4 changed files with 12 additions and 10 deletions
+6 -5
View File
@@ -32,11 +32,12 @@ return [
'proxy_detection_window_seconds' => (int) env('PROXY_DETECTION_WINDOW_SECONDS', 3600),
'proxy_detection_ratio_min' => (float) env('PROXY_DETECTION_RATIO_MIN', 0.8),
'proxy_detection_min_searches' => (int) env('PROXY_DETECTION_MIN_SEARCHES', 20),
// Only apps that fetch NZBs directly from the indexer belong here. NZBHydra2/Prowlarr (and Jackett,
// which proxies torrent/NZB downloads) issue their own download requests. The *arr suite (Sonarr,
// Radarr, Lidarr, Readarr, Bazarr) only search — directly or via Prowlarr/NZBHydra2 — and never
// download from the indexer, so listing them here would only risk false positives.
'proxy_detection_indexer_referer_patterns' => env('PROXY_DETECTION_INDEXER_REFERER_PATTERNS', 'hydra,prowlarr,jackett'),
// Only apps that fetch NZBs directly from the indexer belong here. NZBHydra2 and Prowlarr issue their
// own download requests, so they can proxy an NZB fetch. The *arr suite (Sonarr, Radarr, Lidarr,
// Readarr, Bazarr) only search — directly or via Prowlarr/NZBHydra2 — and never download from the
// indexer, so listing them here would only risk false positives. Jackett is torrent-only (Torznab)
// and cannot query a newznab/Usenet indexer, so it never fetches NZBs here either.
'proxy_detection_indexer_referer_patterns' => env('PROXY_DETECTION_INDEXER_REFERER_PATTERNS', 'hydra,prowlarr'),
/*
|--------------------------------------------------------------------------