Author Topic: IP/TCP stack?  (Read 602 times)

Syzerian

  • Hydlaa Notable
  • *
  • Posts: 544
    • View Profile
IP/TCP stack?
« on: January 09, 2005, 11:39:48 pm »
Well I was searching on google for some possible answers to my problem and I came across an interesting forum article. There was a person with the same problem as me (can connect to most things but get disconnected after a few minutes) and none of the peoples answers helped him or me but it was the last post that interested me.
Quote
Well the only thing I can think of that may be the problem is a bad TCP/IP stack. Dont ask me how to fix this however since I have no idea.

That post was dated 3 november 2002 :(

So this could be the answer to my problem all along and was wondering if anyone would know how to check for a bad TCP/IP stack and fix it.

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #1 on: January 10, 2005, 02:22:55 am »
Where is your problem description located?
Anyway, PS is using UDP, not TCP, but they\'ll be in the same stack anyway, just so you don\'t look for the wrong thing. I\'m going to refer to it as \"IP stack\" from now on.
The IP stack will be installed with the first network stuff. What OS are you using, anyway?

AFAICS, the only way of checking the IP stack of your machine is to try a different OS on this machine, or a different machine, all with the exact same settings.
Alternatively, you can use a protocol analyzer on the net connection, which, however, requires some knowledge on the protocols.
Also, you could write a program that uses the stack extensively so you can see if it fails on that machine and how.

Furthermore, you could run the PS server on another machine in your network and try if you can work with it. If it works, then the stack is OK and your problem lies elsewhere. Using the local machine would also be possible (localhost), though it will not show issues that come with packet loss or latency, so it may fail to show a problem.
If the local network passes, then you can slow it down by causing heavy traffic to the client and server machines.
If all of that works, your stack most likely is OK. If not, there might be a problem, but I\'d look for it in the driver for the network card or modem / whatever you\'re having, or maybe the hardware itself, since the only way of the stack being broken but somehow working would be to mangle the libraries somehow, without destroying them. Current OSes should have working stacks, since UDP/IP has been arounf for ages.
« Last Edit: January 10, 2005, 02:24:08 am by Seytra »

Syzerian

  • Hydlaa Notable
  • *
  • Posts: 544
    • View Profile
(No subject)
« Reply #2 on: January 10, 2005, 02:36:04 am »
Im using windows xp pro and planeshift has the same problem on my laptop aswell. Ok from what you have told me I am sure the IP stack is the problem but how can I fix it?
EDIT: my problem is here http://www.planeshift3d.com/wbboard/thread.php?threadid=12131&boardid=33&sid=0c443ea7a55b8bcafe4709ab56d37951
« Last Edit: January 10, 2005, 02:39:24 am by Syzerian »

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #3 on: January 10, 2005, 03:07:51 am »
Hmm, the fact that your laptop has the same problem actually makes me think that the stack itself isn\'t the problem, except you copied it over.

As you\'re having a router, it seems it blocks UDP traffic in one way or another. So you can try port forwarding. However, I most likely don\'t kow your routers way to configure this, so you\'d need to figure this out on your own.

The objective is to not just open UDP port 7354 to both inbound and outbound connections, but also to forward any inbound traffic to these ports to the machine you\'re running PS on.
Obviously, this machine also needs to also allow inbound and outbound access to this port, and also allow the planeshift client to actually send and receive packets.

There is no need for the DMZ setting, that\'s what port forwarding is for. The DMZ really just is for servers that need to be accessed from the internet.