Skip to main content

Posts

Showing posts with the label sshutout

fail2ban and sshutout for Mageia Linux

Fail2ban  "Fail2ban is an extensible Swiss-army knife of brute-force authentication prevention and it comes with an additional filters to detect other attempts to compromise your system. If you do nothing but install it, run it, keep it updated and turn on its filters for any services you run, especially SSH, you will be far better off than you were otherwise." --  Greg Bledsoe $ sudo urpmi fail2ban Once installed, it will be started automatically. The configuration file is located in /etc/fail2ban.conf .  $ sudo urpmi sshutout Sshutout Sshutout is Bill DuPree's system daemon that is intended to be run from the server startup script. It periodically monitors log files looking for multiple failed login attempts via the Secure Shell daemon (sshd, or optionally, sshd2). The daemon is meant to address what are known as "dictionary attacks" which are scripted, brute-force attacks that use lists of user names and passwords to attempt unauthorized intrusions.  You...

Setting up a TOR Relay on Mageia6

The Onion Router (TOR) is not a server frequently run by most Linux users, especially North American users. Many countries actively persecute their citizens for their beliefs and anonymity is important for their safety, so I wanted to participate in the effort to assist this project by running a TOR relay server. I have a dedicated computer that runs a webserver for a hobby site, so I felt that it would be the logical hardware to run the TOR server. It is important for TOR to have access to the correct and accurate time, so the NTP client needs to be installed and configured for your timezone. Configure the NTP Server $ xsudo drakwizard ntp and follow the instructions here  to install and configure it. You can launch X-applications over ssh using xsudo . Install the TOR Application $ sudo urpmi tor This will also install the SOCKS proxy software. You may also install a GUI configuration tool, vidalia . We won't be using vidalia , so it won't be covered here. How...