Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed fail2ban, but how do I know if its running? I checked in top and I didn't see it. I also don't want to try to log in a few times just to lock my self out.
fail2ban must be started by you.In open SUSE I would do
Code:
/etc/init.d/fail2ban start
to start it and
Code:
chkconfig --add fail2ban
to make f2b load on startup.F2b configuration files are stored in the /etc/fail2ban directory,so there you can configure it the way you want.
Quote:
Some of the configuration options are:
ignoreip: This is a space-separated list of IP addresses that cannot be blocked by fail2ban. For example, if the computer from which you're connecting to the server has a static IP address, you might want to list it here.
bantime: Time in seconds that a host is blocked if it was caught by fail2ban (600 seconds = 10 minutes).
maxretry: Max. number of failed login attempts before a host is blocked by fail2ban.
filter: Refers to the appropriate filter file in /etc/fail2ban/filter.d.
action: Refers to the appropriate action file in /etc/fail2ban/action.d.
logpath: The log file that fail2ban checks for failed login attempts.
If you're using Gnome,there is somewhere under System>Administration a "services" or similar option where you can add an app to be loaded on startup.There is something similar in the KDE.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.