From: Marco Zanon Date: Wed, 7 Mar 2012 20:57:25 +0000 (+0000) Subject: Added remote ip logging on connection. X-Git-Tag: SVN-to-Git~2 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=3fe4780b0b3985daf85c3282a196e6a9a58b89cd;p=mz_ultravnc_repeater Added remote ip logging on connection. --- diff --git a/mz_ultravnc_repeater.pl b/mz_ultravnc_repeater.pl index 9cec96f..4997d9f 100755 --- a/mz_ultravnc_repeater.pl +++ b/mz_ultravnc_repeater.pl @@ -446,6 +446,7 @@ while (1) { lprint("$prog: accept $!"); next; } + lprint("remote ip is ".$sock->peerhost()); if (($client_listen && $fh == $client_listen) || ($client_listen6 && $fh == $client_listen6)) { if (exists $ENV{ULTRAVNC_REPEATER_NO_RFB} && $ENV{ULTRAVNC_REPEATER_NO_RFB}) {