Re: Webseiten sperren
Am Fre, 2003-01-31 um 12.53 schrieb Michael Renner:
Moin Michael,
Deine Loesung gefaellt mir. Ipmasq laeuft bei mir. Leider bin ich noch
voellig unerfahren, was scripts angeht. Vermute ich richtig, dass das
Script "sperrezugriff" in das Verzeichnis /etc/rc4.d gehoert?
Danke
Hugo
> ich hab es per firewall-Regel realisiert:
> #!/bin/sh
> # drop packages to t-online
> IPs=`host service.t-online.de | gawk '{ print $4 }'`
>
> for IP in $IPs ; do
> iptables -A FORWARD -s 0/0 -d $IP -p tcp --dport 80 -j DROP && echo
> "drop $IP:80"
> done
>
> CU
> --
>
> |Michael Renner E-mail: michael.renner@gmx.de |
> |D-72072 Tuebingen Germany |
> |Germany Don't drink as root! ESC:wq
>
Reply to: