Fail2Ban configuration file #305

Open
opened 2022-12-26 09:41:28 +00:00 by gameplayer · 1 comment

Heyo,

How to configure Fail2Ban with FoundKey? Syntax should I insert in order to define login failure & IP?

Heyo, How to configure Fail2Ban with FoundKey? Syntax should I insert in order to define login failure & IP?
Owner

Failed login attempts are currently not output to the log file. You can find failed login attemps in your database with the query

SELECT * FROM "signin" WHERE NOT "success";

Adding log output could probably be done in this nested function: eea2eb4919/packages/backend/src/server/api/private/signin.ts (L72-L84)

Failed login attempts are currently not output to the log file. You can find failed login attemps in your database with the query ```sql SELECT * FROM "signin" WHERE NOT "success"; ``` Adding log output could probably be done in this nested function: https://akkoma.dev/FoundKeyGang/FoundKey/src/commit/eea2eb491953c8bd43ca4a325351e165f40b3585/packages/backend/src/server/api/private/signin.ts#L72-L84
Sign in to join this conversation.
No Label
feature
fix
upkeep
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#305
No description provided.