summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2017-04-07Rewrite a nonsensical comment.Paweł Redman
2017-04-06Change the protocol to work with Q3.Paweł Redman
2017-04-06Add command-line arguments.Paweł Redman
2017-04-06Make the signal flags volatile and atomic.Paweł Redman
This is needed to make sure the changes made in the signal handler are always visible in the main context.
2017-04-06Fix the select call in main.Paweł Redman
The first argument is supposed to be the maximum of all fds plus one, not the number of the fds.
2017-04-06Implement on-the-fly reloading of lists.Paweł Redman
2017-04-06Handle signals properly.Paweł Redman
SIGTERM and SIGINT now break the main loop and make the program quit cleanly. SIGUSR1 triggers a reload of lists (only a stub at the moment).
2017-04-06Refactor large parts of the program.Paweł Redman
The new design assures revDNS/WHOIS queries will be done exactly once, no matter how many requests the Schachtmeister gets. This commit also adds cache timeouts.
2017-04-05Initial commit.Paweł Redman