is there a way to disable emails for incremental bans.
Hi! I’m using OPNsense and Proxmox with CrowdSec (Proxmox being the one hosting the LAPI) and have the
firewallservices/pf-scan-multi_ports
scenario active. The issue is that a persistent IP keeps scanning, and each incremental ban triggers an email.
Is there a way to suppress emails for incremental bans, so I only get notified the first time or if it got unbanned and then banned again?
Any help would be greatly appreciated!2 Replies
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command
/resolve
or press the green resolve button below.Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
You would have to have a 2 stage profile like so (adapted from the default profiles):
I added comments to the filters so you can see the logic behind it