[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
HiI have set up a Raspberry Pi with a minetest server, I am trying to add some security to this. I have installed fail2ban (which Henry introduced me to years ago). Following the instructions at
I am logged in via ssh, not sure if this is significant. https://www.howtogeek.com/675010/how-to-secure-your-linux-computer-with-fail2ban/ If I issue the following command sudo systemctl status fail2ban.service The terminal opens up a text editor wit the following -- × fail2ban.service - Fail2Ban ServiceLoaded: loaded (/lib/systemd/system/fail2ban.service; enabled; preset: ena> Active: failed (Result: exit-code) since Fri 2024-04-19 08:49:08 BST; 7h a>
Duration: 1.689s Docs: man:fail2ban(1)Process: 672 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, sta>
Main PID: 672 (code=exited, status=255/EXCEPTION) CPU: 789msApr 19 08:49:07 raspberrypi systemd[1]: Started fail2ban.service - Fail2Ban Ser> Apr 19 08:49:08 raspberrypi fail2ban-server[672]: 2024-04-19 08:49:08,554 fail2> Apr 19 08:49:08 raspberrypi fail2ban-server[672]: 2024-04-19 08:49:08,625 fail2> Apr 19 08:49:08 raspberrypi fail2ban-server[672]: 2024-04-19 08:49:08,638 fail2> Apr 19 08:49:08 raspberrypi systemd[1]: fail2ban.service: Main process exited, > Apr 19 08:49:08 raspberrypi systemd[1]: fail2ban.service: Failed with result 'e>
-- if I also run sudo fail2ban-client status sshd2024-04-19 16:29:00,509 fail2ban [855]: ERROR Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running?
--Not quite sure where to look, it seemed to install ok, I copied the conf file to the
Just wondered if anyone had any suggestions please, in the mean time I will keep trying and do some more searching for information.
Thanks Paul -- Paul Sutton, Cert Cont Sci (Open) https://personaljournal.ca/paulsutton/ Mastodon : @zleap@xxxxxxxx -- The Mailing List for the Devon & Cornwall LUG FAQ: https://www.dcglug.org.uk/faq/