From the log files searching specifically for /fr/contattaci (part of the URL of the support request page, check your URL) it becomes clear that a bot with IP xxx.xxx.x55.29 and xxx.xxx.x55.29 is sending continuous contact requests. We can also check where the attack is actually coming from (there are many services available on the WEB) for example: https://www.tcpiputils.com/
If you are a masochist and do not have PLESK or any other control panel for your service, you can download the log file locally and use the glogg utility to search within the same file. I admit I learned by struggling with insufficient resources and during times when every single MB cost as much as a month's salary, but if your goal is to do business online with your e-commerce, I will never tire of saying: do not skimp, because you will regret it.
All that remains is to block the two IPs; to do this we have various options: use one of the many modules available for PrestaShop like "Block Bots / Users based on IP, Country or User-Agent" or modify the .htaccess file, which is a more complex operation. Let's see an example:
INSERT AFTER THE LINE:
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
THE FOLLOWING DIRECTIVES:
SetEnvIf Remote_Addr XXX.XXX.X55.31 bad_user
SetEnvIf Remote_Addr XXX.XXX.X55.29 bad_user
Deny from env=bad_user
ErrorDocument 403 /error403.html
That is, the IP we want to exclude; in this way, it will receive the error page 403: access denied. We can also decide to redirect the traffic elsewhere. In this case, in the example (which is a real case), the SPAM was coming from South Africa. Alternatively, we could also choose, if we do not sell in that state and do not intend to do so in the future, to block all traffic coming from that country.
To exclude a country, we must use the international code that identifies it; in the case of South Africa, it is ZA, so:
SetEnvIf GEOIP_COUNTRY_CODE ZA bad_user
Deny from env=bad_user
ErrorDocument 403 /error403.html
Note: the country ban requires that mod_geoip is active on your hosting.
To keep everything safe: once the IPs responsible for the SPAM are banned, you will automatically no longer receive them. However, it is always better to prevent than to cure because if the bot changes IP, the problem will reappear, so it is advisable to directly insert a reCAPTCHA in the PrestaShop contact form. For this, there is also an excellent module Add Google reCAPTCHA to store forms developed by InnovaDeluxe. It is important to update to the latest version of PrestaShop; in some older versions, even adding a reCAPTCHA filter will not solve the problem.
If you are wondering why not just limit yourself to simply inserting the reCAPTCHA, the reason is very simple. These bots do not check the outcome of the submission, so the automatic program would continue to attempt to send SPAM, consuming resources because with each submission our SERVER will process the request. By banning IPs, we will consume fewer resources, leaving them available for that quality traffic that brings us conversions.
NOTES: it is much more serious and annoying when the module "SEND TO A FRIEND" is targeted, which I recommend completely uninstalling; it is not enough to deactivate it. A bot that exploits this module can lead to the temporary suspension of the email account you have configured in PrestaShop, up to a ban of your server's IP. So if you receive many delivery failed messages in your mailbox that you use for your e-commerce, take action immediately.