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.
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.
-
@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"
-
@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 -
@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.
-
@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