Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Failed Login Alerts via emai?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 942 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Visseroth
      last edited by

      Anyone know if there is a way to get failed login alerts if someone is hitting on SSH or the web gui?

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        The only ready to use way I know provides the package mailreport.
        It can filter log files, for e.g. the system log for "authentication error" and report only lines which include the filter string.

        However, it just runs as a cron job at a preset time and you get an email regardless if there was a filter match or not.
        I've played around with it, trying to place a date variable in the filter so that I only get matches from the current day, but with no success.

        1 Reply Last reply Reply Quote 0
        • V
          Visseroth
          last edited by

          Good to know. I'm curious how you applied the filter to the mail report. I also have mail report installed on a few firewall but my thought was it would be great to get a instant email report upon x amount of login failures. Another way to do it is with a syslog server, which I've been working on getting up and running on and off, thus far a bit of a PITA.
          But from a administrators point of view this is a feature that would notify if someone is trying to break into the firewall as soon as it happens. I would think someone would have already added it.
          But good to know there are no options for this so far. I'll add it to requested features.

          1 Reply Last reply Reply Quote 0
          • V
            Visseroth
            last edited by

            I posted it up as a bounty
            https://forum.pfsense.org/index.php?topic=105835.0

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.