:local FwAddrListsUrl ($GlobalScriptsUrl . "fw-addr-lists.d/");
:local FwAddrListsIndexUrl ($FwAddrListsUrl . "index");
:local FwAddrListTimeOut 1d;
- :local FetchMode "";
+ :local CheckCerts true;
+ :local FetchMode "https-only";
+ :local FetchMethod "get";
:global CertificateAvailable;
:global EitherOr;
:set Branch [ $GetBranch $Address ];
:if ([ :typeof ($IPv4Addresses->$Branch) ] != "array") do={ :set ($IPv4Addresses->$Branch) ({}) };
:set ($IPv4Addresses->$Branch->$Address) $TimeOut;
- :error true;
}
:if ($Address ~ "^[0-9a-zA-Z]*:[0-9a-zA-Z:\\.]+(/[0-9]{1,3})?\$") do={
:local Net $Address;
:set Branch [ $GetBranch $Address ];
:if ([ :typeof ($IPv6Addresses->$Branch) ] != "array") do={ :set ($IPv6Addresses->$Branch) ({}) };
:set ($IPv6Addresses->$Branch->$Address) $TimeOut;
- :error true;
}
:if ($Address ~ "^[\\.a-zA-Z0-9-]+\\.[a-zA-Z]{2,}\$") do={
:set Branch [ $GetBranch $Address ];
:if ([ :typeof ($IPv6Addresses->$Branch) ] != "array") do={ :set ($IPv6Addresses->$Branch) ({}) };
:set ($IPv4Addresses->$Branch->$Address) $TimeOut;
:set ($IPv6Addresses->$Branch->$Address) $TimeOut;
- :error true;
}
} on-error={:log error ($ScriptName . " Failed parsing address: " . $Line->0);}
}
} else={
:if ($Failure = false) do={
:log debug ($ScriptName . " Removing IPv6 address " . $Address . \
- " from list '" . $FwListName .".");
+ " from list '" . $FwListName . ".");
/ipv6/firewall/address-list/remove $Entry;
:set CntRemove ($CntRemove + 1);
}
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/546/6df1efd6";
+:global CommitId "main/547/9b892c49";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:10:03 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:15:03 04.05.2026.";
# The variables are received right here.
:global GlobalConfVersion 140;