Tagging-Archive: script


Report Spam comments from WordPress to blocklist.de

The script wp-spamreport.php (as a download here in my git) reports at any time the spam comments of the last 48 hours to blocklist.de. It does not matter when a comment was marked as spam (manually or automatically by example Antispam Bee), but only that the comments are posted in […]


[Update] Add blocklists from blocklist.de to iptables 25

Martin Kos pointed out to me that my Add blocklists from blocklist.de to iptables does not work when DNAT is used because the INPUT rules do not access or too late. It should be better to drop the packets not only in INPUT, but already in the mangle PREROUTING table. […]


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 […]


ISPConfig – 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-rc1 For some reason my v6-rewrite-code is a part of […]


add dkim_key to amavisd.conf from ISPConfig 3

Update: ISPConfig – DKIM-Patch I’ve just blocked the sending of emails for a domain. Only short listed in ISPConfig a new domain and mailbox created, used the dns wizard to create the dns records. works as expacted? fault! The first sent mail returned due to a spf-error. SPF is on […]


using ncftp-client for background ftp-transfers

I use for my ftp backups always ncftspooler. It´s a part of NcFTP Clients, which runs as a daemon und moves on request files to ftp-server. The installation is very simple: wget ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.bz2 tar xfj ncftp-3.2.5-src.tar.bz2 cd ncftp-3.2.5 ./configure make make install mkdir /root/.ncftp mkdir /root/.ncftp/spool To start ncftpspool simply […]


rsnapshot remote

To save my data i use locally and remotely besides ftp backups rsnapshot. Thus, the data of the server are backed up every 2 hours on the disc. For a conventional backup it´s not enough – is the disk or the server off, then the backups are gone. But changes […]