-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b50
-
generic
-
generic
The new feture of creating ServerSockets and Sockets by passing a proxy argument does not work when the server and client are behind different socks proxy servers.
While testing, the socks proxy servers that were used were reference proxies downloaded from www.socks.nec.com. The setup requires giving full permissions to the socks proxy.
STEPS TO REPRODUCE THE PROBLEM:
1. Copy the attached files to the same directory.
2. Compile the java file using source 1.5
3. Setup two different socks proxy servers. The test used proxy servers downloaded from www.socks.net.com. The proxy servers require full permission (see the attached socks5.conf file. Copy the socks5.conf file to the /etc directory to do this)
4. Edit the proxy.properties file and replace the exisiting proxy servers with the ones that you have setup. For the time being the proxy servers mentioned in the properties file are running but may be brought down in the future.
5. Run the compiled code. The code throws an exception.
CURRENT BEHAVIOUR:
The tests throw an exception :
java.net.SocketException: SOCKS: Accept not allowed by ruleset
EXPECTED BEHAVIOUR:
The tests should pass successfully.
While testing, the socks proxy servers that were used were reference proxies downloaded from www.socks.nec.com. The setup requires giving full permissions to the socks proxy.
STEPS TO REPRODUCE THE PROBLEM:
1. Copy the attached files to the same directory.
2. Compile the java file using source 1.5
3. Setup two different socks proxy servers. The test used proxy servers downloaded from www.socks.net.com. The proxy servers require full permission (see the attached socks5.conf file. Copy the socks5.conf file to the /etc directory to do this)
4. Edit the proxy.properties file and replace the exisiting proxy servers with the ones that you have setup. For the time being the proxy servers mentioned in the properties file are running but may be brought down in the future.
5. Run the compiled code. The code throws an exception.
CURRENT BEHAVIOUR:
The tests throw an exception :
java.net.SocketException: SOCKS: Accept not allowed by ruleset
EXPECTED BEHAVIOUR:
The tests should pass successfully.
- relates to
-
JDK-4935055 ServerSocket(Proxy) semantics is unclear
- Closed