Fail2Ban configuration file #305
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Heyo,
How to configure Fail2Ban with FoundKey? Syntax should I insert in order to define login failure & IP?
Failed login attempts are currently not output to the log file. You can find failed login attemps in your database with the query
Adding log output could probably be done in this nested function:
async function fail(): void {
// Append signin history
await Signins.insert({
id: genId(),
createdAt: new Date(),
userId: user.id,
ip: ctx.ip,
headers: ctx.headers,
success: false,
});
error('ACCESS_DENIED');
}