ACL from file , limits (resolved)


#1

Hi I have ACL for block access for some sources

acl custom_deny    src -f /etc/haproxy/geo/custom_deny.subnets
tcp-request content reject if  custom_deny

ands question are ,

  1. how many lines can contain file custom_deny.subnets , or total size?
  2. how do it influent to performance

–thanks


#2

The limit is only your RAM, ACLs scale great as haproxy builds hash stables with very fast lookups.