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

harmonize logs when dropping connections for abuse or protocol violation #7081

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moneromooo-monero
Copy link
Collaborator

Those will be a warning level log in the net.failconn category, including
the offending IP, and the "dropping connection" string. This should make
it easier to use fail2ban with monero.

Note that connections dropped for more innocuous reasons (such as already
having the maximum number of incoming connections) do not generate such
a log line (they will typically include "dropping connections", but will
not be in the net.connfail category.

Those will be a warning level log in the net.failconn category, including
the offending IP, and the "dropping connection" string. This should make
it easier to use fail2ban with monero.

Note that connections dropped for more innocuous reasons (such as already
having the maximum number of incoming connections) do not generate such
a log line (they will typically include "dropping connections", but will
not be in the net.connfail category.
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.

1 participant