Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Log failed login attempts for fail2ban implementation #477 #569

Merged
merged 4 commits into from
Oct 19, 2024

Conversation

kamtschatka
Copy link
Contributor

@kamtschatka kamtschatka commented Oct 19, 2024

Copy link
Collaborator

@MohamedBassem MohamedBassem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably should also log in the APIKey.exachange endpoint.

apps/web/server/auth.ts Outdated Show resolved Hide resolved
apps/workers/crawlerWorker.ts Outdated Show resolved Hide resolved
apps/workers/inference.ts Outdated Show resolved Hide resolved
packages/shared/logger.ts Outdated Show resolved Hide resolved
packages/shared/logger.ts Outdated Show resolved Hide resolved
apps/web/server/auth.ts Outdated Show resolved Hide resolved
apps/web/server/auth.ts Outdated Show resolved Hide resolved
@kamtschatka
Copy link
Contributor Author

the NextAuthRequest and the node Request are not really compatible, so I was not able to find a solution that works to find the IP address, but I am open to suggestions

@MohamedBassem MohamedBassem merged commit 0debc6b into hoarder-app:main Oct 19, 2024
3 checks passed
@kamtschatka kamtschatka deleted the fail2ban branch October 20, 2024 09:08
kamtschatka added a commit to kamtschatka/hoarder-app that referenced this pull request Nov 2, 2024
…er-app#477 (hoarder-app#569)

* How do I set the variable "user" or "system" for AI inference hoarder-app#262
changed from system to user

* [Feature Request] Log failed login attempts for fail2ban implementation
hoarder-app#477
added logging of failed logins

* [Feature Request] Log failed login attempts for fail2ban implementation hoarder-app#477
added more logging for extension related logins

* Propagte IP to trpc

---------

Co-authored-by: Your Name <you@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants