aboutsummaryrefslogtreecommitdiffstats
path: root/fw-addr-lists.rsc
AgeCommit message (Expand)AuthorFilesLines
2024-11-27fw-addr-lists: require RouterOS 7.16•••Actually the requirement bumped with the change in commit: * 084c246ef0cab329fe981732089277fa8398800b fw-addr-lists: simplify looping lines routeros-7.16-4Gravatar Christian Hesse1-1/+1
2024-11-06fw-addr-lists: simplify looping lines•••With `:deserialize` the **record** separator is always a new line. The property `delimiter=` is a **field** reparator, so you can parse a lines into an array. We do not want (or need) that, so use new line as field separator. This will result in an array with just one element, and we use that. Also convert the data to line feed explicitly, just to be sure. routeros-7.16-1Gravatar Christian Hesse1-4/+3
2024-09-11fw-addr-lists: handle JSON format from spamhaus.org•••Closes: https://github.com/eworm-de/routeros-scripts/issues/79 Gravatar Christian Hesse1-1/+6
2024-07-16bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.14 anyway. Gravatar Christian Hesse1-1/+1
2024-04-07fw-addr-lists: break long linesGravatar Christian Hesse1-4/+8
2024-04-07fw-addr-lists: show count of active addressesGravatar Christian Hesse1-0/+1
2024-04-07fw-addr-lists: human readable numbers for countsGravatar Christian Hesse1-2/+4
2024-04-07fw-addr-lists: rework log messages, always include list nameGravatar Christian Hesse1-13/+26
2024-04-07fw-addr-lists: add debug message on successful downloadGravatar Christian Hesse1-0/+3
2024-04-07fw-addr-lists: try with less regexp matchesGravatar Christian Hesse1-8/+15
2024-04-07fw-addr-lists: use $FetchHugerouteros-7.13-5Gravatar Christian Hesse1-12/+6
2024-03-29global-functions: rename $FetchUserAgent -> $FetchUserAgentStr•••... to make sure the function does not clash with the variable we had before, as this causes issue with news and changes notification. Gravatar Christian Hesse1-2/+2
2024-03-26fw-addr-lists: one more interation on download failure...•••... with even more delay. This script is called with long interval from scheduler, so should not be an issue. Gravatar Christian Hesse1-2/+2
2024-03-16global-functions: generate user agent string in function...•••... and add the caller and my shortened url. Gravatar Christian Hesse1-2/+2
2024-03-12fw-addr-lists: switch to $LogPrintGravatar Christian Hesse1-13/+13
2024-03-12global-functions: $LogPrintOnce: drop support for exit•••This is not widely adopted or used, so let's just drop it - no compatibility. Gravatar Christian Hesse1-1/+1
2024-03-12fw-addr-lists: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-04fw-addr-lists: move code into functionGravatar Christian Hesse1-112/+117
2024-02-29fw-addr-lists: add support for IPv6change-119Gravatar Christian Hesse1-1/+33
2024-02-29fw-addr-lists: rename variableGravatar Christian Hesse1-11/+11
2024-02-29fw-addr-lists: update wordingGravatar Christian Hesse1-3/+3
2024-02-29fw-addr-lists: get timeout from loopGravatar Christian Hesse1-3/+3
2024-01-30fw-addr-lists: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-19fw-addr-lists: use prepared user-agent string with fetchGravatar Christian Hesse1-1/+2
2024-01-18global-functions: $LogPrintOnce: support exitGravatar Christian Hesse1-1/+1
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-12-13fw-addr-lists: warn on possible truncation•••... as fetch truncates data at about 64kB, reported in SUP-132297. Gravatar Christian Hesse1-0/+5
2023-11-30fw-addr-lists: support timeout per list•••This works with something like this: :global FwAddrLists { "allow"={ { url="https://eworm.de/ros/fw-addr-lists/allow"; cert="E1"; timeout=1w }; }; ... } All urls for one named list should have the same timeout! With different timeout values and identical addresses the behavior is besically undefined, depending on order. Gravatar Christian Hesse1-6/+8
2023-10-19fw-addr-lists: rework the retry logic•••... with increasing delay. Gravatar Christian Hesse1-4/+7
2023-09-06fw-addr-lists: no (mixed) capitalization in messageGravatar Christian Hesse1-1/+1
2023-06-23fw-addr-lists: retry to download on failureGravatar Christian Hesse1-4/+14
2023-06-13fw-addr-lists: support domain names in listsGravatar Christian Hesse1-3/+3
2023-06-13introduce fw-addr-listschange-101Gravatar Christian Hesse1-0/+99