Author Topic: SOCKS or HTTP ports?(Your-Freedom)  (Read 1252 times)

Isxynous

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
SOCKS or HTTP ports?(Your-Freedom)
« on: May 20, 2005, 02:51:46 pm »
Hello,
because I had some ports disabled from my ISP, I try to get to the game through a proxy... Could you give me some info about the game server?
Also, I\'m using YOUR-FREEDOM proxy so if anyone has configured it with Planeshift I would be grateful to know how...
Thanks

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #1 on: May 20, 2005, 05:10:01 pm »
Why on Earth would your ISP be blocking any ports?

For the updater you\'ll need a standard HTTP proxy.
For the game, you\'ll need to get to ports 7354 and 13331 at IP 203.81.47.91.  (both TCP and bidirectional UDP)

Here\'s a link to another thread where I outlined the file configuration for proxying:
http://www.planeshift3d.com/wbboard/thread.php?threadid=16623&boardid=17

It looks like your proxy server will be \"localhost\" with port 1080 (SOCKS) for everything.  You\'ll have to screw with whatever weird program the proxy/anonymizer company gave you.  (The site says it\'s \"ProxyCap\")  Take a look at the \"Your Freedom\" site for more info.

This is about all the info I can give you.

::  PlaneShift Team Programmer  ::

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #2 on: May 20, 2005, 06:49:06 pm »
Quote
Originally posted by DaveG
Why on Earth would your ISP be blocking any ports?

Because some port ranges are commonly used by trojans and other malware, and some also don\'t like servers on their dialup lines, so they block commonly used ports in that direction. Also, some are blocking / throttling the default ports of filesharing software to prevent the users from utilising the full available bandwidth (since that would reduce the ISPs income margin: they have to pay for traffic leaving their network; that\'s why you usually only get 1/4 upload/download speed ratio for DSL). Also, public ISPs, company and school networks are likely to block gaming ports because they don\'t want their networks used for that.
Quote
Originally posted by DaveG
For the updater you\'ll need a standard HTTP proxy.
For the game, you\'ll need to get to ports 7354 and 13331 at IP 203.81.47.91.  (both TCP and bidirectional UDP)

AFAIK, it is only UDP, and also only port 7354. Port 13331 was used for MB, and IIRC for running the server locally, probably to be able to run a test server on the same machine as the main server or something like that.
The updater indeed uses TCP on port 80, just like a browser, so there shouldn\'t have to be any configuration required for that if you can browse the net.
Quote
Originally posted by DaveG
It looks like your proxy server will be \"localhost\" with port 1080 (SOCKS) for everything.  You\'ll have to screw with whatever weird program the proxy/anonymizer company gave you.  (The site says it\'s \"ProxyCap\")  Take a look at the \"Your Freedom\" site for more info.

Ay1) the proxy server is configurable on a per-user basis, and allows specific ports to be forwarded to specific endpoints. In that case, you need to point the PS client to whatever port you chose on the proxy, and the proxy to the PS server. This would be a relay, not a tunnel.
2) there is a local software proxy that tunnels to a remote proxy. In this case, you need to point your PS client to \"localhost\" at the default port, and instruct the local / remote proxy to relay traffic on that port to the official PS server.
3) the proxying software is \"transparent\", which means that you only set \"localhost\" (or maybe an artificial IP) as default gateway. No other configuration should be necessary in that case.

Basically you need to find out which it is, and maybe tweak it.
If it is a SOCKS proxy, things will probably be harder, since the PS software doesn\'t include SOCKS authentication AFAIK. You might need an extra program (\"socksify\" was one once upon a time, IIRC) to do that for you, which might or might not work.

In any case, a HTTP proxy will not do, simply because HTTP uses TCP, not UDP.

Isxynous

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #3 on: May 20, 2005, 10:18:39 pm »
Thank you both, Seytra and DaveG. I have configured it to play with the proxy.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #4 on: May 21, 2005, 12:57:28 pm »
Seytra, thanks about 13331.  In my attempts to get proxying to work, the setup I listed previously was what finally worked.  (based on advice from other forum posters)  It seems though, 13331 was not being used.  I was probably being given old info on MB, as you suggested.

About 7354, I don\'t see any TCP traffic.  Does PS ever use TCP on this port?

PS
Where did that smiley come from?...

::  PlaneShift Team Programmer  ::

garlando

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #5 on: November 11, 2005, 11:33:47 pm »
Would it be possible for you to post the details of the config that you are using on here so that the rest of us can play :)

(Please)

Llyando Autora
Llyando Autora

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #6 on: November 12, 2005, 08:28:07 am »
Wow... um... you resurected an ancient thread.  :P

PlaneShift now uses port 7777 with bidirectional UDP.
The updater still just needs HTTP.

::  PlaneShift Team Programmer  ::

ramlambmoo

  • Hydlaa Notable
  • *
  • Posts: 567
    • View Profile
(No subject)
« Reply #7 on: November 12, 2005, 12:32:03 pm »
Quote
Wow... um... you resurected an ancient thread.


Well aren\'t newbies always encouraged to search instead of just start another new thread?  You shouldnt really criticise someone for doing that.

And now an attempt to stay on topic:

Quote
Why on Earth would your ISP be blocking any ports?


Like has been said, to stop certain activities.  E.G an ISP might block port 31337 because that port is used by the Back Orifice trojan (amongst others).