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]

Re: Port Forwarding - Firewall Traversal

Subject: Re: Port Forwarding - Firewall Traversal
Date: Thu, 08 Jun 2006 10:37:00 +0200
Hi Scott,

The problem I personally noticed is dumb and obvious ;)
If your HTTP content contains not relative URLs, say index.html contains
something like <a href="http://server_hostname/foo";>bar</a> instead of
<a href="/foo">bar</a>, then the http://localhost:fwdport/... will be
forgotten on the way... Such a bad HTML code not being yours maybe, you
may not be able to change it (proprietary web interfaces, aso)...

I agree that adding to your workstation /etc/hosts file the server
hostname in front of 127.0.0.1 may be the hack for this, but that's
going ugly and uglier and needs root privileges...

I agree also that saying HTTP is not port forwarding friendly is to
much, I should have said instead: bad HTML is not port forwarding friendly !

However, there is no such a problem using OpenSSH socks proxy feature
(-D port), but the option may not be allowed server side in Henry's case
(a Solaris system).

By the way, SunOS 5.10 ships with a Sun_SSH_1.1 which seems to actually
be OpenSSH looking at the usage and man (see Authors)... Is it ?

Regards,
Pierre


Scott Baker wrote:
I don't know about THIS situation as I don't know Oracle but port
forwarding HTTP (port 80 or even 443) is TOTALLY ssh port forwarding
friendly. The ONLY problems you might have are DNS, where the server
expects the request to say "www.foo.com" instead of "localhost" but
even that can be hacked with an edit in your hosts file.

I've port forwarded port 80 lots of times with SSH with no problems.

Scott
  

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