Hmm.. is there a reason to why you don't implement follow_xff where
r->client_addr is assigned, instead of having to add conditions all over
the place?
My understanding of what you are trying to do is that you want to trust
X-Forarded-For in certain conditions to contain the real client address.
To me it then feels natural to have this in r->client_addr while the
request is processed.
Regards
Henrik
tis 2002-12-10 klockan 11.21 skrev Alan Barrett:
> Update of /cvsroot/squid/squid3/src
> In directory sc8-pr-cvs1:/tmp/cvs-serv14596
>
> Modified Files:
> Tag: follow_xff
> forward.cc neighbors.cc redirect.cc ssl.cc
> Log Message:
> Several more places that need to pay attention to the
> acl_uses_indirect_client flag. Also a few XXX comments.
Received on Tue Dec 10 2002 - 04:20:13 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:00 MST