This is a crisp documentation containing the steps to integrate ShieldSquare Anti-bot solution at your HAProxy loadbalancer.
- Ensure you have created an account in 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 shared by ShieldSquare support team
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 team for the optimal endpoint location based on your environment.
5.Restart HAproxy service and Verify ShieldSquare Integration in the ShieldSquare admin portal 'Verify Integration' page.
Now, ShieldSquare integration is successful in Monitor mode. To learn more about monitor & active mode, read here. Upon successful integration verification, ShieldSquare support team will help you with instructions to switch to Active mode.
Write to firstname.lastname@example.org for any clarifications.