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

Add the ability to store access logs to a file #2080

Open
2 tasks done
PenguinDLL opened this issue Jul 11, 2024 · 5 comments
Open
2 tasks done

Add the ability to store access logs to a file #2080

PenguinDLL opened this issue Jul 11, 2024 · 5 comments
Labels
✨ Feature A feature you'd like to be added good first issue Good for newcomers Stale

Comments

@PenguinDLL
Copy link

Description

Utilities like fail2ban could be using in conjunction with Homarr if it were possible to print failed login attempts in a log file.

At the moment, failed login attempts are not even in the logs (unless I missconfigured my container) whereas successful login attempts are written to the logs.

So the idea would be

  1. add a "failed login attempt from ip xxx.xxx.xxx.xxx" when some host fails to login
  2. add a config file where we can define an option such as
[log]
drivers = console,file
logfile = /app/log/homarr.log

That way we don't have to use docker log and can easily configure a fail2ban filter and jail using the defined logfile.

Strictly speaking, the logfile is not even necessary if docker is configured to output logs to syslog or journald. Having at least the failed login attempts inside the logs would be great for security.

Please tick the boxes

@PenguinDLL PenguinDLL added the 🤔 Idea Tell us your ideas label Jul 11, 2024
Copy link

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

@manuel-rw manuel-rw added good first issue Good for newcomers ✨ Feature A feature you'd like to be added and removed 🤔 Idea Tell us your ideas labels Jul 14, 2024
Copy link

Hello 👋, this issue has been open for 60 days without activity. We mark issues to help prioritise and close dead issues. Can you confirm that this issue is still relevant on the latest version? I'll remove the stale label as soon as there is further activity on this issue. Thank you 🙏

@github-actions github-actions bot added the Stale label Sep 13, 2024
@HeyItsJono
Copy link

Would also really appreciate this feature!

@github-actions github-actions bot removed the Stale label Oct 24, 2024
@appiekap653
Copy link

👍

Copy link

Hello 👋, this issue has been open for 60 days without activity. We mark issues to help prioritise and close dead issues. Can you confirm that this issue is still relevant on the latest version? I'll remove the stale label as soon as there is further activity on this issue. Thank you 🙏

@github-actions github-actions bot added the Stale label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature A feature you'd like to be added good first issue Good for newcomers Stale
Projects
None yet
Development

No branches or pull requests

4 participants