Live data from Hacker News

Openrsync: An implementation of rsync, by the OpenBSD team

github.com

31–40 of 193 posts

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#31
post #29
post #18

The actual work of porting is matching the security features provided by OpenBSD's pledge(2) and unveil(2). These are critical elements to the functionality of the system. Without them, your system accepts arbitrary data from the public network. https://justine.lol/pledge/ I am not seeing pledge on Alpine Linux in edge. Have people been testing Pledge on Linux? Did I perhaps misunderstand the risk of using Openrsync…

From above your quote: > The only officially-supported operating system is OpenBSD, as this has considerable security features. And below your quote: > This is possible (I think?) with FreeBSD's Capsicum, but Linux's security facilities are a mess, and will take an expert hand to properly secure. It is portable in the sense that it compiles and runs, not in the sense that it has the same security features. I'd love t…

Ok that makes more sense, thankyou.

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#32
post #25
post #3

I have not checked with OpenBSD 7.9, but as of 7.8 it did not support --exclude or -z. But outside of that openrsync works great. (EDIT: --exclude is now supported on 7.9. Not sure when that was added, nice!) But seems avoiding "slop" is getting very hard. I saw postfix now has a bit of AI code in it. https://mastodon.sdf.org/@mrmasterkeyboard@mastodon.social/1...

Where do you see that about Postfix? I followed the links and the only thing I see is that AI is being used to find bugs, not write code.

>Claude assisted code found in external/ibm-public/postfix/dist...

That is from the original post in the thread. Is that really due to LLM ? I do not know since I avoid AI as much as I can.

But the person also posted this link too:

https://github.com/NetBSD/src/commit/f764ddf4062e855f73fe2e3...

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#33
post #21

Earlier quoted context omitted.

Is this not the paradox of tolerance restated in different terms? BSD license is unrestricted, it tolerates taking open source and closing it, thus always being at risk of things closing down. GPL license doesn’t tolerate taking from open source and closing it, thus ensuring things stay open.

The BSD license is why we have Valkey and not a purely closed-source Redis. It would have been much easier to perform the rugpull if Redis had initially been GPLed.

On top of badreligion42’s point, that both licenses allow forking just as easily - don’t you have the rugpull part backwards?

Afaik BSD licensed stuff can be re-licensed under any more closed licenses at any time, where as to re-license GPL, you need consent from every single contributor.

But i’m not familiar with the redis-valkey story so, maybe there is some nuance i am missing?

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#34
post #22
post #3

I have not checked with OpenBSD 7.9, but as of 7.8 it did not support --exclude or -z. But outside of that openrsync works great. (EDIT: --exclude is now supported on 7.9. Not sure when that was added, nice!) But seems avoiding "slop" is getting very hard. I saw postfix now has a bit of AI code in it. https://mastodon.sdf.org/@mrmasterkeyboard@mastodon.social/1...

Exclude is very commonly used in automation jobs to avoid duplicating big git repos and other big files. I think that would be a show stopper for a number of people.

I just tried openrsync(1) on OpenBSD 7.9, --exclude now works.

I have not tried using exclude in openrsync in a while, but I can see it now works on OpenBSD 7.9!

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#35
post #21

Earlier quoted context omitted.

The BSD license is why we have Valkey and not a purely closed-source Redis. It would have been much easier to perform the rugpull if Redis had initially been GPLed.

And how exactly did the BSD license make creating Valkey easier? GPL and BSD licenses both have the source in the open. Anyone creating a fork, can easily do so for either BSD or GPL licensed projects. Since Redis is a database, which the user won't be using a binary of, even using a fork of a supposedly GPL-licensed Redis would not require you to share your modifications with your user, same as BSD.

The BSD license made forking Valkey easier because it ensures that everyone has equal footing. The GPL, especially with contributor license agreements and the like, makes it much more easy for a single party to control the direction of the product. For another example of this happening, look at MongoDB. It started out under the AGPL, but was rugpulled to a non-free license.

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#36
post #32
post #25

Earlier quoted context omitted.

Where do you see that about Postfix? I followed the links and the only thing I see is that AI is being used to find bugs, not write code.

>Claude assisted code found in external/ibm-public/postfix/dist... That is from the original post in the thread. Is that really due to LLM ? I do not know since I avoid AI as much as I can. But the person also posted this link too: https://github.com/NetBSD/src/commit/f764ddf4062e855f73fe2e3...

Right, I read all that and I didn't see anything to indicate that AI is being used to write code - just one person's unsubstantiated claim.

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#37
post #13

Earlier quoted context omitted.

And GNU folks would say the GPL is actually the more open choice because it forces the project to stay open. Two different ways of thinking about it I guess... it's nice to have choices and I don't think one is more or less "correct", more a matter of opinion/taste I guess.

> more open choice because it forces the project A true morality must be based on consent, not coercion. Humanity may not be there yet, and therein lies the argument for force (and thus copyleft); but the ultimate goal should always be to reduce its necessity.

I see this, and the spiritual example that immediately comes to mind is that which is labeled as "crime". Would it be more moral that a murderer must first consent to being judged and sentenced, or that there is a system which automatically comes into play to hopefully deter but also punish it when it happens?

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#39
post #28

rsync has specific running modes for the super-user. It also pumps arbitrary data from the network onto your file-system. openrsync is about 10 000 lines of C code: do you trust me not to make mistakes? No, but that's why almost nobody runs it outside of strict trust boundaries. This security section would make more sense if rsync was like curl, which routinely deals with hostile counterparties. If the other side of…

No, but that's why almost nobody runs it outside of strict trust boundaries. This security section would make more sense if rsync was like curl, which routinely deals with hostile counterparties. If the other side of your rsync is hostile, you probably have bigger problems!

I disagree. While rsync is most often used to transfer data between "friendly" systems, it's inherently crossing a security boundary. It's important to make sure that an attacker can't leverage it to transform the breach of one system into the breach of multiple systems.

Re: Openrsync: An implementation of rsync, by the OpenBSD team

#40
post #36
post #32

Earlier quoted context omitted.

>Claude assisted code found in external/ibm-public/postfix/dist... That is from the original post in the thread. Is that really due to LLM ? I do not know since I avoid AI as much as I can. But the person also posted this link too: https://github.com/NetBSD/src/commit/f764ddf4062e855f73fe2e3...

Right, I read all that and I didn't see anything to indicate that AI is being used to write code - just one person's unsubstantiated claim.

I did not look at details until I saw your post, but I tend to agree with you on this point.

But that is the odd thing, how to tell for sure if a LLM was used :)

Post reply on HN