24 ms·
End of an era for me: no more self-hosted git
- sdf2erf 10mo ago[dead]
- Jaxkr 10mo agoThe author of this post could solve their problem with Cloudflare or any of its numerous competitors. Cloudflare will even do it for free.
- rubiquity 10mo agoThe scrapers should use some discretion. There are some rather obvious optimizations. Content that is not changing is less likely to change in the future.
- JohnTHaller 10mo agoThey don't care. It's the reason they ignore robots.txt and change up their useragents when you specifically block them.
- isodev 10mo agoI think the point of the post was how something useless (AI) and its poorly implemented scrapers is wrecking havoc in a way that’s turning the internet into a digital desert. That Cloudflare is trying to monetise “protection from AI” is just another grift in the sense that they can’t help themselves as a corp.
- denkmoon 10mo agoCool, I can take all my self hosted stuff and stick it behind centralised enterprise tech to solve a problem caused by enterprise tech. Why even bother?
- FeteCommuniste 10mo ago"Cause a problem and then sell the solution" proves a winning business strategy once more.
- fouc 10mo agoyou don't understand what self-hosting means. self-hosting means the site is still up when AWS and Cloudflare go down.
- the_fall 10mo agoThey don't. I'm using Cloudflare and 90%+ of the traffic I'm getting are still broken scrapers, a lot of them coming through residential proxies. I don't know what they block, but they're not very good at that. Or, to be more fair: I think the scrapers have gotten really good at what they do because there's real money to be made.
- esseph 10mo agoProbably more money in scraping than protection...
- overgard 10mo agoI'm pretty sure scrapers aren't supposed to act as low key DOS attacks
- simonw 10mo agoCloudflare won't save you from this - see my comment here: https://news.ycombinator.com/item?id=46969751#46970522 https://news.ycombinator.com/item?id=46969751#46970522
- aspenmayer 9mo agoParent of your comment became [flagged][dead], which broke your in-context link. A direct link works, however: https://news.ycombinator.com/item?id=46970522 https://news.ycombinator.com/item?id=46970522
- Semaphor 10mo agoFor logging, statistics etc. we have the Cloudflare bot protection on the standard paid level, ignore all IPs not from Europe (rough geolocation), and still have over twice the amount of bots that we had ~2 years ago.
- Shorel 10mo agoCloudflare seems to be taking over all of the last mile web traffic, and this extreme centralization sounds really bad to me. We should be able to achieve close to the same results with some configuration changes. AWS / Azure / Cloudflare total centralization means no one will be able to self host anything, which is exactly the point of this post.
- CuriouslyC 10mo agoDoes this author have a big pre-established audience or something? Struggling to understand why this is front-page worthy.
- bibimsz 10mo agothe era of mourning has begun
- fouc 10mo agobecause he's unable to self-host git anymore because AI bots are hammering it to submit PRs. self-hosting was originally a "right" we had upon gaining access to the internet in the 90s, it was the main point of the hyper text transfer protocol.
- geerlingguy 10mo agoAlso converting the blog from something dynamic to a static site generator. I made the same switch partly for ease of maintenance, but a side benefit is it's more resilient to this horrible modern era of scrapers far outnumbering legitimate traffic. It's painful to have your site offline because a scraper has channeled itself 17,000 layers deep through tag links (which are set to nofollow, and ignored in robots.txt, but the scraper doesn't care). And it's especially annoying when that happens on a daily basis. Not everyone wants to put their site behind Cloudflare.
- tanduv 10mo agosorry if i missed it, but the original post doesn't say anything about PRs... the bots only seem to be scraping the content
- fouc 10mo agooh you're right, I read "pointless requests" as "PRs", oops!
- jaunt7632 10mo ago[dead]
- data-ottawa 10mo agoDoes anyone know what's the deal with these scrapers, or why they're attributed to AI? I would assume any halfway competent LLM driven scraper would see a mass of 404s and stop. If they're just collecting data to train LLMs, these seem like exceptionally poorly written and abusive scrapers written the normal way, but by more bad actors. Are we seeing these scrapers using LLMs to bypass auth or run more sophisticated flows? I have not worked on bot detection the last few years, but it was very common for residential proxy based scrapers to hammer sites for years, so I'm wondering what's different.
- themafia 10mo agoThere's value to be had in ripping the copyright off your stuff so someone else can pass it off as their stuff. LLMs have no technical improvements so all they can do is throw more and more stolen data into it and hope it, somehow, crosses a nebulous "threshold" where it suddenly becomes actually profitable to use and sell. It's a race to the bottom. What's different is we're much closer to the bottom now.
- deleted 10mo ago[deleted]
- hsuduebc2 10mo agoI’m guessing, but I think a big portion of AI requests now come from agents pulling data specifically to answer a user’s question. I don’t think that data is collected mainly for training now but are mostly retrieved and fed into LLMs so they can generate the response. Thus so many repeated requests.
- simonw 10mo agoI would love to understand this. Just a few years ago badly behaved scrapers were rare enough not to be worth worrying about. Today they are such a menace that hooking any dynamic site up to a pay-to-scale hosting platform like Vercel or Cloud Run can trigger terrifying bills on very short notice. "It's for AI" feels like lazy reasoning for me... but what IS it for? One guess: maybe there's enough of a market now for buying freshly updated scrapes of the web that it's worth a bunch of chancers running a scrape. But who are the customers?
- Lerc 10mo agoI presume people have logs that indicate the source for them to place blame on AI scrapers. Is anybody making these available for analysis so we can see exactly who is doing this?
- JohnTHaller 10mo agoThe big nasty AI bots use 10s of thousands of IPs distributed all over China
- krick 10mo agoSo... just blacklist all China IPs? I assume China isn't the primary market for most of complaining site-owners.
- yellowapple 9mo agoI wonder if shoving > 动态网自由门 天安門 天安门 法輪功 李洪志 Free Tibet 六四天安門事件 The Tiananmen Square protests of 1989 天安門大屠殺 The Tiananmen Square Massacre 反右派鬥爭 The Anti-Rightist Struggle 大躍進政策 The Great Leap Forward 文化大革命 The Great Proletarian Cultural Revolution 人權 Human Rights 民運 Democratization 自由 Freedom 獨立 Independence 多黨制 Multi-party system 台灣 臺灣 Taiwan Formosa 中華民國 Republic of China 西藏 土伯特 唐古特 Tibet 達賴喇嘛 Dalai Lama 法輪功 Falun Dafa 新疆維吾爾自治區 The Xinjiang Uyghur Autonomous Region 諾貝爾和平獎 Nobel Peace Prize 劉暁波 Liu Xiaobo 民主 言論 思想 反共 反革命 抗議 運動 騷亂 暴亂 騷擾 擾亂 抗暴 平反 維權 示威游行 李洪志 法輪大法 大法弟子 強制斷種 強制堕胎 民族淨化 人體實驗 肅清 胡耀邦 趙紫陽 魏京生 王丹 還政於民 和平演變 激流中國 北京之春 大紀元時報 九評論共産黨 獨裁 專制 壓制 統一 監視 鎮壓 迫害 侵略 掠奪 破壞 拷問 屠殺 活摘器官 誘拐 買賣人口 遊進 走私 毒品 賣淫 春畫 賭博 六合彩 天安門 天安门 法輪功 李洪志 Winnie the Pooh 劉曉波动态网自由门 into the headers of every response would be enough to kill off the worst-offending traffic?
- notachatbot123 10mo agoMillions and all over the world
- esseph 10mo agoA lot of compromised home devices and cheap servers proxying traffic, from all over the world.
- oceanplexian 10mo ago[flagged]
- QuiDortDine 10mo agoNot sure why you're talking like OP pissed in your cheerios. They are a victim of a broken system, it shouldn't be on them to spend more effort protecting their stuff from careless-to-malicious actors.
- simonw 10mo agoA varnish cache won't help you if you're running something like a code forge where every commit has its own page - often more than one page, there's the page for the commit and then the page for "history from this commit" and a page for every one of the files that existed in the repo at the time of that commit... Then a poorly written crawler shows up and requests 10,000s of pages that haven't been requested recently enough to be in your cache. I had to add a Cloudflare Captcha to the /search/ page of my blog because of my faceted search engine - which produces may thousands of unique URLs when you consider tags and dates and pagination and sort-by settings. And that's despite me serving ever page on my site through a 15 minute Cloudflare cache! Static only works fine for sites that have a limited number of pages. It doesn't work for sites that truly take advantage of the dynamic nature of the web.
- ninjin 10mo agoExactly. The problem is that by their very nature some content has to be dynamically generated. Just to add further emphasis as to how absurd the current situation is. I host my own repositories with gotd(8) and gotwebd(8) to share within a small circle of people. There is no link on the Internet to the HTTP site served by gotwebd(8), so they fished the subdomain out of the main TLS certificate. I am getting hit once every few seconds for the last six or so months by crawlers ignoring the robots.txt (of course) and wandering aimlessly around "high-value" pages like my OpenBSD repository forks calling blame, diff, etc. Still managing just fine to serve things to real people, despite me at times having two to three cores running at full load to serve pointless requests. Maybe I will bother to address this at some point as this is melting the ice caps and wearing my disks out, but for now I hope they will choke on the data at some point and that it will make their models worse.
- hattmall 10mo agoCan we not charge for access? If I have a link, that says "By clicking this link you agree to pay $10 for each access" then sending the bill?
- M95D 10mo agoSend it where?
- hattmall 9mo agoIf you can identify the IP / User-agent of the bot then to the registered agent of that corporation. If the IP isn't one you can link to a crawler directly then subpoena the provider just like in an infringement action.
- simonw 10mo agoCloudflare launched a product to do that last year: https://blog.cloudflare.com/introducing-pay-per-crawl/ https://blog.cloudflare.com/introducing-pay-per-crawl/ I have no idea if it actually works as advertised though. I don't think I've heard from anyone trying it.
- devsda 10mo agoAt this point, I think we should look at implementing filters that send different response when AI bots are detected or when the clients are abusive. Not just simple response code but one that poisons their training data. Preferably text that elaborates on the anti consumer practices of tech companies. If there is a common text pool used across sites, may be that will get the attention of bot developers and automatically force them to backdown when they see such responses.
- fennec-posix 10mo agohttps://anubis.techaro.lol/docs/admin/honeypot/overview https://anubis.techaro.lol/docs/admin/honeypot/overview The Anubis scraper protection has this as a feature. Just sends garbage if something falls into a trap.
- Vexs 10mo agoYou know, I reckon if you serve up smut or instructions on bomb creation or something they stop hammering you...
- Imustaskforhelp 10mo agoI think that they actually do. I remember either some discussion (so a HN post) or a HN comment actually talking about it. Oh I should've favourited it but yes this (sort of) actually works (Maybe someone can test it?)
- JohnTHaller 10mo agoThe Chinese AI scrapers/bots are killing quite a bit of the regular web now. YisouSpider absolutely pummeled my open source project's hosting for weeks. Like all Chinese AI scrapers, it ignores robots.txt. So forget about it respecting a Crawl-delay. If you block the user agent, it would calm down for a bit, then it would just come back again using a generic browser user agent from the same IP addresses. It does this across 10s of thousands of IPs.
- kevin_thibedeau 10mo agoStart blocking /16s.
- mono442 10mo agoJust block the whole China, India and similar countries.
- AlexeyBelov 9mo agoYou'd need to block the US as well, as most such traffic comes from there. Which is not really reasonable.
- olivia-banks 9mo agoI had no idea Yisou was still around, or did somebody buy them? I'm not as up to date on Chinese tech as I should be.
- october8140 10mo agoYou could put it behind Cloudflare and block all AI.
- Joel_Mckay 10mo agoSome run git over ssh, and a domain login for https:// permission manager etc. Also, spider traps and 42TB zip of death pages work well on poorly written scrapers that ignored robots.txt =3
- vachina 10mo agoScrapers are relentless but not DDoS levels in my experience. Make sure your caches are warm and responses take no more than 5ms to construct.
- watermelon0 10mo agoGreat, now we need caching for something that's seldom (relatively speaking) used by people. Let's not forget that scrapers can be quite stupid. For example, if you have phpBB installed, which by defaults puts session ID as query parameter if cookies are disabled, many scrapers will scrape every URL numerous times, with a different session ID. Cache also doesn't help you here, since URLs are unique per visitor.
- kimos 10mo agoYou’re describing changing the base assumption for software reachable on the internet. “Assume all possible unauthenticated urls will be hit basically constantly”. Bots used to exist but they were rare traffic spikes that would usually behave well and could mostly be ignored. No longer.
- mzajc 10mo agoI'm also dealing with a scraper flood on a cgit instance. These conclusions come from just under 4M lines of logs collected in a 24h period. - Caching helps, but is nowhere near a complete solution. Of the 4M requests I've observed 1.5M unique paths, which still overloads my server. - Limiting request time might work, but is more likely to just cause issues for legitimate visitors. 5ms is not a lot for cgit, but with a higher limit you are unlikely to keep up with the flood of requests. - IP ratelimiting is useless. I've observed 2M unique IPs, and the top one from the botnet only made 400 well-spaced-out requests. - GeoIP blocking does wonders - just 5 countries (VN, US, BR, BD, IN) are responsible for 50% of all requests. Unfortunately, this also causes problems for legitimate users. - User-Agent blocking can catch some odd requests, but I haven't been able to make much use of it besides adding a few static rules. Maybe it could do more with TLS request fingerprinting, but that doesn't seem trivial to set up on nginx.
- krick 10mo agoSo, what's up with these bots, why am I hearing about that so often lately? I mean, DDoS atacks aren't a new thing, and, honestly, this is pretty much the reason why Cloudflare even exists, but I'd expect OpenAI bots (or whatever this is now) to be a little bit easier to deal with, no? Like, simply having resonable aggressive fail2ban policy? Or do they really behave like a botnet, where each request comes from different IP from a different network? How? Why? What is this thing?
- recursivecaveat 10mo agoI doubt it's OpenAI. Maaaybe somebody who sells to OpenAI, but probably not. I think they're big enough to do this mostly in-house and properly. Before AI only big players would want a scrape of the entire internet, they could write quality bots, cooperate, behave themselves, etc. Now every 3rd tier lab wants that data and a billion startups want to sell it, so it's a wild west of bad behavior and bad implementations. They do use residential IP sets as well.
- reppap 10mo agoStop just making up excuses for these companies. Other comments on this story have showed the bots are using openai user agents and making requests from openai owned ip ranges.
- shimman 9mo agoIt's like how we "can't" stop spam callers when telecoms know exactly who is calling who, they just don't want to implement any protocols that benefit society because they rather make money while fucking over everyone.
- mikepavone 9mo agoAs someone with a self-hosted Mercurial instance dealing with this, I will say that the big names (OpenAI included, but not exclusively them) generally at least use proper user-agents and respect robots.txt, but they are still needlessly aggressive compared to traditional search indexers. There are also scrapers that are hiding behind normal browser user agents. When I looked at IP ranges, at least some of them seemed to be coming from data centers in China.
- ptman 10mo agoMaybe put the git repos on radicle?
- kristjank 10mo agoIs there a way to block it by shibboleth? Curious, since the recent Google hack where you add -(n-word) to the end of your query so the AI automatically shuts down works like a charm.
- wasmainiac 10mo agoI Did not know this! Thanks man!
- deleted 9mo ago[deleted]
- j-bos 9mo agoAlternatively Anthropic has ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86 baked into their models. Maybe OpenAI and other have equivalents.
- mschuster91 9mo agoI have no doubt that it works and it's hilarious that it works, but is there a way that does not involve my Google search history look like I've applied for a KKK membership?
- jubalfh 9mo ago`-fuck` works just as well. i guess using the n-word is just a telling and personal choice of the OP.
- kristjank 9mo agoThat's the form I saw on social media and replicated, but I understand how that reflects upon me, and I'm sorry for that. Best way is to just use SearxNG anyways.
- kristjank 9mo agoYou can try to use other nasty words, but a lot of technical discussions seem to still include an occasional fck or sht, and would get consequently excluded from the search results. This is especially common on reddit where sometimes recommended article titles sneak into the indexed page text, which often contain profanity. On the contrary, almost none of them ever include racial slurs (and even if they do, I doubt such a distinguished audience has the answer to my questions)
- t312227 10mo agohello, as always: imho. (!) idk ... i just put a http basic-auth in front of my gitweb instance years ago. if i really ever want to put git-repositories into the open web again i either push them to some portal - github, gitlab, ... - or start thinking about how to solve this ;)) just my 0.02€
- madduci 10mo agoI've put everything behind a Wireguard Server, so if I need something, I can access to it through VPN and AI can't do anything
- t312227 9mo agohello, as always: imho. (!) btw. thanks for the downvote. its for sure better to kill your own infrastructure because of some AI crawlers - buhuuuu ... bad bots!! - than to solve your problem with a stupid simple but effective solution. just as an idea: if i had to host public repositories i would think about how to disable costly operations - searches etc. - for anonymous access ... like github did. just my 0.02€
- snorremd 10mo agoI've recently been setting up web servers like Forgejo and Mattermost to service my own and friends' needs. I ended up setting up Crowdsec to parse and analyse access logs from Traefik to block bad actors that way. So when someone produces a bunch of 4XX codes in a short timeframe I assume that IP is malicious and can be banned for a couple of hours. Seems to deter a lot of random scraping. Doesn't stop well behaved crawlers though which should only produce 200-codes. I'm actually not sure how I would go about stopping AI crawlers that are reasonably well behaved considering they apparently don't identify themselves correctly and will ignore robots.txt.
- V__ 10mo agoIf possible block I would block by country first. Even on public websites I block Russia/China by default and that reduced port scans etc. On "private" services where I or my friends are the only users, I block everything except my country.
- lowdude 10mo agoThere was a comment in a different thread that suggested they may respect the robots.txt for the most part, but may ignore wildcards: https://news.ycombinator.com/item?id=46975726 https://news.ycombinator.com/item?id=46975726 Maybe this is worth trying out first, if you are currently having issues.
- moebrowne 10mo agoThis kind of thing can be mitigated by not publishing a page/download for every single branch, commit and diff in a repo. Make only the HEAD of each branch available. Anyone who wants more detail has to clone it and view it with their favourite git client. For example https://mitxela.com/projects/web-git-sum https://mitxela.com/projects/web-git-sum (https://git.mitxela.com/ https://git.mitxela.com/)
- Imustaskforhelp 10mo agoI got another interesting idea from this and another comment but what if we combine this with ssh git clients/websites with the normal ability. maybe something like https://ssheasy.com/ https://ssheasy.com/ or similar could also be used? or maybe even a gotty/xterm instance which could automatically ssh/get a tui like interface. I feel as if this would for all scrapers be enough?
- bandie91 9mo agoi'm working on something similar: instead of web-based ssh client, it's a web-based git client UI - you can "checkout" repos, browse commits, tree, read individual files, etc. with no server-side code at all; git objects are fetched and parsed on client-side. first target is the dumb-http git protocol, so people can host git repos on static websites, and visitors don´t need to clone by a local git client to peek in. https://bandie91.github.io/dumb-http-git-browser-js-app/ui.html?repo=https://corsproxy.io/%253Furl=http://git.bitinfo.hu/sysop/dumb-git-viewer-js https://bandie91.github.io/dumb-http-git-browser-js-app/ui.h...
- HumanOstrich 9mo ago[flagged]
- Imustaskforhelp 9mo agoThis is really not the type of legacy that I want to leave behind on hackernews but then again, I have been vocal that I just write what I think. Literally. It has its flaws but I am not sugar coating it. Sometimes I am unable to explain myself but the thing is that I write on HN to point out of some idea, some discussion. It's better written here than lost and yes most of my ideas might be incoherent but they make perfect sense to me in the moment, its quite hard to explain. It seems that you have made an opinion & judgement about me and that's okay. I don't wish to change it. I suppose while writing your comment, you must have been quite pissed to write it. Sorry for pissing you off in such sense, That wasn't my intention but I do hope that you can realize that your comment comes across as rude and quite frankly, I don't know how to respond to it and I don't want to throw myself to this level or continue in an argumentative tone. We are more common than different actually. I suppose we both love open source and might share many hobbies. The difference is small when you think about it. I hope that instead of fighting on our differences, we can work with our agreements. Teach me instead of such tone for I am interested in learning & let's hope that both of us and everyone can make a better future for the world & everyone living in it :D Have a nice day, my friend. Hope the future's good for ya! So answer me this, what's your favourite open source project and why? and I will answer mine when you respond later :]
- Amol-917 10mo ago[flagged]
- kstrauser 10mo agoI cut traffic to my Forgejo server from about 600K request per day to about 1000: https://honeypot.net/2025/12/22/i-read-yann-espositos-blog.html https://honeypot.net/2025/12/22/i-read-yann-espositos-blog.h... 1. Anubis is a miracle. 2. Because most scrapers suck, I require all requests to include a shibboleth cookie, and if they don’t, I set it and use JavaScript to tell them to reload the page. Real browsers don’t bat an eye at this. Most scrapers can’t manage it. (This wasn’t my idea; I link to the inspiration for it. I just included my Caddy-specific instructions for implementing it.)
- QuiDortDine 10mo agoI remember back when Anubis came out, some naysayers on here were saying it wouldn't work for long because the scrapers would adapt. Turns out careless, unethical vibecoders aren't very competent.
- wolfi1 10mo ago"Turns out careless, unethical vibecoders aren't very competent." well, they rely on AI, don't they? and AI is trained with already existing bad code, so why should the outcome be different?
- tuhgdetzhh 10mo agoI still think it is just a matter of time until scrapers catch up. There are more and more scrapers that spin up an full blown chromium.
- kstrauser 10mo agoIt seems inevitable, but in the mean time, that's vastly more expensive than running curl in a loop. In fact, it may be expensive enough that it cuts bot traffic down to a level I no longer care about defending against. Like GoogleBot had been crawling my stuff for years without breaking the site. If every bot were like that, I wouldn't care.
- 9mo ago
- anarticle 10mo agoI use a private gitlab that was setup by claude, have my own runners and everything. It's fine. I have my own little home cluster, net storage compute around 2.5k. Go NUCs, cluster, don't look back.
- deleted 10mo ago[deleted]
- bigbuppo 10mo agoJust another example of AI and its DoSaaS ruining things for everyone. The AI bros just won't accept "NO" for an answer.
- reactordev 10mo agoUgh, exposing it with cgit is why. Put it all behind an OAuth login using something like Keycloak and integrate that into something like GitLab, Forgejo, Gitea if you must. However. To host git, all you need is a user and ssh. You don’t need a web ui. You don’t need port 443 or 80.
- PaulDavisThe1st 10mo agoUsing gitea does not help if you goal is to allow non-auth'ed read-only access to the repo from a web browser. The scrapers use that to hit up every individual commit, over and over and over. We used nginx config to prevent access to individual commits, while still leaving the "rest" of what gitea makes available read-only for non-auth'ed access unaffected.
- kstrauser 10mo agoEvery commit. Every diff between 2 different commits. Every diff with different query parameters. Git blame for each line of each commit. Imagine a task to enumerate every possible read-only command you could make against a Git repo, and then imagine a farm of scrapers running exactly one of them per IP address. Ugh.
- PaulDavisThe1st 10mo agoUgh Ugh Ugh ... and endless ughs, when all they needed was "git clone" to get the whole thing and spend as much time and energy as they wanted analyzing it.
- reactordev 10mo agoYuk… http { # ... other http settings limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; # ... } server { # ... other server settings location / { limit_req zone=mylimit burst=20 nodelay; # ... proxy_pass or other location-specific settings } } Rate limit read-only access at the very least. I know this is a hard problem for open source projects that have relied on web access like this for a while. Anubis?
- Borg3 10mo agoOh poor soul :) I had the same problem. And I solved it easly. I pulled out stuff from Internet, keeping only VPN overlay network.. The future is dark I mean.. Darknets.. For people by people. Where you can deal with bad actors.. Wake up! and starting networking :)
- deleted 10mo ago[deleted]
- GuestFAUniverse 10mo agoFail2ban has decent jails for Apache httpd. And writing a rule that matches requests to nonexistent resources is very easy -- one-liners + time based threshold. Basically you could ban differently according to the http errors they cause (e.g. bots on migrated resources: many 404 within a minute, Slowloris is visible as a lot of 408).
- GuestFAUniverse 10mo agoJails for other web servers are obviously as easy.
- thesuitonym 10mo agoI don't understand. Your HTTPS server was being hammered so you stopped serving Git? That doesn't make any sense at all, if it's a private server, why not just turn off the web frontend?
- jotaen 10mo agoThe post says their web frontend was public.
- DarmokJalad1701 10mo agoI have a self-hosted Gitea instance behind a Cloudflare Tunnel protected by CloudFlare Access. Zero issues. Obviously not "public", but it is accessible from the internet with a simple login.
- mqus 9mo agoI "solved" this by adding a fail2ban rule for everyone accessing specific commits (no one does that 3 times in a row) and then blocking the following ASs completely (just too many IPs coming from those, feel free to look them up yourself): 136907 23724 9808 4808 37963 45102. And after that: sweet silence. How to block ASs? Just write a small script that queries all of their subnets once (even if it changes, its not so much to have an impact) and add them to a nft set (nft will take care of aggregating these into continouus blocks). Then just make nft reject requests from this set.
- jacquesm 9mo ago- 136907 Huawei - 23724 China Telco - 9808 China Mobile - 4808 China Unicom - 37963 Alibaba - 45102 Alibaba tech You may want to add this list as well: https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-rang...
- mqus 9mo agoIn fact, I did not have any significant traffic coming from AWS, Azure, GCP, or any of the other big cloud providers. Its only the chinese ones.
- gbanfalvi 9mo agoSomeone should just come up with some middleware that produces jumbled-up responses. Your website will still match the keywords from search engines but be toxic to ai crawlers
- 2OEH8eoCRo0 9mo agoSomeone needs to sue these bots that are illegally DDoSing everyone.
- lostmsu 9mo agoI am pretty happy running all my personal services via Yggdrasil only. If you're not on Yggdrasil, you can't access them. Of course this relies on the obscurity effect.
- Valeriie 9mo ago[dead]