[BlueOnyx:04422] Re: can't stop this attack
Chuck Tetlow
chuck at tetlow.net
Thu May 6 17:03:29 -05 2010
Don't know Alan. I've never heard of a "Maximum prefix length". And I use similar rules in all our BQ and BX servers.
OH - I see. Its the string to insert into the log entry - it can only be 29 characters long. So when you tried it, it counted up "Connect attempt from 213.80.73 network in Sweden " and came up with more than 29 characters. Try something shorter, like "Sweden 213.80.73 ". Yep - that works.
Chuck
---------- Original Message -----------
From: Alan Kline <alan at snugglebunny.us>
To: BlueOnyx General Mailing List <blueonyx at blueonyx.it>
Sent: Thu, 06 May 2010 16:38:25 -0500
Subject: [BlueOnyx:04418] Re: can't stop this attack
> When I added this rule, I got this error message:
> "Maximum prefix length 29 for --log-prefix"
>
> Once I cut the prefix way down, it worked... Is there any way to change
> that maximum length?
>
> Alan
>
> On 5/6/2010 4:21 PM, Chuck Tetlow wrote:
> > And if you want to see how many times they try to get in (whether your are reporting it or just curious), AFTER running that command - run this one:
> >
> > /sbin/iptables -I acctin 1 -s 213.80.73.0/24 -j LOG --log-prefix "Connect attempt from 213.80.73 network in Sweden "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20100506/73892f9b/attachment.html>
More information about the Blueonyx
mailing list