Skip to content

option for log file output #505

Description

@telrehiad

I've recently started using mc-router and it works great. The issue I am running into is online scanners and other malicious scripts attempting connections. I would like to setup something like fail2ban to automatically search the log for bad actors and add a firewall rule. Unfortunately since the mc-router binary is in such a cut down docker image with no shell, there is no way to redirect the log file to disk inside the container and there is no direct log file output thru the application itself.

Would it be possible to add a "-logfile (filename)" option to allow fail2ban to follow a logfile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions