Commit Graph

9 Commits

Author SHA1 Message Date
CPunch b23057b219 Refactoring: reorganized files 2022-09-01 20:00:37 -05:00
CPunch 8092a636ca CNC, Lib, Bot, Shell: New 2nd stage handshake
- New packet, LAIKAPKT_PEER_LOGIN_REQ
- All peers must prove they have access to the sent pubkey by passing a challenge. A salt is now sent on the handshake response packet, which must be encrypted and sent back through the PEER_LOGIN packet
- Protcol minor version incremented to 0.4
2022-06-30 20:19:35 -05:00
CPunch 48fa8935c3 Added .clang-format, formatted codebase 2022-06-27 18:57:00 -05:00
CPunch 0fdca35f87 Shell: minor refactoring, cnc supports mutiple shells per auth clients
- while cnc supports multiple shells per auth client, the LaikaShell still only supports 1 concurrent shell at a time.
	this feature is just preparing boilerplate for future features. shell treats all SHELL_* packets for the same shell, regardless of shellID
2022-05-20 14:10:53 -05:00
CPunch 7d96f3252c Major shell packet refactoring
- can now open multiple shells per peer (change LAIKA_MAX_SHELLS)
- more sanity checking for public keys (new peers with duplicate keys are killed
- misc. refactoring, added cnc/cpeer.[ch]
2022-05-07 20:09:42 -05:00
CPunch e6dbada6ec Handled edgecase of shell peer disconnecting
- minor refactor of shell client, added shellC_isShellOpen()
2022-03-03 10:28:43 -06:00
CPunch 8ab3033bf3 Added 'shell' command to LaikaShell
- another major refactoring
2022-03-02 10:38:16 -06:00
CPunch 8438378560 Major refactoring
lots and lots of changes. too many to list tbh, might rebase this commit later if i get bored enough.
2022-02-28 16:27:55 -06:00
CPunch a442f2f493 Added cnc's panel list, minor refactoring of packets 2022-02-12 18:21:59 -06:00