On 2018/05/25 16:27:08, salil GK <gksa...@gmail.com> wrote:
> Hello
>
> I have a ATS ( 6.2.2 ) deployed in my server for Forward proxy. My
> deployment is as follows
>
>
> client -> ATS-1 -> ATS-2 -> "Origin server”
>
> Here between ATS-1 and ATS-2 I have created ssh tunnels and
> traffic will be passed through that tunnel, using parent.config.
>
> ATS-1 is opening a MTLS socket to client and "Origin server" is https
>
> I have some questions regarding the capability of ATS.
>
> 1. From ATS-2 there will be a dns A query and get the address resolved
> before connecting to "Origin Server”
> If dns server return 2 or three addresses, is there any way
> ATS use the alternative address ( second or third ) in case it fails
> to reach first address ? How dns resolution works in ATS, is the dns
> functionality embedded in dns or it allow the system to resolve the
> address ?
>
> 2. I have a cluster of ATS-2 ( two ATS-2 machines.) in my
> parent.config I have specified these two ATS-2 machines and
> round_robin parameters is set to true. From document, I guess the
> round_robin will happen if request come from different IP addresses (
> ? ). All requests come from same IP address will take same parent
> machine only. Is there any way I can have round robin in place even
> for requests come from same IP address ?
>
> 3. Is there any chance that http connection to origin server from
> ATS-2 can be made persistent.
>
> 4. Since this is multi hop deployment I need to handle error
> condition in ATS-1 and ATS-2 gracefully. So based on the HTTP response
> code, I would like to put some logic for handling this. For example,
> if an error is returned from the origin server, or if there is any
> network issue between ATS-2 and origin server, I need to handle it in
> ATS-1 ( logging or try another ATS-2 etc ). How do I achieve this ?
>
>
> Any help on this would be of great help for me.
>
> Thanks
> ~S
>
While searching in the web, I have seen some configuration variables related to
dns
proxy.config.dns.failover_number INT 5
proxy.config.dns.failover_period INT 60
proxy.config.dns.local_ipv4 STRING NULL
proxy.config.dns.local_ipv6 STRING NULL
proxy.config.dns.lookup_timeout INT 20
proxy.config.dns.max_dns_in_flight INT 2048
proxy.config.dns.retries INT 5
Where do I get the document related to these parameters ?
This is a bit urgent issue for me to resolve this issue. It would be of great
help if I get some directions on this.
Thanks in advance
~S