mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +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:
parent
1507c79503
commit
9fff9d793c
9 changed files with 133 additions and 31 deletions
|
@ -28,6 +28,7 @@ add_library(${PROJECT_NAME} STATIC
|
|||
tawashi_exception.cpp
|
||||
http_header.cpp
|
||||
quick_submit_paste_response.cpp
|
||||
ip_utils.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue