Socks proxy no Mac OS Yosemite

2

Não consigo descobrir por que meu proxy socks criado com o ssh funciona com o curl, mas não com o Chrome + Mac OS Yosemite.

  • Proxy de meias criado com ssh -D 8080 -p 5432 -i mypubkey.pem my-user@my_server_ip
  • Testado com curl --socks5 localhost:8080 http://www.whatsmyip.net/ |grep "Address is"
  • E com curl --proxy socks://localhost:8080 http://www.whatsmyip.net/ |grep "Address is"

Com o seguinte resultado:

<h1 class="ip">Your <acronym title="Internet Protocol">IP</acronym> Address is <input type="text" value="my_server_ip" /></h1>
<h1 class="ip">Your <acronym title="Internet Protocol">IP</acronym>V6 Address is <input type="text" value="my_server_ip_v6" /></h1>

Mas quando eu configuro no nível do sistema Yosemite com "Proxy SOCKS": localhost:8080 ele não funciona com o Chrome / Firefox / Safari.

Adicionando o -vv para mais detalhes Eu vejo a seguinte pilha ao solicitar com o chrome

debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug2: fd 22 setting TCP_NODELAY
debug1: channel 15: new [dynamic-tcpip]
debug2: channel 15: pre_dynamic: have 0
debug2: channel 15: pre_dynamic: have 3
debug2: channel 15: decode socks5
debug2: channel 15: socks5 auth done
debug2: channel 15: pre_dynamic: need more
debug2: channel 15: pre_dynamic: have 0
debug2: channel 15: pre_dynamic: have 20
debug2: channel 15: decode socks5
debug2: channel 15: socks5 post auth
debug2: channel 15: dynamic request: socks5 host www.google.fr port 443 command 1
debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug2: fd 23 setting TCP_NODELAY
debug1: channel 16: new [dynamic-tcpip]
debug2: channel 16: pre_dynamic: have 0
debug2: channel 16: pre_dynamic: have 3
debug2: channel 16: decode socks5
debug2: channel 16: socks5 auth done
debug2: channel 16: pre_dynamic: need more
debug2: channel 16: pre_dynamic: have 0
debug2: channel 16: pre_dynamic: have 20
debug2: channel 16: decode socks5
debug2: channel 16: socks5 post auth
debug2: channel 16: dynamic request: socks5 host www.google.fr port 443 command 1

Após algumas solicitações, o console está congelado e não consigo ver nenhum outro registro de depuração.

Alguma ideia para resolver este problema?

    
por iwalktheline 02.04.2015 / 17:38

0 respostas