:local FwAddrListsUrl ($GlobalScriptsUrl . "fw-addr-lists.d/");
:local FwAddrListsIndexUrl ($FwAddrListsUrl . "index");
:local FwAddrListTimeOut 1d;
- :local CheckCerts true;
+ :local CheckCerts false;
:local FetchMode "https-only";
:local FetchMethod "get";
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/552/80a6ab5c";
+:global CommitId "main/553/53721779";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:00:03 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:05:03 04.05.2026.";
# The variables are received right here.
:global GlobalConfVersion 140;
# "background-and-keep-broken-and-no-redirects")
# $5 - fetch method for /tool/fetch (optional, e.g. "get", "head", "post", "put", "patch", "delete")
:set FetchLargeFiles do={
- :local FetchLargeScript [:tostr $1];
+ :local ScriptName [:tostr $1];
:local fetchUrl [:tostr $2];
:local CheckCert [:tostr $3];
:local fetchMode [:tostr $4];
:set CheckCert [ $IfThenElse ($CheckCert = "false") "no" "yes-without-crl" ];
- :local DirName ("tmpfs/" . [ $CleanName $FetchLargeScript ]);
+ :local DirName ("tmpfs/" . [ $CleanName $ScriptName ]);
:if ([ $MkDir $DirName ] = false) do={
$LogPrint error $0 ("Failed creating directory!");
:return false;
:local FileName ($DirName . "/" . [ $CleanName $0 ] . "-" . [ $GetRandom20CharAlNum ]);
:do {
/tool/fetch check-certificate=$CheckCert url=$fetchUrl dst-path=$FileName \
- http-header-field=({ [ $FetchUserAgentStr $FetchLargeScript ] }) as-value;
+ http-header-field=({ [ $FetchUserAgentStr $ScriptName ] }) as-value;
} on-error={
:if ([ $WaitForFile $FileName 500ms ] = true) do={
$RmFile $FileName;