This documentation details the steps to integrate ShieldSquare anti-bot solution at your HAProxy load balancer.
- Ensure that you have created an account in the ShieldSquare admin portal before getting started
- LUA version 5.3.x
- HAProxy (version 1.8 or above) compiled with LUA and OpenSSL
1.Download the connector kit provided by ShieldSquare Support
2.Place "shieldquare.lua" and "shieldsquare-spoe.cfg" in a dir. (Please do not change the order of args in shieldsquare-spoe.cfg)
3.Edit "shieldsquare.lua" file to configure SID and mode as below:
4.Edit HAProxy config file to do the following:
'ss_scus.shieldsquare.net' is the ShieldSquare endpoint to receive data. You can check with ShieldSquare Support for the optimal endpoint location based on your environment.
5.Restart HAproxy service and verify ShieldSquare Integration in the ShieldSquare admin portal's 'Verify Integration' page.
Now ShieldSquare integration is successful in Monitor mode. To learn more about Monitor and Active mode, click here. Upon successful integration verification, ShieldSquare Support will help you with instructions to switch to Active mode.
Write to firstname.lastname@example.org for any clarifications.