Re: LUA: Skip HTTP headers and forward TCP traffic

2016-04-26 Thread Thierry FOURNIER
Hi, Its strange. The yield is normally allowed except when the function process the last set of data. I suppose that your readline function finished to read the headers line and its reading the ssh payload. The ssh payload it is not tzerminated by a '\n', so the readline function waits for more

LUA: Skip HTTP headers and forward TCP traffic

2016-04-08 Thread Florian Aßmann
Hi everybody, I try to connect to an SSH process via proxytunnel. The incoming request carries normal HTTP headers that I have to skip those in order to forward further encrypted SSH traffic to an SSH process. I thought I could tackle this task using Lua and register_action, but since it’s my f