Christian Hesse
c4d2ea19dd
fw-addr-lists: break long lines
2024-04-07 22:51:24 +02:00
Christian Hesse
19c52ed2a7
fw-addr-lists: show count of active addresses
2024-04-07 22:51:24 +02:00
Christian Hesse
491d85000d
fw-addr-lists: human readable numbers for counts
2024-04-07 22:45:54 +02:00
Christian Hesse
70cc1ff53b
fw-addr-lists: rework log messages, always include list name
2024-04-07 22:45:34 +02:00
Christian Hesse
af6556bdba
fw-addr-lists: add debug message on successful download
2024-04-07 22:44:34 +02:00
Christian Hesse
4b6d0c02f1
fw-addr-lists: try with less regexp matches
2024-04-07 22:21:10 +02:00
Christian Hesse
c3809f240d
fw-addr-lists: use $FetchHuge
2024-04-07 22:21:10 +02:00
Christian Hesse
4df1468e25
global-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.
2024-03-29 11:11:17 +01:00
Christian Hesse
9ec8b9c03f
fw-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.
2024-03-26 08:37:07 +01:00
Christian Hesse
eb7919c1d8
global-functions: generate user agent string in function...
...
... and add the caller and my shortened url.
2024-03-16 23:10:47 +01:00
Christian Hesse
6715696ba1
fw-addr-lists: switch to $LogPrint
2024-03-12 20:37:57 +01:00
Christian Hesse
19802c0b69
global-functions: $LogPrintOnce: drop support for exit
...
This is not widely adopted or used, so let's just drop it - no
compatibility.
2024-03-12 20:37:57 +01:00
Christian Hesse
c1362f54e5
fw-addr-lists: drop main function, use :do with on-error
2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa
global-functions: $ScriptLock: do not exit from global function
2024-03-12 15:27:15 +01:00
Christian Hesse
480ad0c196
fw-addr-lists: move code into function
2024-03-04 17:04:45 +01:00
Christian Hesse
62790ae091
fw-addr-lists: add support for IPv6
2024-02-29 14:21:58 +01:00
Christian Hesse
0125f102b4
fw-addr-lists: rename variable
2024-02-29 14:21:58 +01:00
Christian Hesse
31966479dc
fw-addr-lists: update wording
2024-02-29 14:21:58 +01:00
Christian Hesse
1687e2780f
fw-addr-lists: get timeout from loop
2024-02-29 14:21:58 +01:00
Christian Hesse
afd779c0bb
fw-addr-lists: use :jobname to get script name
2024-01-30 00:52:21 +01:00
Christian Hesse
4b8854946d
fw-addr-lists: use prepared user-agent string with fetch
2024-01-19 13:25:22 +01:00
Christian Hesse
a7619a5119
global-functions: $LogPrintOnce: support exit
2024-01-18 10:19:22 +01:00
Christian Hesse
9a73fc526f
update copyright for 2024
2024-01-01 15:25:25 +01:00
Christian Hesse
f9528f0ac5
fw-addr-lists: warn on possible truncation
...
... as fetch truncates data at about 64kB, reported in SUP-132297.
2023-12-13 15:57:28 +01:00
Christian Hesse
aba4770395
fw-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.
2023-11-30 13:51:57 +01:00
Christian Hesse
d4e5194a65
fw-addr-lists: rework the retry logic
...
... with increasing delay.
2023-10-19 21:17:03 +02:00
Christian Hesse
50429a0ad8
fw-addr-lists: no (mixed) capitalization in message
2023-09-06 11:35:02 +02:00
Christian Hesse
eb3b4d169e
fw-addr-lists: retry to download on failure
2023-06-23 09:49:34 +02:00
Christian Hesse
94b07600ba
fw-addr-lists: support domain names in lists
2023-06-13 20:26:55 +02:00
Christian Hesse
e19e33d0a8
introduce fw-addr-lists
2023-06-13 20:26:55 +02:00