[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Firewall im Userspace ?



Hallo Uwe,

Uwe Kerstan <uwe.kerstan@gmx.de> wrote :
> #!/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 0
   
Starting firewall.block.sh: line 6: syntax error near unexpected token 
`then'
block.sh: line 6: ` if [ $(($RANDOM%13)) -eq 2 ]; then'

scnr ;-)
   
bis dahin/kind regards
   
Martin Mewes
   
-- 
The e-mail server is unable to verify your server connection and
is unable to deliver this message. Please restart your computer and
try sending again.  (The beauty of it is that when I return, I can
see how many in-duh-viduals did this over and over)  



Reply to: