Hacker News new | ask | show | jobs
by the_real_cher 6 days ago
Is there a non vibe coded fork of rsync?
2 comments

Yes: https://news.ycombinator.com/item?id=48390931

So far it reintroduced several security issues and replaced the README.md.

There is openrsync, which the OpenBSD re-implementation of rsync

It's not a fork, but it's 8 years old, and is already shipped by default in OpenBSD and macOS.

To quote Tridge:

> As to all the people saying “I’m going to package openrsync for platform XXX and we’ll use that!”. I find that rather amusing. If you do decide to go down that path I’d suggest you try the new rsync test suite on openrsync if you can stomach something that an AI has helped write. I tried it today and openrsync currently fails 85 of 98 tests, so I’m sure it won’t take you long to get it up to speed. You run it like this “./runtests.py — rsync-bin=../openrsync/openrsync — use-tcp”. Admittedly a lot of the failures are just features openrsync doesn’t have, but still, it’s not a great result.

I have already been using openrsync even before the recent AI drama.

Just like I have been using doas for several years.

All I need is `rsync -urvP` and I suspect the majority of users don't need the advanced features either.

The smaller code base also means less bugs and vulnerabilities. As an example doas is ~1k lines vs 160k for sudo. That surely means a smaller attack surface. The same is true for openrsync and rsync at approximately 18k vs 57k lines.

Yeap and still has bugs (reports say that the base system bin in 7.9 doesn't work properly): https://marc.info/?l=openbsd-misc&m=178070682043839&w=2

And here: https://marc.info/?l=openbsd-tech&w=2&r=1&s=rsync&q=b you can quite a few other bugs...

I use OpenBSD for routers and love it :-) but it is software, hence it has bugs .-

It's also not feature-equivalent to rsync. But if it meets your needs, it's an option.