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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c83d96cc91 
					 
					
						
						
							
							Add "$(EXENAME).exe" to clean rule so Windows executables are also cleaned up  
						
						
						
						
							
						
					 
					
						2024-12-02 06:14:34 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6b563df23d 
					 
					
						
						
							
							Update README.md  
						
						
						
						
							
						
					 
					
						2024-11-09 20:53:55 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a2dcf41ac 
					 
					
						
						
							
							Update README.md  
						
						
						
						
							
						
					 
					
						2024-11-09 20:51:36 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7d3f3c1d61 
					 
					
						
						
							
							Update README.md  
						
						
						
						
							
						
					 
					
						2024-11-09 20:46:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fc040ce5ea 
					 
					
						
						
							
							Change maximum packet size to correct value (4096 -> 4106)  
						
						
						
						
							
						
					 
					
						2024-11-09 15:22:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						489306d4a2 
					 
					
						
						
							
							Add windows batch scripts  
						
						
						
						
							
						
					 
					
						2024-11-09 13:48:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a8e2a9349e 
					 
					
						
						
							
							Exit with appropriate return code if password is not provided,  fixes   #87  
						
						
						
						
							
						
					 
					
						2024-11-07 21:39:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						deed43ad61 
					 
					
						
						
							
							Makefile macOS fix,  resolves   #82 ,  resolves   #102  
						
						... 
						
						
						
						- Remove "ginstall" as "install" replacement on macOS
- Remove "-D" flag from "install" parameters 
						
						
							
						
					 
					
						2024-11-07 17:14:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aa933d2c1f 
					 
					
						
						
							
							Add support for Valve style authentication,  fixes   #106  
						
						
						
						
							
						
					 
					
						2024-11-07 14:59:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						accae57e4b 
					 
					
						
						
							
							Remove ".travis.yml"  
						
						
						
						
							
						
					 
					
						2024-11-07 14:21:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fa25cde79c 
					 
					
						
						
							
							Modify compilation flags:  
						
						... 
						
						
						
						- Remove "-s" flag
- Change stack protector mode from "strong" to "all"
- Change optimization level from "-Os" to "-O2" 
						
						
							
						
					 
					
						2024-11-07 14:06:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e96b2eff6e 
					 
					
						
						
							
							Remove broken Travis CI links and update package list  
						
						
						
						
							
						
					 
					
						2024-11-07 13:54:40 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b5951e9634 
					 
					
						
						
							
							Merge pull request  #83  from Tiiffi/develop  
						
						... 
						
						
						
						Merge develop to master 
						
						
							
 
						
					 
					
						2021-10-30 22:34:42 +03: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3e8acd5e42 
					 
					
						
						
							
							Merge pull request  #62  from jbaldus/master  
						
						... 
						
						
						
						Fixes typo in ANSI escape sequence for LCYAN 
						
						
							
						
					 
					
						2021-02-08 05:16:11 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b02201d689 
					 
					
						
						
							
							Merge pull request  #37  from Tiiffi/develop  
						
						... 
						
						
						
						Update CHANGELOG.md 
						
						
							
 
						
					 
					
						2020-01-02 03:14:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4cff2fe537 
					 
					
						
						
							
							Update CHANGELOG.md  
						
						
						
						
							
						
					 
					
						2020-01-02 03:11:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d11c6a4e9 
					 
					
						
						
							
							Update README.md  
						
						
						
						
							
						
					 
					
						2020-01-02 02:40:05 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9c68d9cdd4 
					 
					
						
						
							
							Update README.md  
						
						
						
						
							
						
					 
					
						2020-01-02 02:30:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6d49968df3 
					 
					
						
						
							
							Update README.md  
						
						
						
						
							
						
					 
					
						2020-01-02 02:28:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b118b7b7b9 
					 
					
						
						
							
							Change year in copyright texts and manual page  
						
						
						
						
							
						
					 
					
						2020-01-02 02:22:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						253fb70a72 
					 
					
						
						
							
							Merge branch 'develop'  
						
						
						
						
							
						
					 
					
						2020-01-02 02:15:27 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83cdaae362 
					 
					
						
						
							
							Update version number  
						
						
						
						
							
						
					 
					
						2019-12-21 23:13:19 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d2ebbd8f12 
					 
					
						
						
							
							Update various document files  
						
						
						
						
							
						
					 
					
						2019-12-21 22:16:34 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5fb20c2b83 
					 
					
						
						
							
							Update mcrcon.1 and README.md  
						
						
						
						
							
						
					 
					
						2019-12-19 17:32:47 +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