diff -Naur sshguard/sshguard.install sshguard.patched/sshguard.install --- sshguard/sshguard.install 2013-02-24 23:17:47.541687003 +0100 +++ sshguard.patched/sshguard.install 2013-02-24 23:21:27.543828483 +0100 @@ -1,8 +1,10 @@ post_install() { mkdir -p /var/db/sshguard - echo "-- You should add chain to your firewall:" + echo "-- You should add chains to your firewall for IPv4 and IPv6:" echo "-- iptables -N sshguard" echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard" + echo "-- ip6tables -N sshguard" + echo "-- ip6tables -A INPUT -p tcp --dport 22 -j sshguard" echo "-- For more information, see http://www.sshguard.net/doc/" /bin/true } diff -Naur sshguard/sshguard.service sshguard.patched/sshguard.service --- sshguard/sshguard.service 2013-02-24 23:17:47.541687003 +0100 +++ sshguard.patched/sshguard.service 2013-02-24 22:40:57.893657694 +0100 @@ -1,7 +1,7 @@ [Unit] Description=Block hacking attempts -After=iptables.service network.target -Wants=iptables.service +After=iptables.service ip6tables.service network.target +Wants=iptables.service ip6tables.service [Service] ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db