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 > >

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
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

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

[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

[squid-users] follow_x_forwarded_for

2010-03-31 Thread Dayo Adewunmi
Hi How do I use `follow_x_forwarded_for` to allow X-Forwarded-For header for all IP's in my LAN 192.168.0.0/21. They all go through the squid proxy, 192.168.0.1. Thanks Dayo

Re: [squid-users] follow_x_forwarded_for

2010-03-31 Thread Dieter Bloms
Hi, On Wed, Mar 31, Dayo Adewunmi wrote: How do I use `follow_x_forwarded_for` to allow X-Forwarded-For header for all IP's in my LAN 192.168.0.0/21. They all go through the squid proxy, 192.168.0.1. it depends on what you want. Do you have an another proxy between the clients and squid, or

Re: [squid-users] follow_x_forwarded_for

2010-03-31 Thread Dayo Adewunmi
Dieter Bloms wrote: Hi, On Wed, Mar 31, Dayo Adewunmi wrote: How do I use `follow_x_forwarded_for` to allow X-Forwarded-For header for all IP's in my LAN 192.168.0.0/21. They all go through the squid proxy, 192.168.0.1. it depends on what you want. Do you have an another proxy

Re: [squid-users] follow_x_forwarded_for

2010-03-31 Thread Dieter Bloms
Hi, On Wed, Mar 31, Dayo Adewunmi wrote: There's no other proxy between clients and squid. I'm trying to get squid to include LAN IPs for external servers. So, for that it's forwarded_for on? Or do you mean follow_x_forwarded_for on? from squid.conf # TAG: forwarded_for on|off #

Re: [squid-users] follow_x_forwarded_for

2010-03-31 Thread Dayo Adewunmi
Dieter Bloms wrote: Hi, On Wed, Mar 31, Dayo Adewunmi wrote: There's no other proxy between clients and squid. I'm trying to get squid to include LAN IPs for external servers. So, for that it's forwarded_for on? Or do you mean follow_x_forwarded_for on? from squid.conf # TAG:

Re: [squid-users] follow_x_forwarded_for

2010-03-31 Thread Amos Jeffries
Dayo Adewunmi wrote: Hi How do I use `follow_x_forwarded_for` to allow X-Forwarded-For header for all IP's in my LAN 192.168.0.0/21. They all go through the squid proxy, 192.168.0.1. Thanks Dayo Consider: Are 192.168.0.0/21 all proxies which you trust not to forge the header?