search for: https_proxy_handshake

Displaying 1 result from an estimated 1 matches for "https_proxy_handshake".

2001 Oct 18
1
Patch for SSH-tunneling via HTTPS-proxy
...roxy + * the SSH-handshake code will handle results from the proxy + * + * this nice patch was brought to you by Leif Jakob <openssh at jakob.weite-welt.com>, don't blame me + * if someone is abusing your misconfigured proxies :) but some broken firewalls require this feature + */ +void +https_proxy_handshake(const char *connect_string) +{ + int connection_out = packet_get_connection_out(); + +#define PROXY1 "CONNECT " +#define PROXY3 " HTTP/1.0\r\n\r\n" + + if (atomicio(write, connection_out, PROXY1, sizeof(PROXY1)-1) != sizeof(PROXY1)-1) + fatal("write proxy1: %.100s&quot...