1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-14 15:20:36 +00:00

Move ip requesting code into a separate file and make hashing configurable at build time.

New code tries to guess a per-visitor IP address and uses
that (or its hash) to tell users apart.
This patch also adds a TAWASHI_WITH_IP_LOGGING cmake option
to enable or disable logging the IP address of your visitors
in various places (just one right now but don't assume things
to remain this way).
Also added a couple new CGI environment variables.
This commit is contained in:
King_DuckZ 2017-05-24 09:34:52 +01:00
commit 9fff9d793c
9 changed files with 133 additions and 31 deletions

View file

@ -23,3 +23,4 @@
#define VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define VERSION_MINOR @PROJECT_VERSION_MINOR@
#define VERSION_PATCH @PROJECT_VERSION_PATCH@
#cmakedefine TAWASHI_WITH_IP_LOGGING