Sender | Message | Time |
---|---|---|
24 Jul 2025 | ||
my hydra is being swamped by some kind of scrapper/bot/ddos they are just recursively following every link on every page, ignoring robots.txt, and causing performance problems user-agents are total garbage, even claiming to be things like macos on ppc, or linux on ppc no cookies every ip hits me up once, and then never comes back! what can be done to block this kind of garbage? | 15:21:14 | |
I essentially stole https://github.com/NixOS/infra/blob/7ee3f5c95beda825b742580178f84034ec48aa9c/non-critical-infra/hosts/staging-hydra/hydra-proxy.nix#L9 | 15:25:41 | |
and it's working surprisingly well | 15:25:49 | |
hmmm, i'm getting some like:
| 15:27:13 | |
i do see ipod in the list you linked | 15:28:05 | |
let me see what happens if i apply that..... | 15:28:30 | |
ma27: yep, i can confirm, traffic is now 403'ing and going to abuse.log! | 15:34:48 | |
some still slips thru though, but i could tweak the regex to improve that | 15:35:06 | |
even with the small bits that slip thru, the machine is basically idle now, so its all good | 16:05:22 | |
That list at least put Samsung Mobile Browsers out because they are on Chromium 130 🙃 | 23:13:55 | |
If you open Developer Tools and choose Android, you get a Nexus with Android 6 | 23:14:37 | |
Also I quickly found some friends which should have updated their Firefox more often | 23:14:55 | |
25 Jul 2025 | ||
03:22:27 | ||
I posted this in the Terranix channel, but am hoping to get more eyes on it - sorry for double posting!
| 03:24:57 | |
This is for a declarative CI/CD deployment pipeline running from a single machine | 03:26:21 | |
cleverca22, ma27, Sandro 🐧 we have moved to anubis since | 12:47:44 | |
I know | 12:48:02 | |
https://grafana.nixos.org/d/fejx5cl0i0s1sb/anubis?orgId=1&from=now-6d&to=now&timezone=utc&var-site=hydra.nixos.org:9001&viewPanel=panel-3 | 12:48:19 | |
All those live sucking AI and SEO companies 😒 | 12:48:59 | |
18:04:27 | ||
26 Jul 2025 | ||
i was considering doing that, got a link to how its all configured? | 01:45:12 | |
https://github.com/NixOS/infra/blob/main/build/hydra-proxy.nix#L14 | 01:46:51 | |
we currently have a map for some exceptions, but you likely don't need that | 01:47:12 | |
just bypass the map and point the proxyPass directly at anubis | 01:47:23 | |
I do proxy auth but that's more complicated | 11:46:58 | |
And I also patch anubis to not lie about the http status code | 11:47:11 | |
yeah, I looked into that (realistic status codes) shortly and you have to configure the whole bot policy yourself if you want to override these | 13:29:33 | |
so patching them in the source is more appealing | 13:29:39 | |
same with go-away, which has various yaml policy definitions | 13:30:00 | |
I absolutely don't want to manage my own policy list, if I can get away with it | 13:30:15 |