frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: AI-drop project – drop traffic fast from misbehaving crawlers (AGPL)

https://rocketgit.com/user/catalinux/ai-drop
2•catab•2h ago
Hello!

All started with 4 million requests / day on rocketgit.com (AGPL git hosting). Instead of thousands. Enough is enough!

Presentation (8 pages): https://rocketgit.com/user/catalinux/ai-drop/artefacts/downl...

So, I built AI-drop free-software project (AGPL) to block this kind of crawlers. rocketgit.com has a very restrictive robots.txt (only around 10 pages are allowed). But the crawlers are not respecting it. So, who is not respecting it will be blocked.

Limiting by IP or user-agent is not working anymore. The crawlers are using millions of IPs and it takes days to reuse an IP. And they use fake user-agents.

I am using honeypots to build a list of misbehaving IPs which are streamed to downstream instances. Right now I have around 1.573.000 IPv4 and 6.000 IPv6 misbehaving addresses. I keep them in the list only for 7 days to not block somebody legit. I am watching the traffic on rocketgit.com and the solution is working nicely.

It uses an eBPF program to fast drop the packets.

You can try it easily on your Linux servers:

# Check https://rocketgit.com/user/catalinux/ai-drop/pkg # If your distribution is already there, follow the instructions. # It is the best way to keep you up-to-date.

# Look inside 'ai-drop.spec' or 'debian/control' and install the dependencies. git clone https://rocketgit.com/user/catalinux/ai-drop cd ai-drop ./configure make install # edit /etc/ai-drop.conf # Very important: # set 'interface' (non 'eth' are not supported now) # set 'safe_mode = 0' if you only want to evaluate the product.

Then:

systemctl enable --now ai-drop journalctl -f -u ai-drop

# The list of misbehaving IPs will be streamed from the main server.

# Look at the statistics, especially 'drops': ai-drop dump-stats # Output example: # now=1794482762 ipv4_total=0 ipv6_total=0 total=0 \ # ipv4_adds=0 ipv6_adds=0 adds=0 \ # ipv4_updates=0 ipv6_updates=0 updates=0 \ # ipv4_drops=0 ipv6_drops=0 drops=0 \ # ipv4_real_drops=0 ipv6_real_drops=0 real_drops=0 \ # ipv4_expires=0 ipv6_expires=0 expires=0 \ # ipv4_deletes=0 ipv6_deletes=0 deletes=0 \ # last_load=0 daemon_start=0

Please note that no AI was used to build this software.

Thank you for your time!

Catalin(ux) C.M.T. BOIE

Show HN: My $300 embroidery machine needed a subscription, so I built my own app

https://github.com/simpsoka/zigzag
538•simpsoka•17h ago•184 comments

Show HN: AgentRun – open-source, Self-improving Managed Agents

https://github.com/Parcha-ai/agentrun/blob/main/README.md
108•miguelrios•16h ago•28 comments

Show HN: Kapso – Iterative learning from enterprise data

46•alirezamshi•16h ago•11 comments

Show HN: RealtimeVAD – trading false positives for 110ms earlier end-of-speech

https://github.com/KoljaB/RealtimeVAD
26•koljab•13h ago•5 comments

Show HN: Vibeberry.io – Font Generator, Symbols, Emoji, Lenny Faces Collection

https://vibeberry.io
3•vibeberry•2h ago•1 comments

Show HN: AI-drop project – drop traffic fast from misbehaving crawlers (AGPL)

https://rocketgit.com/user/catalinux/ai-drop
2•catab•2h ago•0 comments

Show HN: PharmA2A, an open protocol for pharmacy-to-supplier orders on A2A

https://github.com/pharma2a/pharma2a
9•eliefo•5h ago•4 comments

Show HN: Apron Chat Protocol

https://apron.chat/
45•shazow•17h ago•1 comments

Show HN: Talgent Workbench – Open-source managed agent platform you run yourself

https://github.com/talgent-work/workbench
2•jacexh•3h ago•0 comments

Show HN: Yogurt – Free, private, open-source alternative to Granola

https://github.com/FrigadeHQ/yogurt
290•brownrout•1d ago•111 comments

Show HN: Build a PC in 3D in the Browser

https://www.buildcores.com
56•ozaiworld•4d ago•22 comments

Show HN: Cerulion – ROS 2-compatible robotics runtime with multi-process replay

https://github.com/cerulion-inc/cerulion
12•lakshays•13h ago•4 comments

Show HN: I recreated Papers Please but you're deciding which YC startups to fund

https://termsheetplease.com/
239•bolau•1d ago•93 comments

Show HN: KittyBrowser, I built a web browser in your terminal

https://github.com/graiz/kittybrowser
5•graiz•8h ago•3 comments

Show HN: Aircad – Professional drafting and 3D modeling in the browser

https://aircad.com
90•peetle•2d ago•42 comments

Show HN: Real-time inventory of natural stone slabs in US

https://slabby.org/
3•dhruvkar•6h ago•0 comments

Show HN: AI Red Lines – write down what would make you act on AI

https://yourairedlines.com
36•ap11071•20h ago•30 comments

Show HN: I built a calendar app that gives each event its own to-do list

https://apps.apple.com/ph/app/daily-planner-tasks-zesfy/id6479947874
11•whereinside•19h ago•2 comments

Show HN: Black Ops II statically recompiled to native ARM64 macOS

https://github.com/adrbn/bo2-mac
149•adrbn•2d ago•66 comments

Show HN: Valencia, Spain in Sim City/Isometric View

https://tinyvalencia.com/
252•leugim•2d ago•62 comments

Show HN: Woolly – Take your ChatGPT memory with you, local and open source

https://github.com/rjcuff/woolly
3•rjcuff•7h ago•0 comments

Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

https://github.com/0xdeadf1sh/AssemblyForNeovim
104•0xdeadf1sh•1d ago•20 comments

Show HN: Fable52.games – Play and inspect Fable 5.2 single-file HTML games

https://fable52.games
68•felixne•19h ago•57 comments

Show HN: Grow any hobby (skills for humans not AI)

https://grow-bonsai.app/
3•ag_rin•8h ago•2 comments

Show HN: DRS-VPT. Localize a photo in a 3D point cloud without an initial pose

https://github.com/ori-drs/drs-vpt
9•seasponge•15h ago•0 comments

Show HN: AgentLeak – open-source privacy testing for multi-agent LLM systems

https://github.com/Privatris/AgentLeak
3•yagobski•9h ago•0 comments

Show HN: Every satellite that passed over any place this week, and its photos

https://www.watched.earth
486•a585gupt•3d ago•85 comments

Show HN: Klad, a paint app your coding agent can drive (source-available)

https://github.com/klad-app/klad
83•ambewas•1d ago•33 comments

Show HN: Micron – Oberon with the Power of C

https://github.com/rochus-keller/Micron
66•Rochus•4d ago•26 comments

Show HN: As IrfanView isn't on Linux, I've vibe-coded my own image viewer

https://github.com/micha42-dot/uxzView
4•manif00ld•10h ago•0 comments