Personal Firewall für Linux
Uwe Kerstan hat nun endlich eine Personal Firewall für Linux entwickelt:
#!/bin/bash echo -n Starting firewall. while true; do sleep 1 echo -n . if [ $(($RANDOM%13)) -eq 2 ]; then break; fi done echo echo Your system is now secure\! while true; do sleep $(($RANDOM%53)) echo "Blocked attack from host \ $(($RANDOM%256)).$(($RANDOM%256)).$(($RANDOM%256)).$(($RANDOM%255+1)) \ on port $(($RANDOM%65535+1))!!!" done exit 0Jetzt muss nur noch jemand ein buntes Interface entwickeln.
Comments
Display comments as Linear | Threaded
icewind on :
#!/bin/bash
zenity --info --text=“Starting firewall” --title=“Linux-Firewall Pro SE 2006”
while true; do
sleep 1
if [ $(($RANDOM%25)) -eq 2 ]; then
zenity --info --text=“Firewall started” --title=“Linux-Firewall Pro SE 2006”
break
fi
done
echo
echo Your system is now secure\!
while true; do
sleep $(($RANDOM%20))
zenity --warning --text="Blocked attack from host\
$(($RANDOM%256)).$(($RANDOM%256)).$(($RANDOM%256)).$(($RANDOM%255+1))\
on port $(($RANDOM%65535+1))!!!“ --title=”Linux-Firewall Pro SE 2006"
done
exit 0