Welcome! Log In Create A New Profile

Advanced

proxy input filter chain?

Dave Bailey
March 15, 2013 01:02PM
Hi,

I would like to apply a filter to the request body as it is read from the
client, but before it is sent upstream. So in the various proxy module
input filters, when the input ngx_buf_t are initialized and pushed onto the
input buffer chain, I would like to pass them through my filter at that
time, so that the input buffer chain contains the buffers that my filter
generates from the original input buffers. My filter might also (based on
its input) choose to finalize the request with a status code 403 or similar
(e.g. if the input is deemed to be malicious, etc) before the upstream
connection is made.

My questions:

1) Is anything like this currently being developed?
2) If not, could I try to provide a patch?

-dave
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

proxy input filter chain?

Dave Bailey 810 March 15, 2013 01:02PM

Re: proxy input filter chain?

Maxim Dounin 712 March 15, 2013 01:48PM

Re: proxy input filter chain?

Dave Bailey 836 March 15, 2013 02:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 272
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready