Monthly Archives: February 2013


ISPConfig 3.0.5 – rewrite ip on mirror(s) 3

I recently posted my solution for rewriting IP-addresses on mirrors here. Since yesterday ISPConfig 3.0.5 is available. The patch works with 3.5.0.1, too. Contrary to the old solution, there is now a patch available. You can now setup the IPv6-rewrite within the Interface. There is no IPv4 rewrite via the […]


Add blocklists from blocklist.de to iptables 2

UPDATE: http://blog.schaal-24.de/?p=2683&lang=en I use some blocklists from blocklist.de, to minimize potential attacks. Every list contains one IP per line, so the lists can easily added to the firewall using xt_recent. I use a simple Bash-Script which runs daily via cron to compare my firewall with the lists. Some definitions for […]


ISPConfig rc2 – rewrite ip on mirror(s)

As i described here, i change on a mirror the ipv6 according to the relevant subnet in the vhost-files. I added a rewrite for IPv4 and show you how to use this with the current RC. Use this only with ISPConfig-3.0.5-rc2 For ISPConfig-3.0.5-rc2 see my post here. In /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php replace […]


Anbieterkennzeichnungspflicht

This page is only available in german because it describes some informations for the “Impressumpsflicht”. It don´t think that you would like law-related stuff in english when it´s only relevant in germany. 😉


Postfix / Postscreen – add IP to the firewall

Robert Schetterer´s post (Botnet-Angriffe mit rsyslog und iptables recent module abwehren) to immediately add a IP by rsyslog to the firewall when they were rejected by postscreen has led me to present my solution here for syslog-ng. I do not use a pipe, but contribute about syslog-ng the appropriate IP […]


Bash – using variables outside a while loop 2

The bash runs every loop (while or for) in a subshell. The values for a variable defined inside such a loop / subshell are not available outside. #!/bin/bash t=0 while read line; do   t=$(( t + 1 )) done < /etc/passwd echo $t Returns 0 for $t but inside the […]