Search squid archive

Re: Perl Redirector Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sön 2006-04-02 klockan 10:00 -0400 skrev Bernard Barton:
> I need to use a redirector because I'm using the GeoIP application
> to determine if requests are from valid countries.  You can't do this
> with ACL's.  In my redirector I check the IP address to determine
> if it's from one of 7 valid countries (Allowed by my company).
> I'm almost finished this, but thanks for your help.

I don't see any reason why you can't do this as an external acl. Only
benefits in doing so.

external acl helpers are helpers much like redirectors, except that they
are much more focused on a specific question such as "is the source IP
of this request in a suitable geographic location". Thanks to the
focused use the result can be cached by Squid to avoid having to redo
the same lookup on every request from that client..

Again, see the external_acl_type directive.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux