Commit graph

2 commits

Author SHA1 Message Date
c70df10d0d Replace IPv4/IPv6 handling with address argument
To have better handling regarding the interface and port to used.
This makes the application only use one address at the time, but
if I want the application to bind to IPv4 and IPv6 I can spawn two
instances or use Docker and its networking to bind it on the host on
both addresses.
2024-09-29 23:15:18 +02:00
279b3fa159 Add sshlog.service configuration
I am not an expert in systemd service creation/configuration. I just
took an example file from the internet and modified it slightly to match
my setup.
This configuration gets using the `systemd-analyze` a mixed result while
scanning it with the focus on security. I am sure it can be optimize to
have a lot less capabilities but for the time I don't know how.

Refs:
 - https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6
 - https://www.redhat.com/sysadmin/systemd-secure-services
2021-06-18 21:24:26 +02:00