9 Commits

4 changed files with 564 additions and 469 deletions

View File

@ -1,13 +1,18 @@
Building and installing
-----------------------
#### Requirements & dependencies:
### Prerequisites
- GCC compatible compiler
- POSIX getopt support from **<unistd.h>**
- make
- POSIX.1 support
* getopt()
* strcasecmp()
* tcflush()
---
#### Compiling
### Compiling
cc -std=gnu99 -Wpedantic -Wall -Wextra -Wno-gnu-zero-variadic-macro-arguments -O2 -o mcrcon mcrcon.c

View File

@ -2,10 +2,11 @@
###### 0.8.0
- Implement support for multipacket responses
- Add support to Valve style rcon authentication
- Add support for Valve style rcon authentication
- Add experimental UTF-8 support for Windows
- Change maximum packet size to correct value (4096 -> 4106)
- Attempt to add missing newlines in Minecraft servers
* Currently implemented only for the 'help' command
- Attempt to add missing newlines in bugged Minecraft servers
* Implemented for responses to the 'help' command and unknown commands
- Print auth failed message to stderr instead of stdout
- Fail immediately if received packet size is out of spec
- Return proper exit code from run_terminal_mode()

View File

@ -15,7 +15,7 @@ RM = rm -v -f
CC ?= gcc
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
EXTRAFLAGS ?= -fstack-protector-all
EXTRAFLAGS ?= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -fno-common
ifeq ($(OS), Windows_NT)
LINKER = -lws2_32

1013
mcrcon.c

File diff suppressed because it is too large Load Diff