rec.autos.simulators

Cassidy! GPL: Time-outs, protocols and ports

Asgeir Nesoe

Cassidy! GPL: Time-outs, protocols and ports

by Asgeir Nesoe » Sat, 02 Jun 2001 23:35:09

I have two GPL servers sitting on a university network in Oslo (with
enormous amounts of bandwidth available), and I have had ensuing
problems with clients getting time-outs when connecting.

A few facts:
Computer 1 (1.Vege): Dell Dimension Precision 220 PIII 700Mhz
Computer 2 (2.Vege): Dell Optiplex GX1 PII 350 Mhz

How a client and server communicate:
1) The client sends UDP: "I am a Papyrus client" to port 32766 on server

2) The server answers, UDP "I am a Papyrus server" to port 32767 on
client with the assigned port number for the client to use
3) The client sends UDP: "I am a Papy client" to the newly assigned port
on the server, in this case 32778
4) The server responds, UDP "I am a Papy server" to port 32767, coming
from server port 32778
5) Then info on passwords, tracks and things like that is passed back
and forth between the client port (32766) and the designated client's
port on the server (32778 in this case) and connection is established

When I get time-outs, the server fails to send a new handshaking packet
from the newly assigned port, it just continues to send from the old
port (32766). After 10 tries, the client gets a "destination
unreachable". After 5 seconds of this, the client says: Time-out and
blah-blah...

It seems like the server doesn't open the port that it designated for
the client in question, and I would desperately like to know why. Is
there any setting in Windows that stops too many UDP ports to be opened
at one time? Is there any reason for the server NOT to accept the UDP
packets coming in on the designated port? I mean, the server sends out
the new port on which the client is supposed to send packets too, but
this port is closed. I would guess that the UDP port in question simply
is closed both ways.

Anyone got any idea? Randy Cassidy, for instance? Is there any way I can
make the connecting process to work smoothly? Time-out values?What
reasons can there be for the server not being able to receive
UDP-packets on the port it recently designated? How much time does a
window app need to readying reading on a new UDP port?

I'd love to find out why, because this problem has ***ed me for so
long now, and I'd love to exploit my huge connection to the benefit of
the GPL society...  Now, if mr. Cassidy was here.... :-)

---Asgeir---

Observations:
The ping rates are very low, and no errors (but this is ICMP based, so
it is a different story, I know), irrespective of any server load
Once the clients get in (after sometimes inumberable failed attempts),
the connection is *very* good, and totally glitch free
Sometimes, I get in without a hitch, other times, I need to try 30
times, and I am on dial-up inside the university network...
Computer speed makes NO difference in the amounts of timeouts
Different OS's make no difference (95, 98)
Different netcards make no difference
There is no limiting or admission checking of UDP packets on the
university network

Steve Garrot

Cassidy! GPL: Time-outs, protocols and ports

by Steve Garrot » Tue, 05 Jun 2001 22:42:09

Just so you know I am also noticing this behavior, when trying to
change the port numbers from that which GPL or VROC wnat to use, it
ignores those settings and tries to connect with the defaults.

I have three servers running at my University with no problems, it is
when I try to place them behind the firewall that problems arise.

SLG


>I have two GPL servers sitting on a university network in Oslo (with
>enormous amounts of bandwidth available), and I have had ensuing
>problems with clients getting time-outs when connecting.

>A few facts:
>Computer 1 (1.Vege): Dell Dimension Precision 220 PIII 700Mhz
>Computer 2 (2.Vege): Dell Optiplex GX1 PII 350 Mhz

>How a client and server communicate:
>1) The client sends UDP: "I am a Papyrus client" to port 32766 on server

>2) The server answers, UDP "I am a Papyrus server" to port 32767 on
>client with the assigned port number for the client to use
>3) The client sends UDP: "I am a Papy client" to the newly assigned port
>on the server, in this case 32778
>4) The server responds, UDP "I am a Papy server" to port 32767, coming
>from server port 32778
>5) Then info on passwords, tracks and things like that is passed back
>and forth between the client port (32766) and the designated client's
>port on the server (32778 in this case) and connection is established

>When I get time-outs, the server fails to send a new handshaking packet
>from the newly assigned port, it just continues to send from the old
>port (32766). After 10 tries, the client gets a "destination
>unreachable". After 5 seconds of this, the client says: Time-out and
>blah-blah...

>It seems like the server doesn't open the port that it designated for
>the client in question, and I would desperately like to know why. Is
>there any setting in Windows that stops too many UDP ports to be opened
>at one time? Is there any reason for the server NOT to accept the UDP
>packets coming in on the designated port? I mean, the server sends out
>the new port on which the client is supposed to send packets too, but
>this port is closed. I would guess that the UDP port in question simply
>is closed both ways.

>Anyone got any idea? Randy Cassidy, for instance? Is there any way I can
>make the connecting process to work smoothly? Time-out values?What
>reasons can there be for the server not being able to receive
>UDP-packets on the port it recently designated? How much time does a
>window app need to readying reading on a new UDP port?

>I'd love to find out why, because this problem has ***ed me for so
>long now, and I'd love to exploit my huge connection to the benefit of
>the GPL society...  Now, if mr. Cassidy was here.... :-)

>---Asgeir---

>Observations:
>The ping rates are very low, and no errors (but this is ICMP based, so
>it is a different story, I know), irrespective of any server load
>Once the clients get in (after sometimes inumberable failed attempts),
>the connection is *very* good, and totally glitch free
>Sometimes, I get in without a hitch, other times, I need to try 30
>times, and I am on dial-up inside the university network...
>Computer speed makes NO difference in the amounts of timeouts
>Different OS's make no difference (95, 98)
>Different netcards make no difference
>There is no limiting or admission checking of UDP packets on the
>university network

(All spelling errors are intentional and are there to show new
and improved ways of spelling old words. Grammatical errors are
due to too many English classes/teachers)
Randy Cassid

Cassidy! GPL: Time-outs, protocols and ports

by Randy Cassid » Wed, 06 Jun 2001 06:48:35

I've only seen this occasionally (never on a reproducible basis), so there
could be something else going on, but this type of thing can be triggered by
a bug in our code.  I found/fixed it while working on N4.  I don't recall
the particulars, but it was some timing related, state transition thing
where one end was still expecting those ID strings when the other end had
stopped sending them (or some such).  I can't think of any sure way to work
around it.  You could maybe try changing the
client_send_every/server_send_every settings so that the server is sending
more often than the client, or vice versa.  2 and 3 are the only useful
values outside of a really small LAN (where 1 might also work).

Randy


university network in Oslo (with

Jan Verschuere

Cassidy! GPL: Time-outs, protocols and ports

by Jan Verschuere » Wed, 06 Jun 2001 09:50:51

Well Randy,

From my experience, the problem is eeriely repeatable with this set of
servers. The infuriating bit is it doesn't effect everybody equally
(sometimes I can connect whenever and last night it took me 40 tries) and
some servers (Eldred's for example) don't seem to suffer at all.

This had us thinking there was an external factor we might influence. Would
be helpfull if you'd refresh your memory on this one.

Jan.
=---

Steve Garrot

Cassidy! GPL: Time-outs, protocols and ports

by Steve Garrot » Wed, 06 Jun 2001 22:01:38

I wonder if OS has some cause? I am using Win98 for all of my GPL
servers. What is everyone else using? Also using DX8.0

SLG


>Well Randy,

>From my experience, the problem is eeriely repeatable with this set of
>servers. The infuriating bit is it doesn't effect everybody equally
>(sometimes I can connect whenever and last night it took me 40 tries) and
>some servers (Eldred's for example) don't seem to suffer at all.

>This had us thinking there was an external factor we might influence. Would
>be helpfull if you'd refresh your memory on this one.

>Jan.
>=---
>Randy Cassidy wrote...
>> I've only seen this occasionally (never on a reproducible basis),
>> so there could be something else going on, but this type of thing
>> can be triggered by a bug in our code.  I found/fixed it while
>> working on N4.  I don't recall the particulars, but it was some
>> timing related, state transition thing where one end was still
>> expecting those ID strings when the other end had stopped sending
>> them (or some such).  I can't think of any sure way to work around
>> it.  You could maybe try changing the client_send_every/server_send
>> _every settings so that the server is sending more often than the
>> client, or vice versa.  2 and 3 are the only useful values outside
>> of a really small LAN (where 1 might also work).

>> Randy

(All spelling errors are intentional and are there to show new
and improved ways of spelling old words. Grammatical errors are
due to too many English classes/teachers)
Eldre

Cassidy! GPL: Time-outs, protocols and ports

by Eldre » Thu, 07 Jun 2001 03:41:37


Win98se on 2 of them, Win2K on the 3rd.  Not using DX8 on any of them, and
WON'T, either.  I wanted to load N4 as a server, and accidentally let it load
DX8.  It totally trashed my system - I had to re-format.  
<insert Marvin the Martian voice>
That made me *very* angry...

Eldred
--
Dale Earnhardt, Sr. R.I.P. 1951-2001
Homepage - http://www.umich.edu/~epickett
F1 hcp. +24.63...F2 +151.26...

Never argue with an idiot.  He brings you down to his level, then beats you
with experience...
Remove SPAM-OFF to reply.

Eldre

Cassidy! GPL: Time-outs, protocols and ports

by Eldre » Thu, 07 Jun 2001 03:41:38



>Well Randy,

>From my experience, the problem is eeriely repeatable with this set of
>servers. The infuriating bit is it doesn't effect everybody equally
>(sometimes I can connect whenever and last night it took me 40 tries) and
>some servers (Eldred's for example) don't seem to suffer at all.

Huh?  Sorry, I hadn't been paying attention until I saw my name.  I don't know
what the client/send stuff is set at - I'll have to check.

Eldred
--
Dale Earnhardt, Sr. R.I.P. 1951-2001
Homepage - http://www.umich.edu/~epickett
F1 hcp. +24.63...F2 +151.26...

Never argue with an idiot.  He brings you down to his level, then beats you
with experience...
Remove SPAM-OFF to reply.

Thom j

Cassidy! GPL: Time-outs, protocols and ports

by Thom j » Thu, 07 Jun 2001 08:04:17

Ok Eldred, I'll bite.. What is this "Marvin the Martian voice" thingy?

| <insert Marvin the Martian voice>
| That made me *very* angry...
| Eldred

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001

Rob Adam

Cassidy! GPL: Time-outs, protocols and ports

by Rob Adam » Thu, 07 Jun 2001 08:21:49

Yet another post that makes me feel old...

> Ok Eldred, I'll bite.. What is this "Marvin the Martian voice" thingy?


> | <insert Marvin the Martian voice>
> | That made me *very* angry...
> | Eldred

> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001

Jan Verschuere

Cassidy! GPL: Time-outs, protocols and ports

by Jan Verschuere » Thu, 07 Jun 2001 08:51:24

C'mon Thom, you've just got to know Marvin the Martian?! From the Bugs Bunny
cartoons?? -"I am going to blow up the Earth." ??

Ring a bell yet? -Doesn't anybody on RAS watch cartoons?

Jan.
=---
"Pay attention when I'm talking to you boy!" -Foghorn Leghorn.

<snip>

Thom j

Cassidy! GPL: Time-outs, protocols and ports

by Thom j » Thu, 07 Jun 2001 11:26:33

"O" ok! Sorry. I'm a bit brain dead today {or any other day to be honest!}
Eldred just thru me when he was so upset about getting his voice back..lol
Anyway thanx for ringing my bell... <G> Cheers Thom_j.


| C'mon Thom, you've just got to know Marvin the Martian?! From the Bugs
Bunny
| cartoons?? -"I am going to blow up the Earth." ??
|
| Ring a bell yet? -Doesn't anybody on RAS watch cartoons?
|
| Jan.
| =---

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001

David Ewin

Cassidy! GPL: Time-outs, protocols and ports

by David Ewin » Fri, 08 Jun 2001 03:05:15


> C'mon Thom, you've just got to know Marvin the Martian?! From the Bugs Bunny
> cartoons?? -"I am going to blow up the Earth." ??

> Ring a bell yet? -Doesn't anybody on RAS watch cartoons?

You bet ... I even have a Marvin the Martian headcover for my driver (we're
talking golf clubs here).  My cable TV company just added the Cartoon Network,
which my kids are watching constantly.  I saw Marvin just yesterday, in fact.

Dave Ewing

--
*****************************************************
David A. Ewing

*****************************************************

DB

Cassidy! GPL: Time-outs, protocols and ports

by DB » Fri, 08 Jun 2001 03:45:13

C'mon Jan,  Most of us have better things to do than get lost in some
make believe cartoon world, Now excuse me while I go run a few laps
at Monza.

DaveB, :)



> > C'mon Thom, you've just got to know Marvin the Martian?! From the Bugs
Bunny
> > cartoons?? -"I am going to blow up the Earth." ??

> > Ring a bell yet? -Doesn't anybody on RAS watch cartoons?

> You bet ... I even have a Marvin the Martian headcover for my driver
(we're
> talking golf clubs here).  My cable TV company just added the Cartoon
Network,
> which my kids are watching constantly.  I saw Marvin just yesterday, in
fact.

> Dave Ewing

> --
> *****************************************************
> David A. Ewing

> *****************************************************

Thom j

Cassidy! GPL: Time-outs, protocols and ports

by Thom j » Fri, 08 Jun 2001 09:20:36

Hey Devid E,
There is a great idea for my players pic! Me or a cartoon of
me with a "Marvin the Martian" helmet! I could eveb take a
pic of the tv from the "Cartoon Network" & doctor it up as
my own personal player pic.. Thanx for the idea!! Thom_j.

| You bet ... I even have a Marvin the Martian headcover for my driver
(we're
| talking golf clubs here).  My cable TV company just added the Cartoon
Network,
| which my kids are watching constantly.  I saw Marvin just yesterday, in
fact.
| Dave Ewing

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.259 / Virus Database: 130 - Release Date: 6/5/2001

Eldre

Cassidy! GPL: Time-outs, protocols and ports

by Eldre » Fri, 08 Jun 2001 09:32:53



>Ok Eldred, I'll bite.. What is this "Marvin the Martian voice" thingy?


>| <insert Marvin the Martian voice>
>| That made me *very* angry...
>| Eldred

Fer cryin' out LOUD, Thom!  How old ARE you?<g>
Warner Bros. cartoons, man - CLASSICS!  Cartoon Network had a Bugs Bunny
marathon this past weekend.  I probably recorded 90% of it....

Eldred
--
Dale Earnhardt, Sr. R.I.P. 1951-2001
Homepage - http://www.umich.edu/~epickett
F1 hcp. +24.63...F2 +151.26...

Never argue with an idiot.  He brings you down to his level, then beats you
with experience...
Remove SPAM-OFF to reply.


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.