:set tmpIndex "";
}
- :foreach FwList in=[ :deserialize $tmpIndex delimiter="\n" from=dsv options=dsv.plain ] do={
- :set FwList ($FwList->0);
- :local FwListName;
+ :foreach FwListName in=[ :deserialize $tmpIndex delimiter="\n" from=dsv options=dsv.plain ] do={
+# :set FwListName ($FwList->0);
+# :local FwListName;
# :local FwListName ($FwListFile->0);
# :set FwListName [ $Grep $FwListName "[^0-9a-zA-Z\\./:-]" ];
- :set FwListName ([ :pick $Line 0 [ $FindDelim $FwList ] ] ;
+# :set FwListName ([ :pick $FwList 0 [ $FindDelim $FwList ] ]);
# :set FwListName [ $Grep $FwListName "[^0-9a-zA-Z\\./:-]" ];
- :log warning ($ScriptName . " Parsing address-list index entry: " . $FwListName);
+# :log warning ($ScriptName . " Parsing address-list index entry: " . $FwListName);
- :local Delim [ $FindDelim $FwListName ];
- :if ($Delim = 0) do={ :set FwListName ""; };
+# :local Delim [ $FindDelim $FwListName ];
+# :if ($Delim = 0) do={ :set FwListName ""; };
:if ([ :len $FwListName ] = 0) do={
:log error ($ScriptName . " Failed parsing address-list index entry: " . $FwListFile->0);
:error true;
}
- :set FwListName [ :pick $FwListName 0 $Delim ];
+# :set FwListName [ :pick $FwListName 0 $Delim ];
:local FwListUrl ($FwAddrListsUrl . $FwListName);
:local CntAdd 0;
:for I from=1 to=5 do={
:if ($Data = false) do={
- :set Data [ :tolf [ $FetchLargeFiles $ScriptName $FwListUrl true $FetchMode ] ];
+ :set Data [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsUrl $FwListName $CheckCerts ] ];
:if ($Data = false && $I < 5) do={
- :log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "', " . $I . ". try from: " . $FwListUrl);
+ :log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "', " . $I . ". try from: " . $FwAddrListsUrl . $FwListName);
:delay (($I * $I) . "s");
}
}
:if ($Data = false) do={
:set Data "";
:set Failure true;
- :log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "' from: " . $FwListUrl);
+ :log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "' from: " . $FwAddrListsUrl . $FwListName);
} else={
- :log debug ($ScriptName . " Downloaded " . [ $HumanReadableNum [ :len $Data ] 1024 ] . "B for list '" . $FwListName . "' from: " . $FwListUrl);
+ :log debug ($ScriptName . " Downloaded " . [ $HumanReadableNum [ :len $Data ] 1024 ] . "B for list '" . $FwListName . "' from: " . $FwAddrListsUrl . $FwListName);
}
:foreach Line in=[ :deserialize $Data delimiter="\n" from=dsv options=dsv.plain ] do={
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/568/5c207d26";
+:global CommitId "main/569/b3bb0022";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 14:55:02 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 15:15:03 04.05.2026.";
# The variables are received right here.
:global GlobalConfVersion 140;