summaryrefslogtreecommitdiff
path: root/server/include/mini-rat.h
AgeCommit message (Collapse)Author
2023-09-29server: write output to a file/socket descriptorDanny Holman
Instead of printing to stdout, print to a file or socket descriptor. This will allow remote control connections to be implemented relatively easily. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-06-13server: mark the worker socket as non-blockingDanny Holman
Mark the socket in the worker function as non-blocking and run poll(). This should be done in order to prevent a slow loris attack on the C&C server. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-05-17server: add headers to check functionDanny Holman
Add stdarg.h and time.h to the check headers function in the configure script. Signed-off-by: Danny Holman <dholman@gymli.org>
2023-01-04server: add a main header and source fileDanny Holman
Add a main header and source file so that every required header is checked against the config.h generated by autoconf. Signed-off-by: Danny Holman <dholman@gymli.org>