a502204e26 
					 
					
						
						
							
							Remove unused headers  
						
						
						
						
					 
					
						2024-12-02 09:34:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7162bc6fe6 
					 
					
						
						
							
							- add log_error macro  
						
						... 
						
						
						
						- rename "flag_connection_alive" variable back to "global_connection_alive"
- return exit code from run_terminal_mode()
- rcon_command(): add error messages 
						
						
					 
					
						2024-12-02 08:55:18 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f270a485b5 
					 
					
						
						
							
							Remove url from version string  
						
						
						
						
					 
					
						2024-12-02 07:40:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						df66816bee 
					 
					
						
						
							
							Change prefix of flag variables from 'global' to 'flag'  
						
						
						
						
					 
					
						2024-12-02 07:37:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5c7ab407d7 
					 
					
						
						
							
							Patch of various fixes, cleanups and unused code removals:  
						
						... 
						
						
						
						- add MAX_COMMAND_LENGTH to define maximum command length
 - print auth failed message to stderr instead of stdout
 - remove unused net_send() function
 - remove unused net_clean_incoming() function
 - rewrite net_send_packet() function
 - net_recv_packet(): change the type of variable "ret" from int to ssize_t
 - net_recv_packet(): fail immediately if the packet size is out of spec
 - packet_print(): rename variable "def_color" to "default_color"
 - packet_print(): remove unecessary casts
 - packet_build(): use MAX_COMMAND_LENGTH
 - packet_build(): be more explicit in calculation of packet.size
 - packet_build(): use memcpy() instead of strncpy()
 - cast second argument of send()/recv() calls to (char *) so Windows is happy
 - rcon_auth(): change the return type from int to bool
 - run_terminal_mode(): use MAX_COMMAND_LENGTH 
						
						
					 
					
						2024-12-02 07:32:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						427fd206ca 
					 
					
						
						
							
							Oops, uncomment struct field  
						
						
						
						
					 
					
						2024-11-11 23:49:18 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a4010cbba 
					 
					
						
						
							
							Change MAX_PACKET_SIZE and DATA_BUFFSIZE, add notes about packet structure  
						
						
						
						
					 
					
						2024-11-11 22:22:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4488127350 
					 
					
						
						
							
							Use fixed width integer types in rcon packet structure  
						
						
						
						
					 
					
						2024-11-10 16:25:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fc040ce5ea 
					 
					
						
						
							
							Change maximum packet size to correct value (4096 -> 4106)  
						
						
						
						
					 
					
						2024-11-09 15:22:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a8e2a9349e 
					 
					
						
						
							
							Exit with appropriate return code if password is not provided,  fixes   #87  
						
						
						
						
					 
					
						2024-11-07 21:39:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aa933d2c1f 
					 
					
						
						
							
							Add support for Valve style authentication,  fixes   #106  
						
						
						
						
					 
					
						2024-11-07 14:59:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7b8ea2bf39 
					 
					
						
						
							
							Update copyright year  
						
						
						
						
					 
					
						2021-10-30 22:30:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05aaff88d4 
					 
					
						
						
							
							Update version information, changelog and readme  
						
						
						
						
					 
					
						2021-10-30 22:21:25 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fca278e092 
					 
					
						
						
							
							- Quit gracefully when Ctrl-D or Ctrl-C is pressed  
						
						... 
						
						
						
						- Remove "exit" and "quit" as quit commands 
						
						
					 
					
						2021-10-30 22:16:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b3147ebe43 
					 
					
						
						
							
							Fix erroneous string length check  
						
						
						
						
					 
					
						2021-02-15 04:31:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						48c065c304 
					 
					
						
						
							
							Use setvbuf() instead of fflush()  
						
						
						
						
					 
					
						2021-02-15 03:29:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						29a1c99f82 
					 
					
						
						
							
							Merge pull request  #53  from AddisonG/master  
						
						... 
						
						
						
						Fix compiler warning 
						
						
					 
					
						2021-02-12 04:23:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf11460a0d 
					 
					
						
						
							
							Merge pull request  #39  from kabiroberai/master  
						
						... 
						
						
						
						Flush stdout when needed 
						
						
					 
					
						2021-02-08 22:51:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ada14bb4d9 
					 
					
						
						
							
							Fixes typo in ANSI escape sequence for LCYAN  
						
						
						
						
					 
					
						2021-01-13 19:22:02 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						336f528668 
					 
					
						
						
							
							Fixed compiler bug  
						
						... 
						
						
						
						This fixes the compiler issue:
```
mcrcon.c: In function ‘packet_build’:
mcrcon.c:576:2: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
  strncpy(packet.data, s1, DATA_BUFFSIZE);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``` 
						
						
					 
					
						2020-08-12 14:10:58 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						58a7a86bc3 
					 
					
						
						
							
							Flush stdout when needed  
						
						... 
						
						
						
						This is required on certain machines (eg the iSH emulator on iOS) 
						
						
					 
					
						2020-01-31 17:26:27 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b118b7b7b9 
					 
					
						
						
							
							Change year in copyright texts and manual page  
						
						
						
						
					 
					
						2020-01-02 02:22:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f351fb134e 
					 
					
						
						
							
							- Deprecate -i flag for terminal mode  
						
						... 
						
						
						
						- Use strcasecmp() instead strcmp() to check exit command 
						
						
					 
					
						2019-12-22 16:27:36 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af5e88b528 
					 
					
						
						
							
							Update Makefile  
						
						
						
						
					 
					
						2019-12-22 00:05:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						876201fe5a 
					 
					
						
						
							
							Add workaround to prevent server-side bug.  
						
						... 
						
						
						
						https://bugs.mojang.com/browse/MC-154617  
					
						2019-12-21 23:12:39 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c071c0c45 
					 
					
						
						
							
							- Add exit string detection  
						
						... 
						
						
						
						- Stylistic change in getopt loop 
						
						
					 
					
						2019-12-21 22:25:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cffa73d223 
					 
					
						
						
							
							Remove unused functions  
						
						
						
						
					 
					
						2019-12-20 21:02:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c62d5c8a70 
					 
					
						
						
							
							Update usage and version texts  
						
						
						
						
					 
					
						2019-12-20 20:58:40 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8b75ddf4bf 
					 
					
						
						
							
							Indentation style change  
						
						
						
						
					 
					
						2019-12-20 19:56:05 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4f3a455095 
					 
					
						
						
							
							Add more validation to mcrcon_parse_seconds()  
						
						
						
						
					 
					
						2019-12-19 17:34:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0c48fbb847 
					 
					
						
						
							
							Remove unused option characters  
						
						
						
						
					 
					
						2019-12-18 19:34:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fcc9d6d09b 
					 
					
						
						
							
							Tabs are evil  
						
						
						
						
					 
					
						2019-12-18 19:19:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						018592abc5 
					 
					
						
						
							
							Code cleanups  
						
						
						
						
					 
					
						2019-12-18 19:16:06 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0f796b6bbc 
					 
					
						
						
							
							Tidy code formatting  
						
						
						
						
					 
					
						2019-12-18 19:06:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83457075b9 
					 
					
						
						
							
							Make command throttling argument parsing more robust  
						
						
						
						
					 
					
						2019-12-18 18:19:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a0b9ea4e5 
					 
					
						
						
							
							Let's avoid one more statement  
						
						
						
						
					 
					
						2019-12-14 18:06:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a16d875626 
					 
					
						
						
							
							Adds a -w option to throttle commands execution  
						
						
						
						
					 
					
						2019-12-14 17:48:43 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9667e8f066 
					 
					
						
						
							
							Change email text  
						
						
						
						
					 
					
						2019-10-21 21:43:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						16c2db5c78 
					 
					
						
						
							
							Tidy up man page and usage text  
						
						
						
						
					 
					
						2019-10-21 21:35:38 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f561f803a 
					 
					
						
						
							
							Change bug report email address  
						
						
						
						
					 
					
						2019-10-21 20:58:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7d5cb8016e 
					 
					
						
						
							
							Change DATA_BUFFSIZE to 4096 bytes  
						
						
						
						
					 
					
						2019-10-21 14:23:41 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						208e040305 
					 
					
						
						
							
							Fix invalid free  
						
						
						
						
					 
					
						2019-10-20 16:08:51 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						989dfd6928 
					 
					
						
						
							
							Remove unused code  
						
						
						
						
					 
					
						2019-10-20 16:01:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6bfd6801c9 
					 
					
						
						
							
							Update version number and man page  
						
						
						
						
					 
					
						2019-10-20 15:49:06 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f0580220e3 
					 
					
						
						
							
							Merge from upstream develop  
						
						
						
						
					 
					
						2019-10-20 15:39:44 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0525c3776e 
					 
					
						
						
							
							Handle fragmented data transmission  
						
						... 
						
						
						
						* Resolve  #25  
						
						
					 
					
						2019-10-17 16:06:35 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						408ec3b1c1 
					 
					
						
						
							
							Add *.plist to .gitignore and change exit code ( fix   #29 )  
						
						
						
						
					 
					
						2019-10-15 15:30:43 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						21337ef5d7 
					 
					
						
						
							
							Small fix. :-D  
						
						
						
						
					 
					
						2019-09-20 13:50:20 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ac31d9bc5a 
					 
					
						
						
							
							Added check for fgets() return value.  
						
						
						
						
					 
					
						2019-09-20 13:36:49 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						60fa0e42d8 
					 
					
						
						
							
							Added 'global' prefix for global variables and fixed 'rsock' variable shadowing.  
						
						
						
						
					 
					
						2019-09-20 13:20:35 +03:00