On 07/15/2014 11:09 AM, Alexander Dalloz wrote:
> Running without the pipe construct because awk can do that all by itself
> (reading the source file and inverse greping):
>
> while read ipblock
> do
> $IPTABLES -A Spamhaus -s $ipblock -j DROP
> done < <(awk '!/^;/ { print $1 }' $FILE)
>
> Al
Am 15.07.2014 01:51, schrieb Eliezer Croitoru:
> On 07/15/2014 12:45 AM, Alexander Dalloz wrote:
>> It means that your script is not correct[1] and by error tries to load a
>> helper module which does not exist. So fix your script.
>>
>> [1] "cat | grep | awk" constructs are far from being elegant.
On 07/15/2014 12:45 AM, Alexander Dalloz wrote:
> It means that your script is not correct[1] and by error tries to load a
> helper module which does not exist. So fix your script.
>
> [1] "cat | grep | awk" constructs are far from being elegant.
>
> Alexander
I think that these are not too bad..
A
Am 14.07.2014 23:13, schrieb Jerry Geis:
> I did not send the exact command I used but it is "yum
> provides /lib64/xtables/libipt_Spamhaus.so"
> No matches found.
>
> I am using this script to block spam:
> #!/bin/bash
> IPTABLES=/sbin/iptables
> FILE="/tmp/drop.txt"
> URL="http://www.spamhaus.or
On Mon, Jul 14, 2014 at 5:07 PM, Reindl Harald
wrote:
>
>
> Am 14.07.2014 23:00, schrieb Jerry Geis:
> > I am getting this error...
> >
> > Try `iptables -h' or 'iptables --help' for more information.
> > iptables v1.4.7: Couldn't load target
> > `Spamhaus':/lib64/xtables/libipt_Spamhaus.so: cann
I am getting this error...
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Couldn't load target
`Spamhaus':/lib64/xtables/libipt_Spamhaus.so: cannot open shared object
file: No such file
yum provides says not found also.
CentOS 6.5 x86_64
Thoughts?
Thanks,
Jerry
_
6 matches
Mail list logo