pfBlockerNG-devel v3.0.0_15
-
As best I can tell the rate-limiting is just how it is:
try: # BGPView rate-limits, try 5 times then give up re_try = 0 while re_try < 5: response = ASN.manager.request( "GET", "https://api.bgpview.io/asn/" + self.asn + "/prefixes") if response.status == 503: re_try += 1 sleep(re_try / 2) else: break except (HTTPError, PoolError): ASN.manager.clear() return if response.status != 200: ASN.manager.clear() return
Sleeps for 0.5 seconds on the first re-try, that appears to be sufficient.
-
@bbcan177 said in pfBlockerNG-devel v3.0.0_15:
Have been working on this, download the patched file:
curl -o /usr/local/pkg/pfblockerng/pfblockerng.sh "https://gist.githubusercontent.com/BBcan177/3aabea5edf7b40554d93085bff380b6f/raw"
It works perfectly, thanks!
-
I updated and rebooted and seem to get some packetloss. 2-5%
I removed the package and the problem was resolved.
Pinging the router was fine but sites visited at the WAN really have a degradation in performance. -
@jvamos pfBlokcerNG uses very few CPU resources.
But, if loaded up with many feeds (thousands of IP's, thousands of hostnames) unbound can start stressing.
Which could impact overall system performances.
Equally distributes over all NICs, not only "WAN".Packet loss normally means : invest in the WAN part of your network wiring => must often this means : call your ISP.
-
Unable to filter Alerts by the Source IP field. After entering the Source IP, I select the "Apply Filter" button. Search results are not filtered and web page "spins". Have to press the "X" in the browser to make the web page usable.
-
Like this :
.....
and way below, a couple of thousand lines lower :
It took far less then a second to generate the 'page'.
Btw : My Samsung TV insist on calling 8.8.8.8, even when it's off (sleep mode). Still wonder what it has to tell to Google .....
-
Yes, the Source IP field. I let the page spin for four minutes. Eventually it timed out with a 504 Gateway Time-out error.
-
I think that this is the file used for all the IP blocked :
/var/unbound/var/log/pfblockerng/ip_block.log
What is the size of that file ?
How many "source IP" can you find in that file ?I've 1777 times my "192.168.1.34".
-
-
@xentrk If you have huge log files, the Report Alert Filter may timeout. Grep the log files from a Shell instead.