Hi Niels,
I have added some missing bits to tcpforwarding:
* the forwarded-tcpip channel open request is now filled correctly
* cancel-forward-tcpip is implemented
* forwarded-tcpip & cancel-forward-tcpip global requests are now handled if
WITH_TCPFORWARD_SUPPORT macro is defined (in lshd.c)
I have ran into a problem, which may require some modifications to the
command architecture. I need to cancel forwarded-tcpip requests, which
requires a close_fd() on the listening fd. I am listening using a
listen_connection command, and I would have to tell him to cancel the
pending listen.
I was thinking about an additional method in the command class, which would
cancel a pending operation. This
Do you have any other idea?
--
Bazsi
tcpforward-0.3.diff.gz