|
Re: [Lug-bg] iptables blocklist
- Subject: Re: [Lug-bg] iptables blocklist
- From: Georgi Chorbadzhiyski <gf@xxxxxxxxxxx>
- Date: Mon, 03 Sep 2007 20:31:10 +0300
- Organization: Unix Solutions (http://unixsol.org)
On 09/03/07 18:41, Bozhidar Maramski wrote:
>> можеш да използваш и iproute2
>>
>> [root@masq-gw]# ip route add prohibit 209.10.26.51
>
>
> ip route add prohibit $(cat /etc/blacklist)
> -bash: /sbin/ip: Argument list too long
for i in $(cat /etc/blacklist)
do
ip route add prohibit 209.10.26.51 $i
done
трети път няма да го пиша :)
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|
|
|