stream-lua-nginx-module
stream-lua-nginx-module copied to clipboard
Changing upstream TCP packets on the fly
I am using OpenResty as a TCP (stream) proxy. I have been capable to read TCP packets using reqsock:peek and preread_by_lua_block directives.
However, would like to change certain bytes of the TCP packet as it flows though the proxy, so that the service behind gets a changed packet.
Is this possible to achieve with ngx_stream_lua_module and how?
Any updates on this? Is something like this possible?
@agentzh any ideas?
Same here, couldn't find related APIs
+1
need to add body filter feature
Can this be implemented now? @zhuizhuhaomeng
we do not have a plan for this feature. PR is welcome