Allow logging of failed login attempts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 65/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- authentication
Direzione di ricerca
Individua il modulo di autenticazione nella codebase Rust di SQLPage in cui vengono elaborati i tentativi di accesso. Modifica la risposta HTTP per i tentativi di accesso non riusciti da 302 a 401, mantenendo 302 per gli accessi riusciti. Verifica il comportamento testando sia scenari di accesso riuscito sia non riuscito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What are you building with SQLPage ?
I’ve currently built a shared calendar with SQLPage, but I really like the project and will use it some more in the future for other simple apps
What is your problem ? A description of the problem, not the solution you are proposing.
When using the auth module, all login attempts show up the same in the reverse proxy logs (302 HTTP code) whether they’re successful or not. Because of this, it’s not possible to monitor if there is suspicious activity on the login page, with a bad actor trying to bruteforce passwords for example
What are you currently doing ? Since your solution is not implemented in SQLPage currently, what are you doing instead ?
Instead, I’m monitoring if an IP address is hitting the page that handles an auth multiple times in an hour. Any login attempt hits this page once, but when a legitimate user sucessfully logs in, they won’t fave to hit it again because they stay logged in thanks to their session cookie. Multiple hits point towards failed login attempts
Describe the solution you'd like
I’d like for an option in the auth module to return a different HTTP code for a failed login attempt (typically 401) and a successful one (the current 302). This way, failed logins can be logged by the reverse proxy
Describe alternatives you've considered
I’ve tried manually setting the status code to 401 with the ad hoc module, but it didn’t work
- Lingua principale
- Rust
- Stelle
- 2.6k
- Fork
- 175
- Merge medio
- 14h 16m
- PR unite (30g)
- 43
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sqlpage/SQLPage
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
There is no convenient way to reproduce issuesForse già presa @81reap l’ha presa 26 giorni fa. Apertaenhancement
sqlpage/SQLPage#1566 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Confusing sort interfaceForse già presa @lovasoa l’ha presa 73 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
sqlpage/SQLPage#1442 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Mutation Testing Results :: Dead Code + Missing TestsForse di nuovo libera @81reap l’ha presa 61 giorni fa e non c’è nessuna pull request aperta. Aperta
sqlpage/SQLPage#1396 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
chart: 3D chartsApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sqlpage/SQLPage
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
symposium-dev/symposium#530 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
topgrade-rs/topgrade#2540 ·
I maintainer di solito rispondono entro 1 giorno
-
Invalid JSON options for ngram and edge_ngram silently use defaultsForse già presa @Tilendlesa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
noemaforge/vimanam#153 ·
I maintainer di solito rispondono entro 1 giorno