diff --git a/fhem/CHANGED b/fhem/CHANGED index 74c57797a..6ed88490e 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 34_ESPEasy: reject non local IPs wo/ basic auth - bugfix: 50_TelegramBot: delayed retry & rename (#msg668108) - changed: 70_BRAVIA: renamed reading/internal modelName to model - new: 98_GOOGLECAST: first release, read commandref for requirements diff --git a/fhem/FHEM/34_ESPEasy.pm b/fhem/FHEM/34_ESPEasy.pm index dfea76fe3..11612fc9e 100644 --- a/fhem/FHEM/34_ESPEasy.pm +++ b/fhem/FHEM/34_ESPEasy.pm @@ -36,7 +36,7 @@ use Color; # ------------------------------------------------------------------------------ # global/default values # ------------------------------------------------------------------------------ -my $module_version = "1.30"; # Version of this module +my $module_version = "1.31"; # Version of this module my $minEEBuild = 128; # informational my $minJsonVersion = 1.02; # checked in received data @@ -690,7 +690,8 @@ sub ESPEasy_Read($) { # public IPs if (!defined $logHeader->{Authorization} && $peer !~ m/$d_localIPs/) { Log3 $bname, 2, "$btype $name: No basic auth set while using public IP " - . "address $peer"; + . "address. $peer rejected."; + return; } $logHeader->{Authorization} =~ s/Basic\s.*\s/Basic ***** / if defined $logHeader->{Authorization};