[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  HTTP tunnelling?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

HTTP tunnelling?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Erikarn   (2 posts)  [Biography] 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!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Erikarn   (2 posts)  [Biography] 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.
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,324 posts)  [Biography] 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
[Go to top] top

Posted by Ixokai   USA  (24 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (21,324 posts)  [Biography] 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
[Go to top] 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.


6,588 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]