rsyslog a bad idea? Problems with ssh, openssh-server, fail2ban
#1
Hi guys,

after writing this I realised that the introduction is quite long; for the actual question you can hop to the last paragraph.

I naively used ssh to connect my phone to the computer, until I recently found out that this is apparently very insecure.

So now I am trying to harden the system by
-excluding IPv6 adresses (done)
-changing the port (yet to be done)
-using a key instead of a password (yet to be done; there's a brief manual in the wiki, but I could not do it, so I will have to look for more foolproof resources)
-installing fail2ban

After installing fail2ban (which is supposed to block IP adresses which fail to enter a correct password for more than x times) I noticed that it did not work: I could enter as many wrong passwords as I pleased and still log in. I finally found out that the reason was that the file /var/log/auth.log was missing and that I could solve the problem by installing rsyslog.

Was it a bad idea to install rsyslog? I'm asking because I guess that the devs had a reason to leave it out. Could it maybe drain the battery, quickly use up a lot of disk space or do anyting else that would be undesired on a pinephone?
  Reply


Messages In This Thread
rsyslog a bad idea? Problems with ssh, openssh-server, fail2ban - by Anna - 11-09-2021, 01:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ssh server unreachable lesteretsel 2 387 12-19-2024, 02:44 PM
Last Post: lesteretsel
  PureMaps and OSM Scout Server maps download biketool 7 4,946 10-04-2024, 04:25 AM
Last Post: vusra
  Stability problems with 6.1 kernel Zebulon Walton 9 4,373 05-12-2023, 08:09 AM
Last Post: zetabeta
  DNS Problems with Mobile Data arno_nuehm 29 22,897 10-29-2022, 09:16 AM
Last Post: treebeard
  Problems after Tow-Boot Dinosaur1946 3 2,560 09-18-2022, 12:48 AM
Last Post: SpaggettiCoder
  Will this battery-saving script cause problems? rp3 1 1,798 08-28-2022, 02:00 PM
Last Post: biketool
  Tow-boot problems and restoring uboot Zebulon Walton 15 11,270 08-14-2022, 11:09 AM
Last Post: shulamy
  How to enable SSH server? jnpine 16 22,368 04-02-2022, 11:10 AM
Last Post: RTP
  Browser cog - Problems on Mobian arno_nuehm 5 5,360 02-10-2022, 03:27 PM
Last Post: pothos
  ARM Microsoft Teams-problems installing eaglebeckley 15 18,058 01-14-2022, 01:59 AM
Last Post: Tazdevl

Forum Jump:


Users browsing this thread: 3 Guest(s)