trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Masakazu Kitajo <>
Subject Re: getting source/destination ip-address/port number in plugin
Date Wed, 23 Aug 2017 12:36:17 GMT
I confirmed below with the foo plugin:
- TSHttpTxnServerAddrGet works on version 6.2.1
- Both forward proxy and reverse proxy are fine
- Cache affects the result (as Alan pointed out)

Gaurav, can you try TS_HTTP_READ_RESPONSE_HDR_HOOK?  You can get the
address on this hook for sure, if the event happened. If it doesn't happen,
it means that the address doesn't exist because no connection was made.

On Wed, Aug 23, 2017 at 5:52 AM, Alan Carroll <>

> There is and it is accessible through the API Masakazu pointed out.
> Caching can affect the result because if there is a cache hit no connection
> to the origin is created and therefore no IP address for it is present. ATS
> doesn't do an IP address lookup on the request FQDN if that address won't
> be used. I would try using different URLs and see if the result varies, or
> set 'CONFIG proxy.config.http.cache.http INT 1' to 0.

View raw message