FelisCatus / switchy

Automatically exported from code.google.com/p/switchy
9 stars 3 forks source link

socks5 is using socks4 #174

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a profile using socks 5
2. look at packets through tunnelier
3. see socks4 connections instead of socks 5

What is the expected output?
socks5

What do you see instead?
socks4

Operating system:
All | Windows | Mac | Linux
Windows

Error Log:
copy it from "chrome-
extension://caehdcpeofiiigpdhbabniblemipncjj/console.html"

Please provide any additional information below. Attach a screenshot if
possible.

Original issue reported on code.google.com by shaina.r...@gmail.com on 7 Jun 2010 at 6:04

GoogleCodeExporter commented 9 years ago
Hi, I meet the same problem :(
my platform: 
Windows 7 Ultimate
Chrome 15.0.865.0 dev-m
Proxy Switchy!  1.6.3

I create proxy profile which manual configured as SOCKS Host 127.0.0.1:7070 and 
use SOCKS v5,BUT the Bitvise Tunnelier log shows it use the SOCKS v4.
PS: It's OK until I reinstalled my OS two days ago, and the Tunnelier always 
works well with FireFox6.0+AutoProxy.
*******Switch! Log*******
[11:01:53] [info] - Extension Info: v1.6.3
[11:01:53] [info] - Browser Info: 5.0 (Windows NT 6.1) AppleWebKit/535.2 
(KHTML, like Gecko) Chrome/15.0.865.0 Safari/535.2
[11:01:53] [success] - Everything is OK

*******Bitvise Tunnelier Log*******
10:59:04.010 Closing SOCKS4 connection from 127.0.0.1:50758, sent: 0, received: 
0.
10:59:04.010 Closing SOCKS4 connection from 127.0.0.1:50759, sent: 0, received: 
0.
10:59:04.051 SOCKS4 connection from 127.0.0.1:50758 failed: Client connection 
closed before completion of protocol.
10:59:04.051 SOCKS4 connection from 127.0.0.1:50759 failed: Client connection 
closed before completion of protocol.

*******Additional Info*******
The content of SwitchySocks.pac under folder 
"%USERPROFILE%\AppdataLocal\Google\Chrome\User 
Data\Default\Extensions\caehdcpeofiiigpdhbabniblemipncjj" is:
function regExpMatch(url, pattern) {
    try { return new RegExp(pattern).test(url); } catch(ex) { return false; }
}

function FindProxyForURL(url, host) {
    return 'SOCKS5 127.0.0.1:7070';
}

Original comment by mak...@gmail.com on 4 Sep 2011 at 3:18

GoogleCodeExporter commented 9 years ago
Same issue : https://code.google.com/p/chromium/issues/detail?id=138519

Original comment by yoh...@lepage.info on 23 Jul 2012 at 9:41