|
Hello,
Of course, SSH Proxy can work without cascaded HTTP Proxy.
Just set the following property in the config.txt file:
seSHttpProxy=no
The request goes directly to the destination.
|
|
|
|
|
hi,
as i know ur socks proxy provides bind command, but i don't know any application that use this command can u help me about finding siutable application that will interact with this command
thanke you
|
|
|
|
|
Hello,
BIND command is used by FTP client applications, which supports SOCKS protocol.
Be sure that PASV mode is not enabled.
Best regards,
Svetoslav Chekanov
D-Bross
http://www.d-bross.com/
|
|
|
|
|
thank u Mr. Svetoslav Chekanov
but can u tell me about application using "UDP" command,
the .mp3,.exe use only "CONNECT" command on internet
thank you,
|
|
|
|
|
UDP command was used by early versions of ICQ (1998 year)
I do not know other applications that uses UDP command.
Probably RealPlayer will use it, if the computer do not have direct Internet connection.
|
|
|
|
|
Paychex software installed on one of the computer behind firewall. It is a web based application. After Username and password entered it pops up the following Message.
Unable to connect to Paychex Proxy Returns "HTTP/1.1 502 Proxy Error (ISA Server denies the specified Uniform Resource Locator (URL). )
Steps too to resolve this problem
* Installed the software on different computer still the problem same
* Checked for paychex website blocked
* it is not blocked
* uninstalled Web Proxy client. It did not help.
* ISA Management-IP Filter- Created new filter to this allow outbound to any. It did not helped
I checked with Paychex support. They said they application use HTTP and SSL protocol port 80 and 443. We have not blocked port 80 and port 443. We other java based application working fine. What could be the problem. Please guide me.
|
|
|
|
|
I don't have much knowledge of networking concept.
I want to know that -
SOCKSPort and SHttpProxyPort both are same or different number.
i.e. 1080 for SOCKSPort and 8080/80 for SHttpProxyPort
and
Can my mail program use this ?how?...so that mail header does not contain my ip address...
dipali pawar
dipali.pawar@sixcube.com
|
|
|
|
|
Both port numbers are different... please read the publication.
If your mailing program is SOCKS compatible, you can send mail through SSHProxy.
SSH Proxy will NOT clean headers... so if your mail program put headers - they will be visible for the recipient.
If you are interesting of mailing, please visit our website and take a look at section PRODUCTS.
http://www.d-bross.com/
Best regards
Svetoslav Chekanov
D-Bross
|
|
|
|
|
when starting this program successfully, the client oicq kept requesting until
I stoped it. Please help me to correct the error!
Thxs first!
----------------------------------------------
S S H P R O X Y
SOCKS Proxy Server -> HTTP SSL tunnel Master
----------------------------------------------
Copyright (c) 1999 by Svetoslav Tchekanov
ICQ #13435454 E-mail : swetoslav@iname.com
----------------------------------------------
Params : None
Config File : "config.txt"
"config.txt": EnableLog=<yes/no>
"config.txt": SOCKSPort=<PortNumber>
"config.txt": UseSHttpProxy=<yes/no>
"config.txt": SHttpProxyHost=<hostname/IP>
"config.txt": SHttpProxyPort=<PortNumber>
----------------------------------------------
USE of SHTTP Proxy Enabled.
SHTTP Proxy Host : 192.168.1.1
SHTTP Proxy Port : 80
---------------------------------------
Logging : On
---------------------------------------
SOCKS Proxy Port : 1080
---------------------------------------
SOCKS Server Created.
SOCKS Server Started.
SOCKS Server Listen at Port : 1080
Connection from : <localhost/127.0.0.1:3774>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "UDP Association"
Reply to Client "SUCCESS"
UDP Listen at: </127.0.0.1:3785>
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Datagram : 13 bytes : <localhost/127.0.0.1:3773> >> <61.144.238.155/61.144.238.155:8000>
Error in ProcessUDPClient() - Failed to Send DGP to 61.144.238.155/61.144.238.155:8000> : 13 bytes
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Connection from : <localhost/127.0.0.1:3964>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:3966>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Error in ClearDGPHead() - Invalid UDP dest IP address: NULL
Connection from : <localhost/127.0.0.1:4030>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4032>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "CONNECT"
Connecting...
Connected to <192.168.1.1/192.168.1.1:80>
Connected to <192.168.1.1/192.168.1.1:80>
SOCKS 5 - Reply to Client "SUCCESS"
Initiating SSL Tunneling...
SHTTP Proxy Reply : [HTTP/1.1 502 Proxy Error ( SSL port specified is not allowed. )
Via: 1.1 SZXLWEB
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<title>Proxy Server Report: Default</title>
</head>
<body bgcolor="#BEBEBE">
<h2>Proxy Reports:</h2>
<div align="center"><center>
<table border="1" width="90%">
<tr>
<td width="100" bgcolor="#FFFFFF"><font color="#FF0000"><strong>12204</strong></font></td>
<td bgcolor="#FFFFFF"><font color="#FF0000"><strong>SSL port specified is not allowed. </strong></font></td>
</tr>
</table>
</center></div>
<hr size="6" width="90%">
<div align="center"><center>
<table border="0" width="90%">
<tr>
<td><em>An error occurred while trying to retrieve your
URL. </em><p><em>This error could have been caused by:</em></p>
<ul>
<li><em>Bad / misspelled URL</em></li>
<li><em>Your access permissions</em></li>
<li><em>Your network connection and/or transient
conditions on the Internet</em></li>
<li><em>An error on the source web server</em></li>
</ul>
</td>
</tr>
</table>
</center></div>
<hr size="6" width="90%">
<p><a href="http://www.microsoft.com/proxy"><em>Microsoft Proxy
Server v2.0</em></a></p>
<p><strong>Proxy Server : szxlweb.teletech.com</strong></p>
<p><strong>Via : </strong></p>
</body>
</html>]
ERROR : java.lang.Exception: Error Response from SHTTP Proxy !
java.lang.Exception: Error Response from SHTTP Proxy !
at socksshttp.CProxy.CreateSSLTunnel(CProxy.java:390)
at socksshttp.CProxy.ProcessRelay(CProxy.java:317)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4094>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4096>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4159>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4160>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4221>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4223>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4275>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4277>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4338>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "CONNECT"
Connecting...
Connected to <192.168.1.1/192.168.1.1:80>
Connected to <192.168.1.1/192.168.1.1:80>
SOCKS 5 - Reply to Client "SUCCESS"
Initiating SSL Tunneling...
SHTTP Proxy Reply : [HTTP/1.1 200 Connection established
Via: 1.1 SZXLWEB]
ERROR : java.lang.Exception: Error Response from SHTTP Proxy !
java.lang.Exception: Error Response from SHTTP Proxy !
at socksshttp.CProxy.CreateSSLTunnel(CProxy.java:390)
at socksshttp.CProxy.ProcessRelay(CProxy.java:317)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4590>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4592>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4654>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "CONNECT"
Connecting...
Connected to <192.168.1.1/192.168.1.1:80>
Connected to <192.168.1.1/192.168.1.1:80>
SOCKS 5 - Reply to Client "SUCCESS"
Initiating SSL Tunneling...
SHTTP Proxy Reply : [HTTP/1.1 200 Connection established
Via: 1.1 SZXLWEB]
ERROR : java.lang.Exception: Error Response from SHTTP Proxy !
java.lang.Exception: Error Response from SHTTP Proxy !
at socksshttp.CProxy.CreateSSLTunnel(CProxy.java:390)
at socksshttp.CProxy.ProcessRelay(CProxy.java:317)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4900>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4902>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4964>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:4966>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:1055>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "CONNECT"
Connecting...
Connected to <192.168.1.1/192.168.1.1:80>
Connected to <192.168.1.1/192.168.1.1:80>
SOCKS 5 - Reply to Client "SUCCESS"
Initiating SSL Tunneling...
SHTTP Proxy Reply : [HTTP/1.1 502 Proxy Error ( SSL port specified is not allowed. )
Via: 1.1 SZXLWEB
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<title>Proxy Server Report: Default</title>
</head>
<body bgcolor="#BEBEBE">
<h2>Proxy Reports:</h2>
<div align="center"><center>
<table border="1" width="90%">
<tr>
<td width="100" bgcolor="#FFFFFF"><font color="#FF0000"><strong>12204</strong></font></td>
<td bgcolor="#FFFFFF"><font color="#FF0000"><strong>SSL port specified is not allowed. </strong></font></td>
</tr>
</table>
</center></div>
<hr size="6" width="90%">
<div align="center"><center>
<table border="0" width="90%">
<tr>
<td><em>An error occurred while trying to retrieve your
URL. </em><p><em>This error could have been caused by:</em></p>
<ul>
<li><em>Bad / misspelled URL</em></li>
<li><em>Your access permissions</em></li>
<li><em>Your network connection and/or transient
conditions on the Internet</em></li>
<li><em>An error on the source web server</em></li>
</ul>
</td>
</tr>
</table>
</center></div>
<hr size="6" width="90%">
<p><a href="http://www.microsoft.com/proxy"><em>Microsoft Proxy
Server v2.0</em></a></p>
<p><strong>Proxy Server : szxlweb.teletech.com</strong></p>
<p><strong>Via : </strong></p>
</body>
</html>]
ERROR : java.lang.Exception: Error Response from SHTTP Proxy !
java.lang.Exception: Error Response from SHTTP Proxy !
at socksshttp.CProxy.CreateSSLTunnel(CProxy.java:390)
at socksshttp.CProxy.ProcessRelay(CProxy.java:317)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:1312>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:1314>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
Connection from : <localhost/127.0.0.1:1376>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Thread.java:566)
Proxy Closed.
|
|
|
|
|
See at your log:
> SOCKS 5 - Reply to Client "HOST Unreachable"
Please do not flood the page with long posting.
|
|
|
|
|
I dont know how to use it with DC++, can anyone help me use it? I need it because i am behind firewall. I really would appreciate it. Thank you
|
|
|
|
|
Connection from : <127.0.0.1/127.0.0.1:2830>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
Socks 4 - Refuse Command: "HOST Unreachable"
SOCKS 5 - Reply to Client "HOST Unreachable"
ERROR : java.lang.NullPointerException
java.lang.NullPointerException
at SocksProxy_src.socksshttp.CSocks5.GetClientCommand(CSocks5.java:229)
at SocksProxy_src.socksshttp.CProxy.ProcessRelay(CProxy.java:312)
at SocksProxy_src.socksshttp.CProxy.run(CProxy.java:147)
at java.lang.Thread.run(Unknown Source)
Proxy Closed.
|
|
|
|
|
The exception message is self-explained:
"HOST Unreachable"
You are trying to connect to invalid host/address.
In very special case, you can got this error message when:
a) Your proxy computer have not properly configured DNS
b) Temporarily broken Internet Connection
c) The destination computer is shut-down
|
|
|
|
|
Hi Svetoslav,
As I understand it, there are two ways to bypass firewall:
1. The way suggested by you using SSL tunneling:
AppClient(ICQ)->UserProxy(SSH)->CompanyProxy(firewall)->AppServer(ICQ)
2. Using HTTP conversion:
AppClient(ICQ)->UserClientProxy(convert to port 80)->CompanyProxy(firewall)->UserServerProxy(convert to real port)->AppServer(ICQ)
The second way is a bit more complicated as it requires setting up a server on the Internet. However it has two major advantages over the SSL tunneling method:
1. It will always work.
2. It cannot be detected by sys admin as connection to blocked apps.
Now to my questions:
1. Does all of this seem right to you?
2. Can you think of any other way to bypass firewalls?
3.I want to write the UserClientProxy and UserServerProxy based on your code. Is that ok? Maybe you have this kind of software developed already?
Please review the description of the proxies:
-UserClientProxy: Listen on a specified port. For each arriving packet – change IP to a specified IP and change port to 80 – forward to the specified CompanyProxy(firewall).
The original IP and port should be also kept in the packet.
-UserServerProxy: Listen on port 80. For each arriving packet – retrieve IP and port from the packet data - change IP and port to the original ones – forward the packet.
Is that right?
What about packets returning from the AppServer? Will they find there way to the AppClient? Or should I add some treatment for those too?
Thanks in advance
-Rafi.
|
|
|
|
|
Hi,
For the first question:
Yes, the two options are right.
The first one uses HTTP command "CONNECT" which establishes a TCP connection (tunnel).
The second one uses regular HTTP "GET" request to establish connection to the User developed ServerProxy.
Unfortunately, some HTTP proxies are configured to drop the "GET" request after specified timeout. So if your connection is unexpectedly dropped, do not be surprised.
For second question:
No, I do not know other way to bypass the firewall.
For third question:
Yes, you can use my code to write your own system.
I do not implemented such kind of program. If someone wants to hire me, I will be glad to do that.
At last: custom Server Proxy can't work with TCP packets. It must work at application level - TCP connection:
1. User app connects to the the your custom proxy
2. custom proxy connects to the HTTP proxy and sends request "GET my.server.com/tunnel?ip=xx.xx.xx.xx&port=yyyy"
3. HTTP proxy connects to my.server.com and send your request to it
4. your server proxy connects to ip xx.xx.xx.xx on port yyyy
5. Now you have established a TCP connection to xx.xx.xx.xx on port yyyy
Best regards
Svetoslav Chekanov
|
|
|
|
|
hey,are you from vietnam (vn18672),i'm newbei,i don't understand use your code,thank you create this code,SSH proxy ? my computer not yet have SSh Proxy,where i get it and run it
|
|
|
|
|
Hii......
Im now work at my project "Proxy system firewall" and I suffer from many problem >> like how can I write code for proxy and other>> any one can help me>>
|
|
|
|
|
your socks proxy server work nicely, i want to devlop my proxy server, which will depend on yours, can you explain to me what this function does, and why you write it,
is this right that "It is IMPOSSIBLE to resolve normally the External" and why,
thank you for your intersting,
|
|
|
|
|
hi,
can you give me an advise about TCP-Map proxy, and how i can implment it, please i need your help,
|
|
|
|
|
Well,there is a problem,I get this message when i try to use SSHProxy:
----------------------------------------------
S S H P R O X Y
SOCKS Proxy Server -> HTTP SSL tunnel Master
----------------------------------------------
Copyright (c) 1999 D-Bross www.d-bross.com
Free for non-commercial use.
----------------------------------------------
Params : None
Config File : "config.txt"
"config.txt": EnableLog=<yes no="">
"config.txt": SOCKSPort=<portnumber>
"config.txt": UseSHttpProxy=<yes no="">
"config.txt": SHttpProxyHost=<hostname ip="">
"config.txt": SHttpProxyPort=<portnumber>
----------------------------------------------
USE of SHTTP Proxy Enabled.
SHTTP Proxy Host : 192.168.1.1
SHTTP Proxy Port : 8080
---------------------------------------
Logging : On
---------------------------------------
SOCKS Proxy Port : 1080
---------------------------------------
SOCKS Server Created.
SOCKS Server Started.
SOCKS Server Listen at Port : 1080
Connection from : <localhost 127.0.0.1:4343="">
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "CONNECT"
Connecting...
Connected to <192.168.1.1/192.168.1.1:8080>
Connected to <192.168.1.1/192.168.1.1:8080>
SOCKS 5 - Reply to Client "SUCCESS"
Initiating SSL Tunneling...
SHTTP Proxy Reply : [HTTP/1.0 403 Forbidden
Server: Squid/2.4.STABLE6
Mime-Version: 1.0
Date: Sat, 10 Jan 2004 00:40:58 GMT
Content-Type: text/html
Content-Length: 699
Expires: Sat, 10 Jan 2004 00:40:58 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from Bambo
Proxy-Connection: close
<title>ERROR: The requested URL could not be retrieved
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL:
195.245.244.243:4661
The following error was encountered:
Your cache administrator is webmaster.
Generated Sat, 10 Jan 2004 00:40:58 GMT by Bambo (Squid/2.4.STABLE6)
]
ERROR : java.lang.Exception: Error Response from SHTTP Proxy !
java.lang.Exception: Error Response from SHTTP Proxy !
at socksshttp/CProxy.CreateSSLTunnel
at socksshttp/CProxy.ProcessRelay
at socksshttp/CProxy.run
at java/lang/Thread.run
Proxy Closed.
-------------------------------------------------------------------------
I think that my proxy does not support "CONNNECT" command. Is there any way to solve this problem? And if there is how to do this? (eg. in Http-Tunnel there is an option to disable support for proxy's "CONNECT" command)
many thanks for the help,
Slawek
|
|
|
|
|
Hello,
When SSH Proxy tries to connect using command "CONNECT", your HTTP proxy returns response:
HTTP/1.0 403 Forbidden
Server: Squid/2.4.STABLE6
"Forbidden" means that the usage of the command "CONNECT" is not allowed or HTTP proxy is configured to not allow access from your IP address.
If you have not direct access to the Internet, the SSH Proxy can't help you.
I do not know how this HTTP-Tunnel will make connection without using command "CONNECT"!
If you have direct access to the Internet - SSH Proxy can work as regular SOCKS proxy without relaying connection through HTTP proxy. For this case just set the property:
UseSHTTPProxy=no
in the config.txt file.
There on the Internet are systems that relays the connections through regular HTTP proxy, but in this case there are requirement that te destination (Server to which you want to connect) is a special program that works especially for this schema.
If you need that, I can develop such custom software for you.
Just contact D-Bross on www.d-bross.com
But there is a possibility that HTTP proxy can be set to relay traffic up-to specified timeout. This means that, if the software establishes the connection, the HTTP proxy will close this connection after specified timeout (e.g. 10 seconds).
Because that, before to make this software, we need to investigate your HTTP Proxy.
|
|
|
|
|
Hi,
I was very glad to find this nice program as it helped me to use file-sharing progs behind a corporate firewall. My only problem is that when i try to connect to larger DC++ hubs (more than about 1500 users), it can connect, but halts before downloading the share of the users. Perhaps it's just a timeout problem, because the program works fine with smaller hubs.
Any idea what should I do?
Thanks,
Laszlo
|
|
|
|
|
Hi,
Found out that your program would be usefull to me to bypass my corporate architecture :
My connection goes trough a tranparent PIX firewall to a proxy on port 80.
I use to HTTP-tunnel, wich work perfectly (and without the need to specify my proxy IP (!))
But I rely on an external server, which is obviously a not so good answer to my problem.
I tried SSH and this is what I get :
********BEGUIN LOG************
----------------------------------------------
S S H P R O X Y
SOCKS Proxy Server -> HTTP SSL tunnel Master
----------------------------------------------
Copyright (c) 1999 D-Bross www.d-bross.com
Free for non-commercial use.
----------------------------------------------
Params : None
Config File : "config.txt"
"config.txt": EnableLog=<yes/no>
"config.txt": SOCKSPort=<PortNumber>
"config.txt": UseSHttpProxy=<yes/no>
"config.txt": SHttpProxyHost=<hostname/IP>
"config.txt": SHttpProxyPort=<PortNumber>
----------------------------------------------
USE of SHTTP Proxy Enabled.
SHTTP Proxy Host : xx.xx.xx.xx
SHTTP Proxy Port : 80
---------------------------------------
Logging : On
---------------------------------------
SOCKS Proxy Port : 1082
---------------------------------------
SOCKS Server Created.
SOCKS Server Started.
SOCKS Server Listen at Port : 1082
Connection from : <localhost/127.0.0.1:3904>
Proxy Created.
Proxy Started.
Accepted SOCKS 5 Request.
SOCKS 5 - Accepts Auth. method 'NO_AUTH'
SOCKS 5 - Accepted SOCKS5 Command: "CONNECT"
Connecting...
Connected to <PROXY/xx.xx.xx.xx:80>
Connected to <PROXY/xx.xx.xx.xx:80>
SOCKS 5 - Reply to Client "SUCCESS"
Initiating SSL Tunneling...
SHTTP Proxy Reply : [HTTP/1.1 502 Proxy Error (... here I get a HTML code stating that ISA server is not configured to allow SSL trough the specified port, and that I should use 443...)
ERROR : java.lang.Exception: Error Response from SHTTP Proxy !
java.lang.Exception: Error Response from SHTTP Proxy !
at socksshttp/CProxy.CreateSSLTunnel
at socksshttp/CProxy.ProcessRelay
at socksshttp/CProxy.run
at java/lang/Thread.run
Proxy Closed.
******END LOG****************
I use port 80, cause port 8080 gives me the <NA/NA ) error (I don't reach the proxy), and asumed that the proxy only listen to port 80 and choose then how to react between HTTP and HTTPS...
I hope I don't have to settle a server on the other side to listen to port 443 and relay to the internet...
Thanks for helping.
|
|
|
|
|
Hi,
I configue the CONFIG.TXT as follows:
# Copyright (c) 2000 Svetoslav Tchekanov (swetoslav@iname.com)
#-------------------------------
EnableLog=yes
#-------------------------------
SOCKSPort=2000
#-------------------------------
UseSHttpProxy=0
SHttpProxyHost=localhost
SHttpProxyPort=2000
And I set the proxy HTTP as "localhost" and its port to 2000 in my IE-Browser.
Now I start the program and I got:
"
D:\Temp\SocksProxyJava>java SSHProxy
----------------------------------------------
S S H P R O X Y
SOCKS Proxy Server -> HTTP SSL tunnel Master
----------------------------------------------
Copyright (c) 1999 by Svetoslav Tchekanov
ICQ #13435454 E-mail : swetoslav@iname.com
----------------------------------------------
Params : None
Config File : "config.txt"
"config.txt": EnableLog=<yes no="">
"config.txt": SOCKSPort=<portnumber>
"config.txt": UseSHttpProxy=<yes no="">
"config.txt": SHttpProxyHost=<hostname ip="">
"config.txt": SHttpProxyPort=<portnumber>
----------------------------------------------
Use of SHTTP Proxy Disabled.
---------------------------------------
Logging : On
---------------------------------------
SOCKS Proxy Port : 2000
---------------------------------------
SOCKS Server Created.
SOCKS Server Listen at Port : 2000
SOCKS Server Started.
"
But as I want to surf our company Web, I got:
"
Error : Invalid SOKCS version : 71
Proxy Closed.
"
What's wrong?
|
|
|
|
|
Now I have the problem, that i down't no Java realy well and how to start the SSHProxy!
1. I unzip the file including sub folders !
2. compile the file SSHProxy.java with javac.exe to SSHProxy.class (also al fils in the subfolder becoming compiled)
3. editing the config.txt
4. ??? starting SSHProxy.class with the command javaw.exe SSHProxy.class ???? This is not working.
Perhaps somebody can explain me point to point what I have to do,
or send me an complete instruction to nils.vandemolen@gmx.net
|
|
|
|