From 2e0f7431a6823fe3b6dade61613a744685f07da1 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 21 Jul 2024 08:11:32 -0700 Subject: [PATCH] Log socket ip addresses from nntp connections in auth.log. --- Rocksolid_Light/rocksolid/newsportal.php | 34 ++++++++++++------- .../rslight/scripts/rslight-lib.php | 2 +- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index fae7eb1..2909b55 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -1302,7 +1302,7 @@ function verify_logged_in($name) { file_put_contents($auth_log, "\n" . logging_prefix() . " SESSION PASS OK for: " . $name, FILE_APPEND); } else { $logged_in = false; - file_put_contents($auth_log, "\n" . logging_prefix() . " SESSION PASS expired or not set: " . $name, FILE_APPEND); + file_put_contents($auth_log, "\n" . logging_prefix() . " SESSION PASS expired or not set for: " . $name, FILE_APPEND); } if ($CONFIG['anonuser'] == '1') { $logged_in = false; @@ -1342,7 +1342,7 @@ function set_user_logged_in_cookies($name, $keys) {