Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Detecting port forwarding on server-side.

Subject: Detecting port forwarding on server-side.
Date: Wed, 18 Apr 2007 14:14:54 -0400
Hello, I am using openssh 4.5_p1.

Is there a way to detect on an sshd server when a client has requested
port forwarding?

The only way I know of is to increase logging to verbose and grep for
lines like the following:

sshd[16236]: debug1: Local forwarding listening on 127.0.0.1 port 10000.

Is there a better way?

I realize that sending the control sequence ~# on the client side does
this. However, I am interested in similar functionality on the server
side.

Thanks.

<Prev in Thread] Current Thread [Next in Thread>