TS_EVENT_VCONN_EOS

2018-05-14 Thread supraja sridhar
Hello, I am interested in finding out what operation will result in a TS_EVENT_VCONN_EOS event. I get this event on the vconn returned by TSHttpServerIntercept. Is it possible this event is generated by a TSVConnShutdown which is invoked by the Trafficserver? Please throw some light on this.

Re: Transaction object inside transform handler

2018-01-08 Thread supraja sridhar
tp); > TSContCall(TSVIOContGet(input_vio), TS_EVENT_ERROR, input_vio); > > And then you can hook with the HTTP_SEND_RESPONSE_HDR_HOOK and change the > response to what you want. > > - Oknet > > 2018-01-04 21:14 GMT+08:00 supraja sridhar <suprajasridha...@gmail

HttpConnect in Buffer upload plugin

2017-12-26 Thread supraja sridhar
Hi ! I have just started using traffic server and I am experimenting with the buffer-upload plugin. TSHttpConnect uses the address returned by TSHttpTxnClientAddrGet. My question is, is TSHttpTxnClientAddrGet the IP address of the client? When I print the return value it looks like this: client:

Re: HttpConnect in Buffer upload plugin

2017-12-28 Thread supraja sridhar
Sorry, figured out that using the client ip in the HTTPConnect is just to make the the transaction look like it came from the client IP. Thanks, Supraja

Re: HttpConnect in Buffer upload plugin

2017-12-27 Thread supraja sridhar
26, 2017 at 11:50 PM, Leif Hedstrom <zw...@apache.org> wrote: > Yes, client IP. It sounds like maybe you are printing it in the wrong byte > order? Make sure to use the right APIs for converting the addr to a string? > > Ciao, > > — Leif > > > On Dec 26

Transaction object inside transform handler

2018-01-04 Thread supraja sridhar
Hi, I have a plugin registered for the REQUEST_TRANSFORM_HOOK, is there a way to access the transaction object in the handler function? My objective is to reenable the transaction with a TS_EVENT_HTTP_ERROR inside the tranform handler function. Thanks, Supraja

Re: Proxy response after hooks in ATS

2018-02-28 Thread supraja sridhar
allofc...@oath.com> wrote: > Proxy response should be after most hooks, i.e. what is sent back to the > user agent. If you really want to be sure, I'd use wireshark. If you are > doing a transform, you will generally need wireshark to see the transformed > content. > > On Wed, Feb 2

Proxy response after hooks in ATS

2018-02-28 Thread supraja sridhar
Hi, Is there a way to look at the response after it is subjected to hooks in ATS? I am running trafficserver in foreground with the -Thttp tag and I can see OS request, Proxy request, Proxy request after hooks for requests but only OS response and Proxy response for response. I have a plugin

Notification in ATS plugin if ATS is shutdown

2019-08-30 Thread supraja sridhar
Hi all, Is there a way an ATS plugin can be notified if ATS goes down ? Something like TSPluginDestroy ? Thanks Supraja

TS_SSL_VERIFY_SERVER_HOOK

2019-11-17 Thread supraja sridhar
Hello, My organisation currently uses ATS 7.x and are looking for a TS_SSL_VERIFY_SERVER_HOOK equivalent in ATS 7.x. If there are no such hooks in ATS 7.x is it

Revocation checks on client certificate

2019-12-03 Thread supraja sridhar
Hello, Does ATS perform revocation check on client certificate? Does it support CRL and OSCP? Thanks, Supraja

Re: Query regarding proxy.config.ssl.client.certification_level

2019-12-02 Thread supraja sridhar
?highlight=sni%20yaml#std:configfile-sni.yaml > > I'll work on putting up a PR with some documentation on the ip_allow > action. > > Susan > > On Sun, Nov 24, 2019 at 11:09 PM supraja sridhar < > suprajasridha...@gmail.com> wrote: > >> Hello, >> >> I understand t

Re: Query regarding proxy.config.ssl.client.certification_level

2019-12-03 Thread supraja sridhar
Also, does sni.yaml exist in ATS 7.1.1? Thanks Supraja On Tue, Dec 3, 2019 at 9:32 AM supraja sridhar wrote: > Thanks. Will ip_allow take IPs as input. Is the following a valid example > ? > sni > ip_allow: x.y.z.a > verify_client: MODERATE > > > On Mon, Nov 25

How to cancel TSContScheduleEvery?

2019-12-14 Thread supraja sridhar
Hello, Will TSContDestroy stop the continuation handler from being called again when I use TSContScheduleEvery ? Thanks Supraja

Query regarding proxy.config.ssl.client.certification_level

2019-11-24 Thread supraja sridhar
Hello, I understand that - proxy.config.ssl.client.certification_level provides the option to enable/disable client certificate verification across all connections. Is it possible to skip client certificate verification based on source IP? Thanks, Supraja

Re: Notification in ATS plugin if ATS is shutdown

2019-09-25 Thread supraja sridhar
es/TSEvent.en.html#c.TS_EVENT_LIFECYCLE_SHUTDOWN > > On Aug 30, 2019, at 4:54 AM, supraja sridhar > wrote: > > Hi all, > > Is there a way an ATS plugin can be notified if ATS goes down ? Something > like TSPluginDestroy ? > > Thanks > Supraja > > -- Regards, S.SUPRAJA MIT

Traffic server listening on 127.0.0.1 8084

2019-09-25 Thread supraja sridhar
Hello, I am running a trafficserver instance and don't use trafficmanager. Can I make traffic server not listen on 8084 by setting CONFIG proxy.config.process_manager.mgmt_port to -1? Thanks Supraja

Re: Building ATS 8.0.5 with clang-5.0 - compilation error

2019-12-19 Thread supraja sridhar
versions of C++. > > On Thu, Dec 19, 2019 at 12:48 AM supraja sridhar < > suprajasridha...@gmail.com> wrote: > >> How can I check that? >> >> Not sure if this helps - >> >> Build environment: >> AKAMAKE_HASH = d41d8cd98f00b204e980099

Building ATS 8.0.5 with clang-5.0 - compilation error

2019-12-18 Thread supraja sridhar
Hello, When building ATS 8.0.5 with clang-5.0 I get the following error - > 12 make[3]: Entering directory > '/home/P4CLIENTS/centaur/centaur/centaur.build/src/tscpp/util' > 11 CXX TextView.lo > 10 In file included from TextView.cc:26: >9

Re: Building ATS 8.0.5 with clang-5.0 - compilation error

2019-12-18 Thread supraja sridhar
CXXFLAGS: -m64 -march=opteron -mno-3dnow -fpic -ggdb -O2 -Supraja On Thu, Dec 19, 2019 at 10:14 AM Leif Hedstrom wrote: > Are you using the right STL, from LLVM, that had full C++17 support? > > — Leif > > On Dec 18, 2019, at 21:40, supraja sridhar > wrote: > >  > H

ci/ folder in source code

2020-02-13 Thread supraja sridhar
Hello, I am using ats 7.1.1 version. I would like to confirm if the contents of the ci/ are used only for quality assurance and is not part of the trafficserver binary as such. Thanks, Supraja

Coverity on ATS

2020-03-06 Thread supraja sridhar
Hello, Are all ATS versions released only after the coverity issues have been resolved? Thanks, -Supraja

Re: Coverity on ATS

2020-03-06 Thread supraja sridhar
Thanks ! Okay, for the 7.1.1 version? On Sat, Mar 7, 2020, 12:56 AM Leif Hedstrom wrote: > > > > On Mar 6, 2020, at 2:44 AM, supraja sridhar > wrote: > > > > Hello, > > > > Are all ATS versions released only after the coverity issues have been > reso

Extended Master Secret extension and session ticket reuse

2020-07-14 Thread supraja sridhar
Hello, Does ATS 7.x support session ticket reuse in the presence of Extended Master secret extension in the handshake ? Thanks Supraja

Re: Extended Master Secret extension and session ticket reuse

2020-07-15 Thread supraja sridhar
RET, > and the default is for that feature to be enabled. > > Are you having problems with session reuse? Perhaps the client does not > support the Extended Master secret? > > Susan > > On Tue, Jul 14, 2020 at 1:26 AM supraja sridhar < > suprajasridha...@gmail.com> w

Can Plugin get a notification in case of an invalid HTTP request

2020-06-23 Thread supraja sridhar
Hello, I am using ATS-7.1.1. Is there a way a plugin can get information every time a request is dropped by ATS in case it is invalid? Thanks, Supraja

Re: Extended Master Secret extension and session ticket reuse

2020-07-16 Thread supraja sridhar
secret but openssl > 1.0.2 does not. Interestingly you cannot turn off extended master secret > in 1.1.1. The SSL_OP_NO_EXTENDED_MASTER_SECRET option doesn't appear > until openssl 3. > > > On Wed, Jul 15, 2020 at 4:38 AM supraja sridhar < > suprajasridha...@gmail.com>

Content length header for post request chunked body request

2021-01-20 Thread supraja sridhar
Hi, Does ATS add a content-length header to a post request with a chunked body and no content-length header set ? -- Regards, S.SUPRAJA MIT

Re: POST request hanging with bnull transform plugin

2021-01-12 Thread supraja sridhar
Is any further information required ? On Tue, Jan 12, 2021 at 7:57 PM supraja sridhar wrote: > Hello, > > I have a bnull-transform plugin to handle POST requests. I find that the > connections are hanging when I do a chunked upload. > > > Can someone please help debug t

stream editor plugin doesn't work with chunked post request body

2021-02-01 Thread supraja sridhar
Hello, On sending a post request with chunked body to ATS + stream editor plugin I get broken pipe error at the client. It looks like ATS is triggering an error event due to undefined length. Attaching logs. Please help. Thanks, Supraja {\rtf1\ansi\ansicpg1252\cocoartf2513

ATS version macro

2021-06-01 Thread supraja sridhar
Hi, Based on the ATS version, I would like to decide on the API in the plugin that should be compiled. Is there an ATS version macro that I can make use of ? Thanks Supraja

Unable to use ATS 7.1.1 with openssl 1.1.1

2021-04-09 Thread supraja sridhar
Hi, When I try to send traffic to ATS 7.1.1 with the system having openssl 1.1.1 I am seeing the below crash. Can someone help identify the issue ? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by