[squid-users] follow_x_forwarded_for to get client ip instead of sibling proxy

2020-01-16 Thread robert k Wild
hi all, i have two proxies (one sibling going to a parent) when i look at the parent proxy access logs, it just logs the ip address of the sibling proxy if i add the lines below in my sibling proxy acl localhost src 127.0.0.1 acl my_other_proxy srcdomain .proxy.example.com follow_x_forwarded_fo

Re: [squid-users] follow_x_forwarded_for to get client ip instead of sibling proxy

2020-01-16 Thread Alex Rousskov
On 1/16/20 9:59 AM, robert k Wild wrote: > i have two proxies (one sibling going to a parent) FYI: "siblings" are proxies that fetch hits from each other. The proxy "going to the parent" is usually called a "child" proxy: clients -> child -> parent -> servers > when i look at the parent pr

Re: [squid-users] follow_x_forwarded_for to get client ip instead of sibling proxy

2020-01-16 Thread robert k Wild
hi Alex, thanks for the notes so my child proxy, i have added - #forward clients IP forwarded_for on and my parent - acl my_other_proxy srcdomain 10.110.130.80 follow_x_forwarded_for allow my_other_proxy log_uses_indirect_client on but in my parent logs, im still getting the ip of the child p

Re: [squid-users] follow_x_forwarded_for to get client ip instead of sibling proxy

2020-01-16 Thread Alex Rousskov
On 1/16/20 12:05 PM, robert k Wild wrote: > hi Alex, > > thanks for the notes > > so my child proxy, i have added - > > #forward clients IP > forwarded_for on FYI: This is the default. > and my parent - > > acl my_other_proxy srcdomain 10.110.130.80 If you identify your child proxy by its

Re: [squid-users] follow_x_forwarded_for to get client ip instead of sibling proxy

2020-01-16 Thread robert k Wild
Alex, you are AWESOME!! On Thu, 16 Jan 2020 at 17:11, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 1/16/20 12:05 PM, robert k Wild wrote: > > hi Alex, > > > > thanks for the notes > > > > so my child proxy, i have added - > > > > #forward clients IP > > forwarded_