Age | Commit message (Expand) | Author | Files | Lines |
6 days | fw-addr-lists: use my static mirrorHEADstagingmain | Christian Hesse | 1 | -3/+3 |
6 days | BRANCHES: adopt new default url | Christian Hesse | 1 | -3/+3 |
6 days | global-config: download scripts from rsc.eworm.de•••Currently AI bots are crawling website all around the world. For a
website hosting git content this adds a lot of extra load and traffic:
The site has lots of sections, repositories have a lot of files,
branches, tags, commit ids, etc...
Multiply that and you have a nearly unlimited number of unique urls. The
bots try to get each and every of these.
To speed up the learing process on their side a swarm of hundreds,
thousands or more ip addresses is active at the same time, ultimately
DDOS'ing the websites, making it inaccessible. 😳🤬
Well, there is one single file all of these AI bots are not interested
in: robots.txt 🤬🤬
On top some use random user agent strings, making filtering impossible.
🤬🤬🤬
For a short term sulution I deploy the repository content as static
files, hopefully making these accessible at least. We will see.
| Christian Hesse | 1 | -2/+4 |
8 days | fw-addr-lists: spamhaus.org returned to 'GTS Root R4' | Christian Hesse | 2 | -3/+3 |
2025-01-09 | ppp-on-up: release only bound ipv6 dhcp clients | Christian Hesse | 1 | -1/+1 |
2025-01-06 | packages-update: refuse when running from backup partition | Christian Hesse | 1 | -0/+6 |
2025-01-06 | check-routeros-update: refuse when running from backup partition | Christian Hesse | 1 | -0/+7 |
2025-01-06 | backup-upload: refuse when running from backup partition | Christian Hesse | 1 | -0/+8 |
2025-01-06 | backup-partition: refuse when running from backup partition | Christian Hesse | 1 | -0/+7 |
2025-01-06 | backup-email: refuse when running from backup partition | Christian Hesse | 1 | -0/+8 |
2025-01-06 | backup-cloud: refuse when running from backup partition | Christian Hesse | 1 | -0/+8 |
2025-01-02 | update copyright for 2025 | Christian Hesse | 77 | -77/+77 |
2024-12-30 | global-functions: $WaitForFile: drop the first workaround•••This reverts commit 8231c3e833ee83a118f4d8395c097e6a9f312c2f.
Truned out this workaround was not sufficient, see the follow-up in
commit 191cc1b952b469c474b0181ebdee0ccfd47ae75b for details.
But possibly the second one does it on its own? Reverting this for
a test run.
| Christian Hesse | 1 | -10/+0 |
2024-12-30 | global-functions: $FetchHuge: another workaround for complete file•••Turns out the workaround in $WaitForFile (commit
8231c3e833ee83a118f4d8395c097e6a9f312c2f) is not sufficient. It helps
sometimes, but not always. Possibly depends on CPU speed and bandwidth
of internet connection... Who knows!? 🤪
But! Reading the file goes beyond the known file size. That's suspicious
and indicates this exact issue. So add a delay, and keep reading until
sizes are equal.
| Christian Hesse | 1 | -1/+5 |
2024-12-30 | fw-addr-lists: spamhaus.org returned to 'ISRG Root X1'•••This reverts commit 4d8dce97691ad090091574a790449a7bd564023c.
| Christian Hesse | 2 | -3/+3 |
2024-12-25 | global-functions: $ParseKeyValueStore: support JSON as input•••This used to require a key=value store, separated with commas. An
example for `netwatch-notify` is:
/tool/netwatch/add comment="notify, name=example.com" host=93.184.215.14;
Now JSON is supported as well, so you could use:
/tool/netwatch/add comment="{\"notify\":true,\"name\":\"example.com\"}" host=93.184.215.14;
Looks more clumsy here, but may be of help in more complex setups...
| Christian Hesse | 1 | -0/+7 |
2024-12-25 | global-functions: $ParseKeyValueStore: properly return boolean values | Christian Hesse | 1 | -0/+2 |
2024-12-25 | global-functions: $ParseKeyValueStore: split key and value...•••... into separate variables.
| Christian Hesse | 1 | -2/+3 |
2024-12-17 | mod/notification-ntfy: add basic authentication in headers•••This makes it a bit easier and straight forward as we pass the
headers anyway.
| Christian Hesse | 1 | -3/+6 |
2024-12-17 | mod/notification-ntfy: support authentication with bearer token•••Closes: https://github.com/eworm-de/routeros-scripts/issues/86
| Christian Hesse | 3 | -0/+9 |
2024-12-17 | fw-addr-lists: do not fail on invalid json data | Christian Hesse | 1 | -1/+3 |
2024-12-17 | mod/notification-email: $FlushEmailQueue: just return on empty queue | Christian Hesse | 1 | -0/+4 |
2024-12-17 | mod/notification-email: $FlushEmailQueue: move the check up...•••... as this needs to be done before creating a scheduler. 😜
Also remove the scheduler and return.
| Christian Hesse | 1 | -4/+6 |
2024-12-17 | mod/notification-email: $FlushEmailQueue: create scheduler if missing...•••... as it is required to be modified several times below.
| Christian Hesse | 1 | -2/+8 |
2024-12-17 | mod/notification-email: $FlushEmailQueue: return on purge | Christian Hesse | 1 | -0/+6 |
2024-12-17 | mod/notification-email: $FlushEmailQueue: return on success | Christian Hesse | 1 | -3/+4 |
2024-12-17 | global-functions: $WaitForFile: delay until "complete"...•••Well, turns out that waiting for existence of a file is not sufficient.
Chances are that a file is available just partly, so wait until the size
no longer changes... Let's hope that works as expected. 🤞
| Christian Hesse | 1 | -0/+10 |
2024-12-17 | mode-button: support led toggle without extra script | Christian Hesse | 1 | -1/+1 |
2024-12-17 | leds-toggle-mode: toggle in one call...•••... and drop the condition.
| Christian Hesse | 1 | -5/+1 |
2024-12-17 | mod/notification-email: increase retry interval on failure | Christian Hesse | 1 | -2/+4 |
2024-12-17 | mod/notification-email: drop useless safeguard•••Guess it was useful back in the day. Now the function exits early if the
queue is empty... So this can never be zero.
| Christian Hesse | 1 | -1/+1 |
2024-12-09 | Merge branch 'func-exit-error' into next | Christian Hesse | 12 | -39/+77 |
2024-12-09 | mode-button: $ModeButtonScheduler: explicitly name the variable | Christian Hesse | 1 | -4/+8 |
2024-12-09 | mod/ssh-keys-import: $SSHKeysImportFile: use $ExitError to indicate unintenti... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | check-routeros-update: pass script name to local function | Christian Hesse | 1 | -6/+8 |
2024-12-09 | mod/ssh-keys-import: $SSHKeysImport: use $ExitError to indicate unintentional... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | Merge branch 'exit-error' into next | Christian Hesse | 57 | -57/+359 |
2024-12-09 | mod/scriptrunonce: $ScriptRunOnce: use $ExitError to indicate unintentional e... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | global-functions: $FetchHuge: passing boolean to function is still broken... ... | Christian Hesse | 1 | -4/+4 |
2024-12-09 | update-tunnelbroker: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
2024-12-09 | mod/notification-telegram: $SendTelegram: use $ExitError to indicate unintent... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | update-gre-address: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | mod/notification-telegram: $FlushTelegramQueue: use $ExitError to indicate un... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | telegram-chat: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+8 |
2024-12-09 | mod/notification-ntfy: $SendNtfy: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+4 |
2024-12-09 | sms-forward: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
2024-12-09 | mod/notification-ntfy: $FlushNtfyQueue: use $ExitError to indicate unintentio... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | sms-action: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | mod/notification-matrix: $SendMatrix: use $ExitError to indicate unintentiona... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | ppp-on-up: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | mod/notification-matrix: $FlushMatrixQueue: use $ExitError to indicate uninte... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | packages-update: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+13 |
2024-12-09 | mod/notification-email: $SendEMail: use $ExitError to indicate unintentional ... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | ospf-to-leds: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | mod/notification-email: $FlushEmailQueue: use $ExitError to indicate unintent... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | netwatch-notify: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | mod/ipcalc: $IPCalc: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+4 |
2024-12-09 | netwatch-dns: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+8 |
2024-12-09 | mod/inspectvar: $InspectVar: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+4 |
2024-12-09 | mode-button: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+4 |
2024-12-09 | mod/bridge-port-vlan: $BridgePortVlan: use $ExitError to indicate unintention... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | log-forward: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+6 |
2024-12-09 | mod/bridge-port-to: $BridgePortTo: use $ExitError to indicate unintentional e... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | lease-script: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
2024-12-09 | mode-button: $ModeButtonScheduler: use $ExitError to indicate unintentional e... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | ipv6-update: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
2024-12-09 | global-functions: $SendNotification: use $ExitError to indicate unintentional... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | ipsec-to-dns: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | global-functions: $ScriptInstallUpdate: use $ExitError to indicate unintentio... | Christian Hesse | 1 | -2/+4 |
2024-12-09 | hotspot-to-wpa: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+21 |
2024-12-09 | global-functions: $ExitError: give matching message for functions | Christian Hesse | 1 | -3/+5 |
2024-12-09 | hotspot-to-wpa-cleanup: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+15 |
2024-12-09 | gps-track: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | fw-addr-lists: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | firmware-upgrade-reboot: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
2024-12-09 | dhcp-to-dns: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | dhcp-lease-comment: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+20 |
2024-12-09 | daily-psk.capsman: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+20 |
2024-12-09 | collect-wireless-mac: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+20 |
2024-12-09 | check-routeros-update: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+25 |
2024-12-09 | check-lte-firmware-upgrade: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | check-health: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+6 |
2024-12-09 | check-certificates: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | certificate-renew-issued: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
2024-12-09 | capsman-rolling-upgrade: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+15 |
2024-12-09 | capsman-download-packages: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+21 |
2024-12-09 | backup-upload: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
2024-12-09 | backup-partition: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+11 |
2024-12-09 | accesslist-duplicates: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+16 |
2024-12-09 | backup-email: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+9 |
2024-12-09 | backup-cloud: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+6 |
2024-12-09 | global-functions: $ExitError: give script name in message | Christian Hesse | 1 | -1/+1 |
2024-12-09 | global-functions: introduce $ExitError...•••... as a simple macro to print error message on unintentional error.
| Christian Hesse | 1 | -0/+13 |
2024-11-27 | netwatch-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release
7.16 as that is available meanwhile).
routeros-7.16-7 | Christian Hesse | 2 | -3/+3 |
2024-11-27 | dhcp-to-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release
7.16 as that is available meanwhile).
I had this on my wishlist for a long time, and opened an issue in
March 2023 about it (SUP-111312).
Back then I changed the code to support both, see commit
779b3b8872b23b784c331d7a454c86439046f5d3.
routeros-7.16-6 | Christian Hesse | 2 | -5/+5 |
2024-11-27 | mod/ssh-keys-import: require RouterOS 7.16•••Actually the requirement bumped with the change in commits:
* 9c945b1a3283bb352707c69630c579cf82484dcb
mod/ssh-keys-import: $SSHKeysImportFile: simplify looping lines
* 1f526b356121749991fee69cee5a6c728855c8f2
mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`
routeros-7.16-5 | Christian Hesse | 2 | -2/+2 |
2024-11-27 | fw-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-4 | Christian Hesse | 2 | -2/+2 |
2024-11-22 | fw-addr-lists: spamhaus.org returned to 'GTS Root R4' | Christian Hesse | 2 | -3/+3 |
2024-11-15 | mode-button: do not act on disabled LED | Christian Hesse | 1 | -1/+2 |
2024-11-15 | mode-button: catch runtime errors in executed code | Christian Hesse | 1 | -1/+5 |