Search squid archive

Re: ip-based ACL under transparent mode

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

 



On 2015-12-31 18:02, xxiao8 wrote:
Under transparent mode, is it possible to get client's IP and assign a
specific ACL rule to it?

The "src" ACL matches client IP. Always.

<http://wiki.squid-cache.org/SquidFaq/SquidAcl#How_do_I_allow_my_clients_to_use_the_cache.3F>

is it possible to use the client-IP-address
as a variable in redirector scripts?

<http://wiki.squid-cache.org/Features/AddonHelpers#URL_manipulation>

Basically when transparent mode
is used we don't have the "user" for each requests and I'm thinking if
I can extract the IP of client request and use that to distinguish
them, at an IP level though. I want to proxy clients differently.

It is almost always a bad idea to do it with redirector (especially if you actually mean re-writer). But you have omitted any explanation of what you mean by "differently", so we can't help with the actual problem you are trying to solve.

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux