Squid (caracters in line)

Hi,
i'm with a problem in squid, where, in a acl of type 'src' the squid can't reader more than 1807 caracters ....

The problem is in squid or in freebsd... And how much caracters the freebsd support in a line ?

Thnks guys,
and good job.!
=)
 
zucchetto said:
how much caracters the freebsd support in a line?
AFAIK there's only a maximum on a command line. Anything else is pretty much up to the application.
 
zucchetto said:
i'm with a problem in squid, where, in a acl of type 'src' the squid can't reader more than 1807 caracters ....

The problem is in squid or in freebsd... And how much caracters the freebsd support in a line ?

It's also not necessary to stuff a squid ACL into one line like this.

For example:
Code:
acl mynet src 10.0.1.0/24 10.0.2.0/24 10.0.3.0/24
http_access allow mynet

is functionally equivalent to:
Code:
acl mynet src 10.0.1.0/24 
acl mynet src 10.0.2.0/24 
acl mynet src 10.0.3.0/24
http_access allow mynet

(When building a squid ACL this way, "or" is implied.)
 
Back
Top