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

    Report for outgoing SMTP(25) packets

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 546 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.
    • G
      gxgx
      last edited by

      Hello,

      We have some servers with public Ipv4's behind a Pfsense box.

      We usually have issues with customers sending out several spam. As a consequence, we frequently get RBL'ed.

      I need Pfsense to listen all the outgoing packets throught port 25, and send me a report whenever a single IP sends more than XXX packets per hour or per day.

      How can I do that?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        There isn't a way to report on that from pfSense.

        If you set a rule to log port 25 connections and then sent that to a syslog server, you could have a monitoring package or script watch the log and count connections there. That only gets connections though, not a packet count.

        For packet counts, you could maybe get that via netflow if you use softflowd on pfSense plus a netflow server such as nfsen elsewhere on your network, again with a script set to crunch the data for the packets you're after.

        Rules on pfSense can limit how many connections they can make per second, and how many concurrent connections they can make, but those would only limit and block and not alert.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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