Re: SOCKS proxy vs. HTTP proxy!

2009-02-28 Thread ropers
2009/2/16 Tony Berth tonybe...@googlemail.com: Dear List, what is the functional difference between a SOCKS implemented proxy and a HTTP one? Thanks Tony http://en.wikipedia.org/wiki/SOCKS#Comparison_between_SOCKS_and_HTTP_proxies regards, --ropers

Re: SOCKS proxy

2009-02-17 Thread Tony Berth
Thanks a lot for your help. I was missing that '-o' ssh option. Cheers Tony On Mon, Feb 16, 2009 at 11:30 PM, Pete Vickers p...@systemnet.no wrote: As I put in my initial email, the key is the -o option ProxyCommand http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config and search for

Re: SOCKS proxy

2009-02-16 Thread Tony Berth
The order is the following: A(ssh client) - C(http proxy server) - Internet - B(ssh server with static IP) Now A can't access the Internet. I can only run a browser on that machine which includes the details from C and only then I can surf/have access to the Internet only on ports 80 and 443!

Re: SOCKS proxy

2009-02-16 Thread Pete Vickers
As I put in my initial email, the key is the -o option ProxyCommand http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config and search for it, there is even a similar example included. /Pete On 16 Feb 2009, at 17:28, Tony Berth wrote: The order is the following: A(ssh client) -

Re: SOCKS proxy

2009-02-13 Thread Tony Berth
On Wed, Feb 11, 2009 at 9:16 PM, Diana Eichert deich...@wrench.com wrote: On Wed, 11 Feb 2009, Tony Berth wrote: Hi Diana, this is a 'dumb' proxy and allows http/https traffic only. So ports 80 and 443! What I'm after is the ssh command I have to issue in order to open a connection from

Re: SOCKS proxy

2009-02-13 Thread Pete Vickers
Hi, If your just trying to do an SSH connect via a http proxy, then I do something like this: [p...@air] ~ cat ~/.ssh/pconn.sh #!/bin/bash # pconn.sh LF=$'\015' CMD=CONNECT $1:$2 HTTP/1.0 echo yyy${CMD}yyy 2 (echo $CMD$LF echo cat ) | nc proxy_server_ip_address 8080 | ( while read L [

Re: SOCKS proxy

2009-02-13 Thread Tony Berth
Hi Pete, by http proxy you mean your proxy sitting in your machine where you do the ssh to? In my case I want to include the proxy which allows Internet access sitting on the clients terminal and not in the remore machine. Thanks Tony On Fri, Feb 13, 2009 at 1:31 PM, Pete Vickers

Re: SOCKS proxy

2009-02-13 Thread Pete Vickers
Hmm, I can't grok you problem description, since it's ambiguous. there are serveral devices here: A. ssh client B. ssh server C. http(s) proxy server D. http(s) proxy client (web browser) I thought you mean A+D were one device, C was an interim device, and B was the remote device. Do you

Re: SOCKS proxy

2009-02-13 Thread Diana Eichert
On Fri, 13 Feb 2009, Tony Berth wrote: if I'm reading correctly, ssh -C requests compression of the data and ssh_config LocalCommand specifies a command AFTER I was able to make the connection! Sorry, but I don't understand how this 2 things are related to my problem! The proxy is blocking me

Re: SOCKS proxy

2009-02-13 Thread Stuart Henderson
On 2009-02-13, Pete Vickers p...@systemnet.no wrote: If your just trying to do an SSH connect via a http proxy, then I do something like this: [p...@air] ~ cat ~/.ssh/pconn.sh #!/bin/bash # pconn.sh LF=$'\015' CMD=CONNECT $1:$2 HTTP/1.0 echo yyy${CMD}yyy 2 (echo $CMD$LF echo cat

Re: SOCKS proxy

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 3:17 PM, Diana Eichert deich...@wrench.com wrote: do you know what a2 is? you say it a Firewall with Proxy if it's a application layer gateway (alg) it actually acts as a MITM to forward your connection. On Tue, 10 Feb 2009, Tony Berth wrote: Dear List, I have

Re: SOCKS proxy

2009-02-11 Thread Diana Eichert
On Wed, 11 Feb 2009, Tony Berth wrote: I just realised that my graph wasn't readable so I'll try here to re-draw it: - client [a1] - | | - Firewall Proxy:port [a2] | | (internet) | | - remote server

Re: SOCKS proxy

2009-02-11 Thread Randal L. Schwartz
Diana == Diana Eichert deich...@wrench.com writes: Diana First, I put on my corporate network security hat on. If you're trying Diana to get around corporate policies you're setting yourself up for other Diana problem if they catch you. We find you doing this where I work and Diana ... . And

Re: SOCKS proxy

2009-02-11 Thread Tony Berth
On Wed, Feb 11, 2009 at 3:57 PM, Diana Eichert deich...@wrench.com wrote: On Wed, 11 Feb 2009, Tony Berth wrote: I just realised that my graph wasn't readable so I'll try here to re-draw it: - client [a1] - | | - Firewall Proxy:port

Re: SOCKS proxy

2009-02-11 Thread Diana Eichert
On Wed, 11 Feb 2009, Tony Berth wrote: Hi Diana, this is a 'dumb' proxy and allows http/https traffic only. So ports 80 and 443! What I'm after is the ssh command I have to issue in order to open a connection from 'a1' to 'a3'! If I read correctly, in case I would have used putty on 'a1' I