2022-04-03

fail2ban created a filter for mercury's own address

getting error: Apr 03 13:08:03 mercury systemd[1]: Starting Apply Kernel Variables... Apr 03 13:08:04 mercury systemd-sysctl[284]: Couldn't write '"4096 87380 4194304"' to 'net/ipv4/tcp_rmem': Invalid argu

The problem lines were:

 net.ipv4.tcp_rmem="4096 87380 16777216"
 net.ipv4.tcp_wmem="4096 87380 16777216"
 they have to be written like this:
 net.ipv4.tcp_rmem = 4096 87380 4194304
 net.ipv4.tcp_wmem = 4096 65536 4194304

use this to test them:

 sysctl -p

and then check with

 systemctl list-units --all --state=failed