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

    pfBlockerNG-devel v3.0.0_15 not clearing down tmp files, slowly fills /tmp up.

    Scheduled Pinned Locked Moved pfBlockerNG
    5 Posts 3 Posters 689 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.
    • E
      ErTnEc
      last edited by ErTnEc

      Since upgrading to 2.5.0/pfBlockerNG 3.x, I've noticed that it no longer cleans all files up in /tmp when it performs scheduled updates, and quickly becomes littered with files matching the pattern pfbtemp10_xxxxx. Over time, this causes /tmp to fill up and cause the firewall to eventually stop responding.

      For background, I'm using only the IP blocklist functionality against some custom ASN's, but also using some of the pre-defined lists for Top Spammers.

      I've tried reinstalling the package, as well as a complete rebuild of the pfSense instance itself but this made no difference.

      BBcan177B fireodoF 2 Replies Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator @ErTnEc
        last edited by

        @ertnec
        Download an updated script for ASN processing and see how that goes.

        curl -o /usr/local/pkg/pfblockerng/pfblockerng.sh "https://gist.githubusercontent.com/BBcan177/3aabea5edf7b40554d93085bff380b6f/raw"
        

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        E 1 Reply Last reply Reply Quote 0
        • fireodoF
          fireodo @ErTnEc
          last edited by

          @ertnec said in pfBlockerNG-devel v3.0.0_15 not clearing down tmp files, slowly fills /tmp up.:

          Since upgrading to 2.5.0/pfBlockerNG 3.x, I've noticed that it no longer cleans all files up in /tmp when it performs scheduled updates, and quickly becomes littered with files matching the pattern pfbtemp10_xxxxx. Over time, this causes /tmp to fill up and cause the firewall to eventually stop responding.

          I see those "pfbtemp*"-files only in context of clearip/cleardnsbl (cron entry generated by pfblocker widget) - are they in your case correlated to other pfblocker activities?

          Nice sunday I wish,
          fireodo

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

          1 Reply Last reply Reply Quote 0
          • E
            ErTnEc @BBcan177
            last edited by

            @bbcan177 said in pfBlockerNG-devel v3.0.0_15 not clearing down tmp files, slowly fills /tmp up.:

            @ertnec
            Download an updated script for ASN processing and see how that goes.

            curl -o /usr/local/pkg/pfblockerng/pfblockerng.sh "https://gist.githubusercontent.com/BBcan177/3aabea5edf7b40554d93085bff380b6f/raw"
            

            Hi, I've replaced the file you suggested, however, it still seems to be leaving these files alone & /tmp is still filling up.

            fireodoF 1 Reply Last reply Reply Quote 0
            • fireodoF
              fireodo @ErTnEc
              last edited by fireodo

              @ertnec said in pfBlockerNG-devel v3.0.0_15 not clearing down tmp files, slowly fills /tmp up.:

              @bbcan177 said in pfBlockerNG-devel v3.0.0_15 not clearing down tmp files, slowly fills /tmp up.:

              @ertnec
              Download an updated script for ASN processing and see how that goes.

              curl -o /usr/local/pkg/pfblockerng/pfblockerng.sh "https://gist.githubusercontent.com/BBcan177/3aabea5edf7b40554d93085bff380b6f/raw"
              

              Hi, I've replaced the file you suggested, however, it still seems to be leaving these files alone & /tmp is still filling up.

              I can confirm this.
              Update: Still present in v3.0.0_16
              (I added a cron-job: rm /tmp/pfbt* )

              Regards,
              fireodo

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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