17 Search results

For the term "fail2ban".

How To Monitor Ubuntu Server

tail -f /var/log/apache2/error.log tail -f /var/log/apache2/access.log tail -f /var/log/apache2/other_vhosts_access.log tail -f /var/log/auth.log tail -f /var/log/daemon.log tail -f /var/log/fail2ban.log tail -f /var/log/mail.log tail -f /var/log/main.warn tail -f /var/log/mysql.log tail -f /var/log/mysql.err tail -f /var/log/syslog tail -f /var/log/user.log sudo tail -f /var/log/Bastille/action-log sudo tail -f /var/log/Bastille/error-log

Basic Apache Commands

Starting Apache sudo /etc/init.d/apache2 start sudo service apache2 start Restarting Apache sudo /etc/init.d/apache2 restart sudo service apache2 restart sudo apachectl -k restart Gracefully Kill Apache Children (does not kill or stop Apache) sudo apachectl -k graceful Stopping Apache sudo /etc/init.d/apache2 stop sudo service apache2 stop sudo apachectl -k stop View Apache Logs sudo tail -f /var/log/apache2/error.log sudo tail -f /var/log/apache2/access.log…

Setup LAMP Server Debian 9 Apache 2.4 MarianDB Php 7

Prerequisite is a fresh remote server with Debian 9 Stretch installed and booted From remote terminal Block all traffic iptable -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP Create a User sudo useradd -d /home/username -m username Set the User’s Password sudo passwd username Add the User to the Admin Group sudo adduser username adm…

[Webmaster Tools] http://www.example.com/: Googlebot can’t access your site

I am posting this unsolved mystery – as an ongoing problem – instead of posting to a forum. Comment if you like. I’l update when I find the solution. I get the typical message from Google [Webmaster Tools] http://www.example.com/: Googlebot can’t access your site. I run LAMP servers with Netfilter (iptables) with PSAD and Fail2ban. I check iptables for any…

After Installing Debian 7 Desktop

Checklist of things to do after installing Debian Gnome The first problem you have with a brand new linux (Debian/Ubuntu) install is the user is not setup in sudoers. So first thing: login as root su sudo adduser username sudo sudo vi /etc/sudoers give permissions to your new user – below root username ALL=(ALL:ALL) ALL alternately – unsecure username ALL=(ALL)…

Netfilter (iptables) Tips & Tricks

Netfilter (aka iptables) is how you stop any intrusions. As an example, PSAD can recognize attack patterns, but it is Netfilter that is then used to stop any communcations from getting a response. In otherwords, Netfilter can be told to ignore incoming requests; essentially making the server unreachable.

GREP SED AWK VI and FIND Usage Notes for Webmasters

When it comes to manipulating files, you can do almost anything with GREP SED AWK VI and FIND (and I’m a novice). My notes (taken from far more capable individuals online than I. Thank you all for the education.) File manipulation using AWK, GREP, SED, FIND, VI AWK AWK to extract IPs from logs Lists of IPs from log file…