Tux Machines
Posted by Roy Schestowitz on Jun 25, 2023
=> howtos for the evening | today's leftovers
A Gemini client* is needed for the following links.
=> ↺ Bombadillo
=> Ban scanners IPs from OpenSMTP logs
If you are an OpenBSD running an OpenSMTP email server, you may want to ban IPs used by bots trying to bruteforce logins. OpenBSD doesn't have fail2ban available in packages, and sshguard isn't extensible enough to support the multiline log format used by OpenSMTP.
Here is a short script that looks for authentication failures in/var/mail/maillog
and will add the IPs into the PF tablebot
after too many failed login.
One of the reasons I created this blog/capsule (other than the opportunity to work with the Gemini protocol, text format, and Geminispace) was to encourage me to write more often. I started off well, but slowed down considerably three months or so ago. While there are several reasons for that, I've decided to I concentrate on writing short articles for this blog/capsule and relegate the longer articles for my other blog. I hope this will encourage me to write more. We'll see.
* Gemini links can be opened using => https://gemini.circumlunar.space/software/ ↺ Gemini software
. It’s like the World Wide Web but a lot lighter.
=> gemini.tuxmachines.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB