Process blocking CentOS and flooding lan

Issues related to applications and software problems and general support
lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Process blocking CentOS and flooding lan

Post by lightman47 » 2020/01/18 20:59:19

Don't run as root.

Disallow ssh connects as root in /etc/ssh/sshd_config. The default is yes. Change to

Code: Select all

PermitRootLogin no
Instead, ssh in as a user, then "su -" to root. (one step). ;) Even better is to use certificates with no passwords (I failed at my attempt to do this though - could never get the cert to my iphone).

Keep an eye on /var/log/secure. And install/configure fail2ban - which will watch it with you!

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Process blocking CentOS and flooding lan

Post by hunter86_bg » 2020/01/18 23:09:49

Leave SELINUX in enfofcing mode. If you need to resolve SELINUX issue -> you can always use 'sealert' to diagnose and solve the iasue.

Post Reply