Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Continuum client encryption

 
Post new topic   Reply to topic Printable version
 View previous topic  Connecting to mysql Post :: Post Problem compiling module  View next topic  
Author Message
kzar
Newbie


Joined: Jun 18 2006
Posts: 3
Offline

PostPosted: Sun Jun 18, 2006 1:10 pm    Post subject: Continuum client encryption Reply to topic Reply with quote

Hi, sorry if this is a commonly asked question but I couldn't find out by searching. I have been reading about continuum and asss and subspace and pritik etc recently and if I understand right at the moment all that protects subspace from cheaters is the encryption in continuum which is hidden behind some clever anti debugger tricks. My question is, if continuum connects to asss then surely asss must use the same encryption, but asss is opensource so how is the encryption protected? Thanks
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Jun 18, 2006 2:05 pm    Post subject: Reply to topic Reply with quote

The encryption routines are closed-source libraries which are built/compiled by grelminar and distributed in the distribution.

I, personally, have wondered how long it'd take someone to use reflection to utilize these libraries in their own applications.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
kzar
Newbie


Joined: Jun 18 2006
Posts: 3
Offline

PostPosted: Sun Jun 18, 2006 2:36 pm    Post subject: Reply to topic Reply with quote

Thanks for the reply. Sorry if it sounds stupid but what do you meen by

"to use reflection to utilize these libraries in their own applications."

do you meen look at how asss uses the library and then use them in your own in the same way?

Thanks
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Jun 18, 2006 3:41 pm    Post subject: Reply to topic Reply with quote

CypherJF wrote:
I, personally, have wondered how long it'd take someone to use reflection to utilize these libraries in their own applications.


That'd only work if they wanted to run a server.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Jun 18, 2006 3:53 pm    Post subject: Reply to topic Reply with quote

Eh, I'm sure there are people out there willing to give it a shot. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
kzar
Newbie


Joined: Jun 18 2006
Posts: 3
Offline

PostPosted: Sun Jun 18, 2006 3:57 pm    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
[..]



That'd only work if they wanted to run a server.


Is that because the encryption used to send packets from the client is different from the encryption used to send packets from the server?

Edit:

Also I am curious, why do the encrypt and decrypt functions need a player structure?

int (*Encrypt)(Player *p, byte *pkt, int len);

Also I understand that this is a function that returns an integer and take a player structure pointer, a pointer to the packet and its length but I dont understand what the (*Encrypt) bit meens. Could you tell me what it does?

Thanks
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Jun 18, 2006 5:41 pm    Post subject: Reply to topic Reply with quote

kzar wrote:
Is that because the encryption used to send packets from the client is different from the encryption used to send packets from the server?


Yes, but with enough access to the code, someone could engineer a working client side encryption, so it needs to remain obscure.

kzar wrote:
Also I am curious, why do the encrypt and decrypt functions need a player structure?


I don't know off the top of my head, but it's probably a boring reason.

kzar wrote:
int (*Encrypt)(Player *p, byte *pkt, int len);

Also I understand that this is a function that returns an integer and take a player structure pointer, a pointer to the packet and its length but I dont understand what the (*Encrypt) bit meens. Could you tell me what it does?


That's a function pointer. C structs don't have methods like C++ does, so the solution is to put a pointer to the function inside the struct.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Mon Jun 19, 2006 7:14 am    Post subject: Reply to topic Reply with quote

If you want each player to use a different key for encryption, you need to know which player you are dealing with. So the player is given to you when you encrypt/decrypt.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 66 page(s) served in previous 5 minutes.

phpBB Created this page in 0.465212 seconds : 32 queries executed (93.9%): GZIP compression disabled