Hi, You should ask on openssh's mailing list. Libssh is a library implementing the SSH protocol and cannot even do port forwarding all by itself. My bet is that it's hopeless on HPUX (no equivalent of iptables).
Aris Le 23/10/13 22:42, Jeremy Brock a écrit : > Hi Saju, > > The logging that I am after is actually on the HPUX system where one > of my listener applications reports the IP addresses that connect to it > on a specific port. When the SSH TUNNEL traffic is received by my > program running on HPUX, it logs the HPUX IP as the client connecting to > it. This makes sense since the openssh server is forwarding the traffic > to the destination host:port. However it destroys any chance of auditing. > > I know that this can be done via Transparent Proxy mode with stunnel > on Linux iptables, so I am grasping at straws for a UNIX solution. > > ~Jeremy >
