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. |

| Subject: | Re: Detecting port forwarding on server-side. |
|---|---|
| Date: | Fri, 20 Apr 2007 07:11:20 -0700 (PDT) |
--- Ben Timby <btimby@gmail.com> wrote:
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?
You can use lsof. ie: # lsof -ni |grep ssh This will return a bunch of processes/ports, including the destination and source ports being forward, and who is doing the forwarding. An example of what might be returned: sshd 8455 turk182 10u IPv4 3087293 TCP 10.16.0.11:45052->10.16.0.12:80 (ESTABLISHED) User turk182 is building a port forward where the source is 10.16.0.12, port 80. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PubkeyAuth disallowed for root only? - solved, Dirk H. Schulz |
|---|---|
| Next by Date: | Re: PubkeyAuth disallowed for root only?, Darren Tucker |
| Previous by Thread: | Detecting port forwarding on server-side., Ben Timby |
| Next by Thread: | PubkeyAuth disallowed for root only?, Dirk H. Schulz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |