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

    Email reports?

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 2 Posters 589 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.
    • P
      pyrodex
      last edited by

      Hello!

      I've looked at the the wonderful pfB reports for dnsbl but not sure how we can obtain the same data to be emailed out on a daily basis.

      This would be beneficial to look for compromised devices or just a general report. Is this something anyone has achieved by chance?

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

        @pyrodex said in Email reports?:

        I've looked at the the wonderful pfB reports for dnsbl but not sure how we can obtain the same data to be emailed out on a daily basis.

        pfBlocker might write this into log files. You can use the mailreport package to send the log to you.
        mailreport also lets you apply a filter to the file, so you can limit the lines to the actual date or to specific errors or whatever you want.

        P 1 Reply Last reply Reply Quote 0
        • P
          pyrodex @viragomann
          last edited by

          @viragomann said in Email reports?:

          @pyrodex said in Email reports?:

          I've looked at the the wonderful pfB reports for dnsbl but not sure how we can obtain the same data to be emailed out on a daily basis.

          pfBlocker might write this into log files. You can use the mailreport package to send the log to you.
          mailreport also lets you apply a filter to the file, so you can limit the lines to the actual date or to specific errors or whatever you want.

          I tried this with the dnsbl.log and switched off VIP mode to NULL (0.0.0.0) which logs it into the file. However, I am seeing LARGE discrepancies between what the report shows for a 24 hour period vs what the log shows when I parse it. I even wrote a simple script to give me some data from the log and in fact do use the email reporting tool for that output but once again huge differences.

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