From 4bc3bc10d166cbb7a25abc00b2960114716ed167 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 16 May 2023 14:01:53 +0200 Subject: identify client by port, also --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 389701f..e542321 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,7 @@ $privKey = "f1869e6cb93500215f5e1ef1fe552dbc76d036088b56c45b1bc32c54211f1c88f442 $pubKey = "f4429e138684b0c1a270fd71d3808d77771e0dbb90a0318eaf27d3747cd57f04"; function client_identifier() { - return $_SERVER['SERVER_ADDR'] . " " . $_SERVER['REMOTE_ADDR']; + return $_SERVER['SERVER_ADDR'] . " " . $_SERVER['REMOTE_ADDR'] . " " . $_SERVER['REMOTE_PORT']; } function zugriff_erlaubt() { -- cgit v1.2.3-70-g09d2