X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=active-response%2Ffirewall-drop.sh;fp=active-response%2Ffirewall-drop.sh;h=65b1dbd730462af335bbac89714d3f567b053ac8;hp=6d726a236b548b34b0491bcf2d166d49a4b66b58;hb=a62b46c229549212d536867b7e5e24d7576ebe8b;hpb=d623b82886b9b5fbba3fa27c3bfac51f3f8af108 diff --git a/active-response/firewall-drop.sh b/active-response/firewall-drop.sh index 6d726a2..65b1dbd 100755 --- a/active-response/firewall-drop.sh +++ b/active-response/firewall-drop.sh @@ -13,6 +13,9 @@ ECHO="/bin/echo" GREP="/bin/grep" IPTABLES="/sbin/iptables" IPFILTER="/sbin/ipf" +if [ "X$UNAME" = "XSunOS" ]; then + IPFILTER="/usr/sbin/ipf" +fi GENFILT="/usr/sbin/genfilt" LSFILT="/usr/sbin/lsfilt" MKFILT="/usr/sbin/mkfilt"