Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
12 days | fw-addr-lists: simplify looping lines | Christian Hesse | 1 | -4/+3 | |
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. | |||||
2024-09-11 | fw-addr-lists: handle JSON format from spamhaus.org | Christian Hesse | 1 | -1/+6 | |
Closes: https://github.com/eworm-de/routeros-scripts/issues/79 | |||||
2024-07-16 | bump RouterOS requirement for all scripts and modules... | Christian Hesse | 1 | -1/+1 | |
... now that global-functions requires RouterOS 7.14 anyway. | |||||
2024-04-07 | fw-addr-lists: break long lines | Christian Hesse | 1 | -4/+8 | |
2024-04-07 | fw-addr-lists: show count of active addresses | Christian Hesse | 1 | -0/+1 | |
2024-04-07 | fw-addr-lists: human readable numbers for counts | Christian Hesse | 1 | -2/+4 | |
2024-04-07 | fw-addr-lists: rework log messages, always include list name | Christian Hesse | 1 | -13/+26 | |
2024-04-07 | fw-addr-lists: add debug message on successful download | Christian Hesse | 1 | -0/+3 | |
2024-04-07 | fw-addr-lists: try with less regexp matches | Christian Hesse | 1 | -8/+15 | |
2024-04-07 | fw-addr-lists: use $FetchHugerouteros-7.13-5 | Christian Hesse | 1 | -12/+6 | |
2024-03-29 | global-functions: rename $FetchUserAgent -> $FetchUserAgentStr | Christian Hesse | 1 | -2/+2 | |
... to make sure the function does not clash with the variable we had before, as this causes issue with news and changes notification. | |||||
2024-03-26 | fw-addr-lists: one more interation on download failure... | Christian Hesse | 1 | -2/+2 | |
... with even more delay. This script is called with long interval from scheduler, so should not be an issue. | |||||
2024-03-16 | global-functions: generate user agent string in function... | Christian Hesse | 1 | -2/+2 | |
... and add the caller and my shortened url. | |||||
2024-03-12 | fw-addr-lists: switch to $LogPrint | Christian Hesse | 1 | -13/+13 | |
2024-03-12 | global-functions: $LogPrintOnce: drop support for exit | Christian Hesse | 1 | -1/+1 | |
This is not widely adopted or used, so let's just drop it - no compatibility. | |||||
2024-03-12 | fw-addr-lists: drop main function, use :do with on-error | Christian Hesse | 1 | -6/+4 | |
2024-03-12 | global-functions: $ScriptLock: do not exit from global function | Christian Hesse | 1 | -1/+3 | |
2024-03-04 | fw-addr-lists: move code into function | Christian Hesse | 1 | -112/+117 | |
2024-02-29 | fw-addr-lists: add support for IPv6change-119 | Christian Hesse | 1 | -1/+33 | |
2024-02-29 | fw-addr-lists: rename variable | Christian Hesse | 1 | -11/+11 | |
2024-02-29 | fw-addr-lists: update wording | Christian Hesse | 1 | -3/+3 | |
2024-02-29 | fw-addr-lists: get timeout from loop | Christian Hesse | 1 | -3/+3 | |
2024-01-30 | fw-addr-lists: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-19 | fw-addr-lists: use prepared user-agent string with fetch | Christian Hesse | 1 | -1/+2 | |
2024-01-18 | global-functions: $LogPrintOnce: support exit | Christian Hesse | 1 | -1/+1 | |
2024-01-01 | update copyright for 2024 | Christian Hesse | 1 | -1/+1 | |
2023-12-13 | fw-addr-lists: warn on possible truncation | Christian Hesse | 1 | -0/+5 | |
... as fetch truncates data at about 64kB, reported in SUP-132297. | |||||
2023-11-30 | fw-addr-lists: support timeout per list | Christian Hesse | 1 | -6/+8 | |
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. | |||||
2023-10-19 | fw-addr-lists: rework the retry logic | Christian Hesse | 1 | -4/+7 | |
... with increasing delay. | |||||
2023-09-06 | fw-addr-lists: no (mixed) capitalization in message | Christian Hesse | 1 | -1/+1 | |
2023-06-23 | fw-addr-lists: retry to download on failure | Christian Hesse | 1 | -4/+14 | |
2023-06-13 | fw-addr-lists: support domain names in lists | Christian Hesse | 1 | -3/+3 | |
2023-06-13 | introduce fw-addr-listschange-101 | Christian Hesse | 1 | -0/+99 | |