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
  PureMaps and OSM Scout Server maps download biketool 6 2,667 01-08-2024, 04:11 AM
Last Post: vusra
  Stability problems with 6.1 kernel Zebulon Walton 9 2,647 05-12-2023, 08:09 AM
Last Post: zetabeta
  DNS Problems with Mobile Data arno_nuehm 29 17,205 10-29-2022, 09:16 AM
Last Post: treebeard
  Problems after Tow-Boot Dinosaur1946 3 1,787 09-18-2022, 12:48 AM
Last Post: SpaggettiCoder
  Will this battery-saving script cause problems? rp3 1 1,241 08-28-2022, 02:00 PM
Last Post: biketool
  Tow-boot problems and restoring uboot Zebulon Walton 15 7,811 08-14-2022, 11:09 AM
Last Post: shulamy
  How to enable SSH server? jnpine 16 18,384 04-02-2022, 11:10 AM
Last Post: RTP
  Browser cog - Problems on Mobian arno_nuehm 5 3,962 02-10-2022, 03:27 PM
Last Post: pothos
  ARM Microsoft Teams-problems installing eaglebeckley 15 14,512 01-14-2022, 01:59 AM
Last Post: Tazdevl
Sad Problems with Twinkle SIP Application, strerror_r is not available phone123 0 1,558 07-04-2021, 12:58 PM
Last Post: phone123

Forum Jump:


Users browsing this thread: 1 Guest(s)