0c2d4968d9 
					 
					
						
						
							
							Refactored LAIKAPKT_HANDSHAKE_REQ, laikaS_acceptFrom  
						
						 
						
						... 
						
						
						
						- added inet member to peer structs 
						
						
					 
					
						2022-03-04 20:17:03 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5c31fb861b 
					 
					
						
						
							
							Added LAIKAPKT_SHELL_*, fixed variadic packets  
						
						 
						
						... 
						
						
						
						- added bot/shell.[ch]
- simple demo cnc which runs 'ls -a' on the connect peer 
						
						
					 
					
						2022-02-21 17:25:49 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						02c3176bc4 
					 
					
						
						
							
							Added laikaS_startVarPacket() & laikaS_endVarPacket()  
						
						 
						
						
						
						
					 
					
						2022-02-18 19:32:16 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9a15ce1463 
					 
					
						
						
							
							Re-added variadic packets  
						
						 
						
						... 
						
						
						
						- minor refacotring 
						
						
					 
					
						2022-02-16 17:58:07 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c21be8dfee 
					 
					
						
						
							
							Added hostname, ip info to handshake  
						
						 
						
						... 
						
						
						
						- Panel now lists bots by hostname & ip instead of public key 
						
						
					 
					
						2022-02-15 16:57:21 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e7265ad15b 
					 
					
						
						
							
							Added laikaP_pushOutQueue, minor refactoring  
						
						 
						
						... 
						
						
						
						- sLaika_pollList now holds an outQueue, if events are sent to a peer,
	the pollList will keep track so the caller (cnc, bot, etc)
	can handle each pollOut for the queued peers. 
						
						
					 
					
						2022-02-13 23:55:30 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						85d6cdcba1 
					 
					
						
						
							
							refactored laikaS_*Packet functions, added debugging output  
						
						 
						
						
						
						
					 
					
						2022-02-03 20:51:32 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dd173ee422 
					 
					
						
						
							
							Key exchange refactoring!  
						
						 
						
						... 
						
						
						
						- LAIKAPKT_HANDSHAKE_REQ now only sends the bot's pub key
	a shared key is generated using the other peer's pub key,
	allowing for fully encrypted packet bodies, (packet ID is
	left in plain-text)
- laikaS_startOutPacket(), laikaS_endOutPacket(),
	laikaS_startInPacket() & laikaS_endInPacket() have been
	added.
- laikaS_setSecure() has been added to turn on/off encrypted packets.
- genKey now generates kx keypairs
- major refactoring for relevant packet handlers
- variadic packets have been temporarily disabled 
						
						
					 
					
						2022-02-03 16:25:49 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9291dbf823 
					 
					
						
						
							
							added default peer::type, PEER_UNVERIFIED  
						
						 
						
						
						
						
					 
					
						2022-01-30 19:22:02 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						282516797e 
					 
					
						
						
							
							Minor lpeer refactoring  
						
						 
						
						... 
						
						
						
						- Packets are now dispatched based on a packet function handler map which is passed to laikaS_newPeer() 
						
						
					 
					
						2022-01-30 19:10:10 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						56c6db1d62 
					 
					
						
						
							
							Added laikaS_readENC laikaS_writeENC, minor refactoring  
						
						 
						
						
						
						
					 
					
						2022-01-29 00:26:15 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8627f5b85d 
					 
					
						
						
							
							lpeer.c: pktSize sanity check  
						
						 
						
						
						
						
					 
					
						2022-01-27 20:10:41 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a023929190 
					 
					
						
						
							
							Added key exchange to LAIKA_HANDSHAKE_*  
						
						 
						
						... 
						
						
						
						- test keys are defined in laika.h
- bug fixes & refactoring with laikaM_growarray() 
						
						
					 
					
						2022-01-27 19:55:28 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						af05611914 
					 
					
						
						
							
							Sanity check that pktIDs from VAR_REQ packets are actually variadic  
						
						 
						
						... 
						
						
						
						- variadic packets *MUST* have a PKTSIZE of 0 in the provided pktSizeTable 
						
						
					 
					
						2022-01-26 15:20:07 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						22df7e3702 
					 
					
						
						
							
							Added LAIKAPKT_VAR_REQ, enabling variable packets  
						
						 
						
						... 
						
						
						
						- additional minor refactoring 
						
						
					 
					
						2022-01-25 13:53:17 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1bccc78117 
					 
					
						
						
							
							First actual runnable version  
						
						 
						
						... 
						
						
						
						- many warnings & bug fixes
- added bot/ source 
						
						
					 
					
						2022-01-24 21:46:29 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0dee6fe3fc 
					 
					
						
						
							
							Added new sLaika_peer member, 'uData'  
						
						 
						
						... 
						
						
						
						- pktHandler was updated to pass 'uData' 
						
						
					 
					
						2022-01-24 20:57:54 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ed3efdaf11 
					 
					
						
						
							
							Added laikaS_readInt() & laikaS_writeInt()  
						
						 
						
						... 
						
						
						
						- new member for the sLaika_sock struct, 'flipEndian' 
						
						
					 
					
						2022-01-24 20:50:14 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c0aa8d2724 
					 
					
						
						
							
							started cnc.[ch], lpeer.c no longer catches errors, instead cnc.c handles error events  
						
						 
						
						
						
						
					 
					
						2022-01-24 10:34:30 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c9fdeba4c5 
					 
					
						
						
							
							Renamed 'CERROR' & 'CWARN' to LAIKA_ERROR & LAIKA_WARN  
						
						 
						
						
						
						
					 
					
						2022-01-24 09:51:29 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8133a8d3cb 
					 
					
						
						
							
							Inital commit  
						
						 
						
						... 
						
						
						
						lib/ is just [FoxNet](https://git.openpunk.com/CPunch/FoxNet ) ported to C99 
						
						
					 
					
						2022-01-23 21:28:16 -06:00