feat(dgn-firewall): Ban f*cking AI crawlers again
All checks were successful
Check meta / check_dns (pull_request) Successful in 15s
Check meta / check_meta (pull_request) Successful in 15s
Build all the nodes / netcore02 (pull_request) Successful in 21s
Check workflows / check_workflows (pull_request) Successful in 22s
Build all the nodes / ap01 (pull_request) Successful in 1m13s
Build all the nodes / geo02 (pull_request) Successful in 1m57s
Build all the nodes / bridge01 (pull_request) Successful in 1m59s
Build all the nodes / storage01 (pull_request) Successful in 2m11s
Build the shell / build-shell (pull_request) Successful in 35s
Run pre-commit on all files / pre-commit (pull_request) Successful in 38s
Build all the nodes / web03 (pull_request) Successful in 1m44s
Build all the nodes / hypervisor03 (pull_request) Successful in 2m59s
Build all the nodes / web02 (pull_request) Successful in 3m4s
Build all the nodes / hypervisor02 (pull_request) Successful in 3m26s
Build all the nodes / rescue01 (pull_request) Successful in 3m40s
Build all the nodes / hypervisor01 (pull_request) Successful in 3m43s
Build all the nodes / tower01 (pull_request) Successful in 3m32s
Build all the nodes / geo01 (pull_request) Successful in 3m48s
Build all the nodes / vault01 (pull_request) Successful in 3m38s
Build all the nodes / build01 (pull_request) Successful in 3m57s
Build all the nodes / web01 (pull_request) Successful in 4m4s
Build all the nodes / compute01 (pull_request) Successful in 4m25s
Build all the nodes / netcore02 (push) Successful in 22s
Build all the nodes / ap01 (push) Successful in 34s
Build all the nodes / bridge01 (push) Successful in 1m53s
Build all the nodes / hypervisor02 (push) Successful in 2m9s
Build all the nodes / build01 (push) Successful in 2m13s
Build all the nodes / hypervisor01 (push) Successful in 2m14s
Build all the nodes / geo01 (push) Successful in 2m17s
Build the shell / build-shell (push) Successful in 33s
Build all the nodes / geo02 (push) Successful in 2m36s
Build all the nodes / tower01 (push) Successful in 2m37s
Build all the nodes / web03 (push) Successful in 2m4s
Build all the nodes / storage01 (push) Successful in 2m38s
Run pre-commit on all files / pre-commit (push) Successful in 30s
Build all the nodes / hypervisor03 (push) Successful in 2m44s
Build all the nodes / web02 (push) Successful in 2m23s
Build all the nodes / compute01 (push) Successful in 2m47s
Build all the nodes / rescue01 (push) Successful in 2m53s
Build all the nodes / web01 (push) Successful in 2m55s
Build all the nodes / vault01 (push) Successful in 2m57s
All checks were successful
Check meta / check_dns (pull_request) Successful in 15s
Check meta / check_meta (pull_request) Successful in 15s
Build all the nodes / netcore02 (pull_request) Successful in 21s
Check workflows / check_workflows (pull_request) Successful in 22s
Build all the nodes / ap01 (pull_request) Successful in 1m13s
Build all the nodes / geo02 (pull_request) Successful in 1m57s
Build all the nodes / bridge01 (pull_request) Successful in 1m59s
Build all the nodes / storage01 (pull_request) Successful in 2m11s
Build the shell / build-shell (pull_request) Successful in 35s
Run pre-commit on all files / pre-commit (pull_request) Successful in 38s
Build all the nodes / web03 (pull_request) Successful in 1m44s
Build all the nodes / hypervisor03 (pull_request) Successful in 2m59s
Build all the nodes / web02 (pull_request) Successful in 3m4s
Build all the nodes / hypervisor02 (pull_request) Successful in 3m26s
Build all the nodes / rescue01 (pull_request) Successful in 3m40s
Build all the nodes / hypervisor01 (pull_request) Successful in 3m43s
Build all the nodes / tower01 (pull_request) Successful in 3m32s
Build all the nodes / geo01 (pull_request) Successful in 3m48s
Build all the nodes / vault01 (pull_request) Successful in 3m38s
Build all the nodes / build01 (pull_request) Successful in 3m57s
Build all the nodes / web01 (pull_request) Successful in 4m4s
Build all the nodes / compute01 (pull_request) Successful in 4m25s
Build all the nodes / netcore02 (push) Successful in 22s
Build all the nodes / ap01 (push) Successful in 34s
Build all the nodes / bridge01 (push) Successful in 1m53s
Build all the nodes / hypervisor02 (push) Successful in 2m9s
Build all the nodes / build01 (push) Successful in 2m13s
Build all the nodes / hypervisor01 (push) Successful in 2m14s
Build all the nodes / geo01 (push) Successful in 2m17s
Build the shell / build-shell (push) Successful in 33s
Build all the nodes / geo02 (push) Successful in 2m36s
Build all the nodes / tower01 (push) Successful in 2m37s
Build all the nodes / web03 (push) Successful in 2m4s
Build all the nodes / storage01 (push) Successful in 2m38s
Run pre-commit on all files / pre-commit (push) Successful in 30s
Build all the nodes / hypervisor03 (push) Successful in 2m44s
Build all the nodes / web02 (push) Successful in 2m23s
Build all the nodes / compute01 (push) Successful in 2m47s
Build all the nodes / rescue01 (push) Successful in 2m53s
Build all the nodes / web01 (push) Successful in 2m55s
Build all the nodes / vault01 (push) Successful in 2m57s
This commit is contained in:
parent
fa2aefdb9a
commit
b263c1fc84
2 changed files with 18 additions and 3 deletions
|
@ -86,9 +86,12 @@ in
|
|||
|
||||
stop = [ (nft "delete table inet reaction") ];
|
||||
|
||||
streams = {
|
||||
streams =
|
||||
{
|
||||
inherit (streams') ssh;
|
||||
} // (optionalAttrs config.services.nginx.enable { inherit (streams') ai-crawlers; });
|
||||
}
|
||||
// (optionalAttrs config.services.nginx.enable { inherit (streams') ai-crawlers; })
|
||||
// (optionalAttrs config.services.forgejo.enable { inherit (streams') forgejo-slow-crawlers; });
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -63,6 +63,18 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
forgejo-slow-crawlers = {
|
||||
cmd = journalctl "forgejo";
|
||||
filters.slowness = {
|
||||
regex = [
|
||||
"router: slow .* GET /.* for <ip>:0, elapsed .*"
|
||||
];
|
||||
actions = ban "72h";
|
||||
retry = 15;
|
||||
retryPeriod = "2h";
|
||||
};
|
||||
};
|
||||
|
||||
ssh = {
|
||||
cmd = journalctl "sshd";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue