Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ HTTP tunnelling?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Erikarn
(2 posts) Bio
|
Date
| Tue 20 Jul 2004 09:26 AM (UTC) |
Message
| Hi there,
I have a few friends who are stuck behind reasonably restrictive university firewalls. The only way I can get them out is via tunneling telnet through HTTP CONNECT.
Would it be possible to support this kind of thing as a tunneling option under mushclient? All you'd need is a proxy server and a port number - you can then use HTTP CONNECT to connect to their specified host and port. After the initial connection (and HTTP status reply) the socket will just look like a normal telnet connection.
Thanks!
| Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #1 on Fri 23 Jul 2004 08:51 AM (UTC) |
Message
| I don't know exactly how tunneling works, but since MUclient already supports proxies, couldn't you connect to the proxy and use the HTTP CONNECT command when you first log on? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #2 on Fri 23 Jul 2004 09:27 AM (UTC) Amended on Fri 23 Jul 2004 09:29 AM (UTC) by Flannel
|
Message
| Thats what I initially thought, but I THINK an HTTP proxy wouldnt be compatible with a SOCKS (4 or 5) proxy, which is what MC has support for. Or at least, my two google searches, and subsequent couple pages didnt lead me to strongly support it. But I didnt find any definitive "no" either. Wasnt really looking too dilligently though.
Was hoping Nick would chime in with a definitive answer.
However, Erikarn, you CAN use a socks proxy, if the Uni allows that. Or rather, doesnt disallow it, through oversight or whatnot. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Erikarn
(2 posts) Bio
|
Date
| Reply #3 on Sun 25 Jul 2004 06:17 AM (UTC) |
Message
| I asked about a HTTP proxy to tunnel through because they specifically disallow (a) nat, and (b) SOCKS.
So it'd be something that would have to be added to the client.
I've been searching for windows software which would let me tunnel an IP/port through a HTTP proxy (ie, binds to a local port, then tunnels any connections to that through a HTTP proxy to a remote IP/port) but so far nothing useful has turned up.
| Top |
|
Posted by
| Meerclar
USA (733 posts) Bio
|
Date
| Reply #4 on Sun 25 Jul 2004 06:34 AM (UTC) |
Message
| Considered connecting via ssh? |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | Top |
|
Posted by
| Nick Gammon
Australia (23,131 posts) Bio
Forum Administrator |
Date
| Reply #5 on Sun 25 Jul 2004 09:52 PM (UTC) |
Message
| I'm not sure an HTTP proxy will necessarily help. I think there were earlier messages about this on the forum, try searching.
I think the problem is that HTTP tends to be stateless. ie. when you request a web page it is like this:
1. Make connection to server
2. Send GET (page) eg. GET /blah/index.html
3. Receive response (web page)
4. Drop connection (server drops connection)
Now if the proxy server they have set up (and they will probably have one) does that, then you would only get one line through the MUD before the proxy server dropped the connection.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Ixokai
USA (24 posts) Bio
|
Date
| Reply #6 on Wed 28 Jul 2004 06:54 PM (UTC) |
Message
| HTTP tends to be stateless-- but it doesn't have to be. You can have a keepalive connection even with normal webpages, but HTTP-Connect, if I have my information correct, isn't a webpage at all and is, by definition, a long running connection.
When you issue the CONNECT command to the server, it makes a connection, returns a header, then just streams the socket information back and forth, maintaining the connection the whole time.
I believe. | Top |
|
Posted by
| Nick Gammon
Australia (23,131 posts) Bio
Forum Administrator |
Date
| Reply #7 on Wed 28 Jul 2004 10:17 PM (UTC) |
Message
| Can't you push out the CONNECT <blah> sequence from MUSHclient in the "on connect" box to establish the connection? Or does it need to interpret HTTP headers? I would have thought there was a stand-alone program you can use as an intermediary, in the same way you can use a separate program for SSH connections. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
23,308 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top