From 0debc6b415baa466245901fb52c009d09ef3ba15 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sat, 19 Oct 2024 22:24:26 +0200 Subject: feature: Log authentication failures to support fail2ban. Fixes #477 (#569) * How do I set the variable "user" or "system" for AI inference #262 changed from system to user * [Feature Request] Log failed login attempts for fail2ban implementation #477 added logging of failed logins * [Feature Request] Log failed login attempts for fail2ban implementation #477 added more logging for extension related logins * Propagte IP to trpc --------- Co-authored-by: Your Name --- pnpm-lock.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'pnpm-lock.yaml') diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d26e527..046261ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -616,6 +616,9 @@ importers: remark-gfm: specifier: ^4.0.0 version: 4.0.0 + request-ip: + specifier: ^3.3.0 + version: 3.3.0 sharp: specifier: ^0.33.3 version: 0.33.3 @@ -656,6 +659,9 @@ importers: '@types/react-syntax-highlighter': specifier: ^15.5.13 version: 15.5.13 + '@types/request-ip': + specifier: ^0.0.41 + version: 0.0.41 autoprefixer: specifier: ^10.4.17 version: 10.4.17(postcss@8.4.35) @@ -4414,6 +4420,9 @@ packages: '@types/react@18.2.58': resolution: {integrity: sha512-TaGvMNhxvG2Q0K0aYxiKfNDS5m5ZsoIBBbtfUorxdH4NGSXIlYvZxLJI+9Dd3KjeB3780bciLyAb7ylO8pLhPw==} + '@types/request-ip@0.0.41': + resolution: {integrity: sha512-Qzz0PM2nSZej4lsLzzNfADIORZhhxO7PED0fXpg4FjXiHuJ/lMyUg+YFF5q8x9HPZH3Gl6N+NOM8QZjItNgGKg==} + '@types/resolve@1.17.1': resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} @@ -10836,6 +10845,9 @@ packages: renderkid@3.0.0: resolution: {integrity: sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==} + request-ip@3.3.0: + resolution: {integrity: sha512-cA6Xh6e0fDBBBwH77SLJaJPBmD3nWVAcF9/XAcsrIHdjhFzFiB5aNQFytdjCGPezU3ROwrR11IddKAM08vohxA==} + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -18577,6 +18589,11 @@ snapshots: '@types/scheduler': 0.16.8 csstype: 3.1.3 + '@types/request-ip@0.0.41': + dependencies: + '@types/node': 20.11.20 + dev: true + '@types/resolve@1.17.1': dependencies: '@types/node': 20.11.20 @@ -27575,6 +27592,9 @@ snapshots: strip-ansi: 6.0.1 dev: false + request-ip@3.3.0: + dev: false + require-directory@2.1.1: dev: false -- cgit v1.2.3-70-g09d2