Author |
Message |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
Protoman Novice
Age:35 Gender: Joined: Jun 16 2005 Posts: 34 Location: Canada Offline
|
Posted: Sat Sep 23, 2006 10:54 pm Post subject: |
 |
|
|
|
4991 I think |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sun Sep 24, 2006 12:08 am Post subject: |
 |
|
|
|
they listen on 2 ports, 4991 and 4992 i believe. the +1 port allows servers to report their data to the directory server while there base port allows clients to retrieve the data. _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Sun Sep 24, 2006 1:44 am Post subject: |
 |
|
|
|
CypherJF wrote: | they listen on 2 ports, 4991 and 4992 i believe. the +1 port allows servers to report their data to the directory server while there base port allows clients to retrieve the data. |
Actually, the 4991 is the +1'd port for server communication. Continuum connects via UDP port 4990. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Sun Sep 24, 2006 2:10 am Post subject: |
 |
|
|
|
gawd damnit, 3 hours later i figure it's 4990 and not 4991 by going through catid's directory server and mgb beats me to saying it... o well good times. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sun Sep 24, 2006 10:47 am Post subject: |
 |
|
|
|
Ah well I'm sure if you had looked around you would have found the answer quicker. Ya know, +/- 1 aint bad.  |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Thu Sep 28, 2006 4:25 am Post subject: |
 |
|
|
|
ehhh ok try this one... Program works fine with catid's directory server, not with the one sscentral.sscuservers.net is using. The traffic is as follows:
Me -> Directory Server
00 01 00 00 00 00 01 00 // I'm a subspace client connecting without encryption
Directory Server -> Me
00 02 00 00 00 00 // you're in; no encryption ok!
Me -> Directory Server
01 00 00 00 00 // send me the player list, every zone with at least 0 players
Directory Server -> Me
00 03 7b 00 b8 8b e8 d7 8a 61 71 15 da // here's a reliable packet, with packet id 7b 00 b8 8b, and payload d7 8a 61 71 15 da
Me -> Self
wtf's a d7 packet? and why is the packet id 7b 00 b8 8b and not 00 00 00 00?!?
|
with catid's directory server, the reliable packet I get is:
00 03 00 00 00 00 00 0a ... // reliable packet with packet id 00 00 00 00, and payload is the beginning of a really big chunk
|
So... what gives? My only guess is that the other directory server is still using encryption but I thought if the encryption key you get back is all 0's you aren't using encryption. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Thu Sep 28, 2006 6:46 am Post subject: |
 |
|
|
|
got it working... it always encrypts, even if you send it 00 00 00 00. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Sep 28, 2006 5:50 pm Post subject: |
 |
|
|
|
Why would it encrypt using a null key? |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Sep 29, 2006 10:51 am Post subject: |
 |
|
|
|
It would seem something is missing from the code to handle the different types of key. Perhaps because it was ripped and not written, or badly copy/pasted. |
|
Back to top |
|
 |
|