The guardianctrl binary will replace them.
+++ /dev/null
-#!/bin/sh
-
-# this is a sample block script for guardian. This should work with ipchains.
-# This command gets called by guardian as such:
-# guardian_block.sh <source_ip> <interface>
-# and the script will issue a command to block all traffic from that source ip
-# address. The logic of weither or not it is safe to block that address is
-# done inside guardian itself.
-source=$1
-interface=$2
-
-/sbin/iptables -I GUARDIAN -s $source -i $interface -j DROP
+++ /dev/null
-#!/bin/sh
-
-# this is a sample unblock script for guardian. This should work with ipchains.
-# This command gets called by guardian as such:
-# unblock.sh <source_ip> <interface>
-# and the script will issue a command to remove the block that was created with # block.sh address.
-source=$1
-interface=$2
-
-/sbin/iptables -D GUARDIAN -s $source -i $interface -j DROP
touch /var/ipfire/guardian/guardian.ignore
install -v -m 644 $(DIR_SRC)/config/guardian/guardian.conf /var/ipfire/guardian/
install -v -m 755 $(DIR_SRC)/config/guardian/guardian.pl /usr/local/bin/
- install -v -m 755 $(DIR_SRC)/config/guardian/guardian_block.sh /usr/local/bin/
- install -v -m 755 $(DIR_SRC)/config/guardian/guardian_unblock.sh /usr/local/bin/
chown nobody.nobody /var/ipfire/guardian
chown nobody.nobody /var/ipfire/guardian/{guardian.conf,guardian.ignore}
@$(POSTBUILD)