Page 1 of 2

HTTP proxy server support

PostPosted: Tue Dec 11, 2012 7:21 am
by cheshire_mouse
You should add an option to connect to the game through an http proxy server

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 8:45 am
by Procne
Just configure your connection to use proxy.
Also, what do you mean by "HTTP" proxy? AFAIK Salem client communicates with server using TCP(or UDP?) protocol, not HTTP.

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:00 am
by cheshire_mouse
Procne wrote:Just configure your connection to use proxy.

My browser is configured to use proxy, java downloads and starts client with no problem. But when i click "Log in" , client is trying to establish direct connection, without proxy.
Procne wrote:Also, what do you mean by "HTTP" proxy? AFAIK Salem client communicates with server using TCP(or UDP?) protocol, not HTTP.

Lots of programs can use HTTP proxy without using HTTP protocol (jabber or irc clients for example)

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:04 am
by Chiprel
Try configuring your java to use proxy settings then?

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:06 am
by Procne
So, basically you want devs to change the game so that it can use port 80? But even then port might not be enough. Proxies also analyze packet contents, so packets between server and client would have to be valid HTTP packets.

I see no gain from implementing stuff like this, why do you need it?

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:31 am
by cheshire_mouse
Chiprel wrote:Try configuring your java to use proxy settings then?

If you mean "Control panel -> Java -> Network settings", then it's done but doesn't work

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:36 am
by cheshire_mouse
Procne wrote:So, basically you want devs to change the game so that it can use port 80?

No, i want then to add an option "Connect through proxy" and proxy settings (address,port,username,password)
Procne wrote:why do you need it?

In some environments the only way to the internet is through proxy

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:39 am
by Procne
Yes, and usually this proxy is meant to monitor and filter connections. Like to block ports or connections to certain servers.
So if admins of your network block Salem connection then talk to them

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 9:48 am
by cheshire_mouse
negotiations with admins is not the hardest quest

Re: HTTP proxy server support

PostPosted: Tue Dec 11, 2012 3:37 pm
by MagicManICT
cheshire_mouse wrote:negotiations with admins is not the hardest quest


<insert holy grail joke here>

Agreed, but this would be nice to have for those that wish to use it. There's been a few complaints about not being able to connect through a proxy correctly. For OP's information, it is doable, but requires a bit more finagling than just configuring Java's network settings. I don't remember all the details and if one is trying to bypass monitoring through work or during class hours... well, I have no love for the network police, but I'm not going to teach you how to hack through security, legally or otherwise.