From 9e7766a40010644f728bff4f7d60a7674b1fb583 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 27 Jun 2012 17:58:52 +0200 Subject: [PATCH] Added option to disable IP-Logging IP-Logging can now be disabled through an option, the only exception is the session system which still stores IP addresses for security reasons. Since they usually get erased within a few hours this should be fine. Additionally the blacklist now supports both IPv4 and IPv6 whereas all addresses are stored as IPv6 (faster checks on runtime), but IPv4 addresses will be still displayed as IPv4 (transparent conversion). --- com.woltlab.wcf/option.xml | 8 +- .../TextareaIpAddressOptionType.class.php | 75 +++++++++++++++++++ .../install/files/lib/util/UserUtil.class.php | 41 ++++++++++ 3 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 wcfsetup/install/files/lib/system/option/TextareaIpAddressOptionType.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 00b1e2d44f..56e4ae08e9 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -123,6 +123,12 @@ 1 + +