Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4721

Growing IP ACL file

$
0
0

We have been using HAProxy to block unwanted IP addresses for the past few months. I’m concerned that if this file keeps on growing, it might impact the overall performance of HAProxy not to mention that it needs to be synchronized across several instances. Right now, it’s nearing the 2,000 line mark.

  • What are the current strategies in managing a growing IP ACL file?
  • What is the maximum number of lines an ACL can have?
  • What’s an alternative approach for blocking malicious IPs other than on HAProxy?

I’m thinking of this approach to automate this process:

  1. Use a DB backend to store the list of malicious IPs
  2. Create a script that will pull the list from the DB and generate an ACL file and run via cron job
  3. Reload HAProxy on file change or on a regular schedule

Thank you in advance!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>