Re: [Lug-bg] iptables blocklist
- Subject: Re: [Lug-bg] iptables blocklist
- From: Georgi Alexandrov <georgi.alexandrov@xxxxxxxxx>
- Date: Tue, 04 Sep 2007 13:43:10 +0300
Peter Pentchev wrote:
<snip>
> Само като идея - хората и xargs са измислили :)
>
> xargs dig +short < /tmp/blacklist | sudo xargs -n 1 ip route add prohibit
<snip>
Прав си. Даже сега като се загледах видях, че dig има и '-f' опция.
--
regards,
Georgi Alexandrov
key server - pgp.mit.edu :: key id - 0x37B4B3EE
Key fingerprint = E429 BF93 FA67 44E9 B7D4 F89E F990 01C1 37B4 B3EE
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|