@jbrahy wrote:
What’s the best way to integrate a table of IP blocks (ip_from, ip_to, ip_status) into haproxy? I want to return 403 when status = 0. ip_from and ip_to are numerical values using the mysql method INET_ATON(‘ip address’). I do my lookups by selecting where INET_ATON(‘ip address’) > ip_from limit 1.
Posts: 1
Participants: 1