If you use a Webserver like Apache, you can use a small script to Analyse your Logs. Create a analyse-web.sh Script with: $sudo nano /home/user/analyse-web.sh insert: #!/bin/bash cat /var/log/apache2/access.log | awk '{ print $1 }' | sort | uniq -c exit 0 System Output: 1573 www.domain2.de 3568 www.domain3.de .. If you change the „$1“ to […]
Schlagwort: hardening
Password: Simple script generator on a linux console
If you need a password creator for your daily needs you can do this with a default tool called openssl / libressl and a small bash script: Howto: open a console open as user a editor like nano or vi with $nano pwcreate.sh insert this: #!/bin/sh /bin/bash -c "for i in {1..20}; do openssl rand […]
Security: Harden DSL Routers and Networks against attacks
Last days there was a high count of news about the Bot Attacks against T-Com Telekom Router devices. To understand the behavior about this up comming security problems you should know following points : Every network supported device can be a goal for a attack ( Routers, Modems, PC, Fridges,IP-TV, IP Switches, IP-Cams…) You have […]
Major Webserver Setup Rules: The „must“ do!
If you want to setup a fresh secure Webserver then use this list dont ever upload data, files, images on the Webserver who are classified as „secret“ setup daily full backup with Cron view daily the system logs, auth, www, errors … setup a local firewall with less opened ports 80,25 .. setup daily automatic […]