Re: Limit to number of items in an ACL matching src IP

From: Andrew Azarov <equand#gmail.com>
Date: Thu, 18 Feb 2010 13:34:04 +0100


Hi Graeme,

./include/common/defaults.h

#define LINESIZE 2048

#define MAX_LINE_ARGS 64

But you can change them any time - repercussions: memory and cpu usage. Mine are

#define LINESIZE 65536

#define MAX_LINE_ARGS 4096

everything runs fine.

BRG,
Andrew

On 16.02.2010 10:28, Graeme Donaldson wrote:
> Hi
>
> I'm playing around with something like this:
>
> acl src_goaway src 10.0.0.1
> redirect location http://example.com/goaway.html
>
> I have seen examples in the docs where src is specified as multiple
> IPs in a single ACL, but I don't see any mention of how many IPs can
> be in a single ACL.
>
> Did I miss this in the docs?
>
> Thanks,
> Graeme.
>
Received on 2010/02/18 13:34

This archive was generated by hypermail 2.2.0 : 2010/02/18 13:45 CET