How to install denyhosts on Ubuntu Linux 17.04 ( intrusion prevention security tool for SSH and more)
Views: 124 DenyHosts is a log-based intrusion prevention security tool for SSH servers written in Python. It is designed to prevent brute-force attacks on SSH servers by monitoring invalid login attempts in the authentication log and blocking the originating IP addresses using /etc/hosts.deny and sbin/iptables on Linux server. In this tutorial, you will learn how […]
Views: 148 Mycli is a modern alternative to the default MySQL client. This tool does to MySQL what bpython does to the standard Python REPL. Mycli will auto-complete keywords, table names, columns, and functions as you type them. The completion suggestions are context-sensitive. For example, after the SELECT * FROM, only tables from the current […]
Fail2ban scans log files and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email) could also be configured. Out of the box Fail2Ban comes with filters for various services (apache, courier, ssh, etc).
Views: 163 First enable the mods: Then edit the virtual host: And add ifmodule between virtual host: Then restart the apache service:
Linux: How to get remote page load time with a command from the terminal?
This will give you the remote page load time in miliseconds.
Views: 143 About this articleIntroduction One of the more recently popular modules for Apache is mod_pagespeed. It is an output filter for Apache 2.2+ that can be configured through a variety of options through configuration files or a .htaccess file. An “output filter” is a something that transforms the data before it’s sent to the […]
Mod_rewrite enables your links to be user friendly. For example lateweb.info/post.php?id=121 is going to be converted to lateweb.info/How-to-enable-mod_rewrite-on-ubuntu-web-server/. And that is better for users and search engines. So how do we do that?
Views: 178 In this tutorial we are going to create block list for our website so that IP addresses that we know are bad can’t connect to our server. Also we are going to protect files that we don’t want to be opened by other people online. First we edit 000-default.conf and make the needed […]
Views: 223 Have you ever wondered when did you installed your operating system? Was a year ago or maybe two, three who knows right? Well, linux is a smart system and knows everything for itself! You can open the terminal, write a simple command and the answer is going to be in front of you. […]
Views: 174 If you just need to find large files, you can use find with the -size option. The next command will list all files larger than 10MiB (not to be confused with 10MB): If you want to find files between a certain size, you can combine it with a “size lower than” search. The […]
Views: 182 I needed to use a ssh tunnel but was behind a proxy server so In this example we are going to use and configure one. In the browser in proxy settings: For firefox to pass dns via the tunnelUsing the ssh SOCKS5 proxy all of your info is passed through the tunnel except […]
Pagespeed is an output filter for Apache 2.2+ that can be configured through a variety of options through configuration files or a .htaccess file.