News for hackers. Stuff that matters.

temprature

Re:The complete idiot's guide to OpenBSD on the Pinebook Pro on Saturday February 12, 2022 @06:44AM (#30312057)
Do you have examples of what in OpenBSD you found "utterly complicated to setup and use"? I've been using for several years now because of how devoid of complexity it is and because of how comprehensive the documentation is. Trying to even install other Unices nowadays frustrates me to no end because they're more complicated than "just keep pressing enter".
> First off: Fair Use does not exist. It is an assumption, not a defined situation or law.

https://en.wikisource.org/wiki/Copyright_Act_of_1976#%C2%A7_...

Further recommended reading: Lenz v. Universal Music Corp.

That's in Netflix's custom stack that they contributed to freebsd, and not used by default.
Re:Issues relating to a bug in Intel cpus on Wednesday August 15, 2018 @10:43AM (#17766362)
Where? I can't see discussion about this submission at that link.
Removes the need to add a separate include for namespacing, ie. no pledge.h header needed.

Makes the calls shorter and easier to read. Consider:

    if (pledge("stdio rpath tmppath proc exec", NULL) == -1)
        err(1, "pledge");
vs.

    if (pledge(PLEDGE_STDIO | PLEDGE_RPATH | PLEDGE_TMPPATH | PLEDGE_PROC | PLEDGE_EXEC, NULL) == -1)
        err(1, "pledge");
Makes it easier to add a pledge interface to other languages with having to keep chasing bit flag changes, ie. there's been several new promises add since 2015 but the OpenBSD::Pledge perl module hasn't needed to change.

And really, unless you're using pledge wrong, ie. by using it outside of the startup path and/or not checking the return value, what does compile-time checking get you?

It's also pretty trivial to run the program. Maybe it's different in other projects, but I'm pretty sure in OpenBSD you're encouraged to actually test the code, not just ship it because it compiles. There's 2 programs in OpenBSD's base that don't abort on the pledge call failing, they're both shells, and they don't fail quietly.
Nice backpedaling.
Implementing KPTI didn't involve any of what you just said.
An "actual vulnerability" has been found. It's amazing that even after the lazy FPU fiasco, people think OpenBSD did this on a complete whim.
OpenBSD and DragonFly had their meltdown mitigations done in a couple of weeks from when it was publicly disclosed. If it's good enough for projects developed by handfuls of volunteers, it's good enough for the multi-hundred billion dollar megacorps.
It's a sysctl that can be toggled. If you want hyperthreading and don't care about the security concerns, you can turn it back on. The commit message specifically mentions that this was implemented because many modern machines don't allow hyperthreading to be disabled in the BIOS.

You'll find out in a couple of months why they did this. I hope you'll remember the comments you've written when that happens, because you might learn something about what OpenBSD means when they say they "strongly suspect" something.

Re:CopperheadOS has imploded on Tuesday June 12, 2018 @09:25AM (#17292964)
Copperhead is based in Canada but you appear to be citing US law.
I guess Richard Stallman violated the "spirit of the GPL" when he made MicroGnuEmacs change their name.
Re:NetBSD Network Security Audit on Tuesday May 29, 2018 @07:56AM (#17178272)
Brainy isn't open source or publicly available, you can click on the project names in the list to see its scan results.
Re:Unraveling rm: what happens when you run it? on Tuesday April 24, 2018 @12:42PM (#16914207)
Indeed, surely Mac OS includes its own man pages? man 2 mprotect, man 2 unlink
> I would trust wordpress to keep their signing keys safe.

What signing keys? Wordpress's automatic updates aren't signed, so your trust is horrendously misplaced.

Someone already did the work for them to implement it[0], and rather than commit it, a Wordpress developer wrote a blogpost saying signing isn't really that important[1].

[0] https://core.trac.wordpress.org/ticket/39309

[1] https://medium.com/@photomatt/wordpress-and-update-signing-5...

Re:DragonFly BSD 5.2 on Saturday April 14, 2018 @07:24PM (#16840162)
If you think a preimage attack against MD5 is "trivial" you should demonstrate it. People would be very interested in this because no one has managed to do it yet.

Creating two files with the same MD5 is a very different beast from creating a file with the same MD5 as an arbitrary pre-existing file. These third parties would need to have colluded with the DragonFly developers to make what you're proposing possible.

Re:DragonFly BSD 5.2 on Saturday April 14, 2018 @07:16PM (#16840131)
There have been no practical demonstrations of colliding the MD5 of an arbitrary file (ie. pre-image attack), only situations where two files are created specifically with the intended purpose of creating a collision. This is precisely what the post you replied to said but you seem to have not understood that there's a distinction.

Yes, it is possible that the DragonFly developers could collude to create two ISOs with the same MD5, one good and one malicious. No, it is not possible that random, evil ne'erdowells could replace the ISO with one with the same MD5, unless the DragonFly developers have conspired with them to make that possible.

If you don't trust the DragonFly developers not to collide the MD5s, you probably shouldn't trust them with the code running in your kernel anyway.

Re:A week-long programming retreat on Monday March 05, 2018 @06:10AM (#16520227)
OpenBSD's base ships the most recent LLVM and Clang (5.01), but there's no LLDB yet and gdb is outdated (6.3, the last GPLv2 version).

He would have had a much better time using C99 than C++11, especially since he didn't want to install a newer gdb from ports.

For starters, its own libc and a proper filesystem (the author wrote their own ext2 implementation).
Re:Memcrashed – Major amplification attacks from UDP port 11211 on Wednesday February 28, 2018 @02:58AM (#16481446)
There's a lot of people install memcached without realising it listens on all addresses by default. If you install it and run it via whatever system your OS/distro uses, you'd never need to look at the man page so you wouldn't find this out.
Re:New FreeBSD Code of Conduct on Sunday February 18, 2018 @03:26PM (#16408287)
In what country is it acceptable to not treat others with basic courtesy and respect? Which is really all the list is asking for.
Re:New FreeBSD Code of Conduct on Sunday February 18, 2018 @02:51PM (#16407938)
Given that there's groups of people railing against being told not to do the things on this list, yes, apparently.
Re:MacOS may lose data on APFS-formatted disk images on Sunday February 18, 2018 @07:43AM (#16405789)
Performance is only an issue if your disk can write faster than your CPU can hash. hammer2 changed its hash a couple of years ago because this started happening with newer NVMe drives[0], but before that disk writes weren't CPU-bound.

[0] http://lists.dragonflybsd.org/pipermail/commits/2016-June/50...

Re:ZFS for Linux on Tuesday February 13, 2018 @06:16PM (#16371817)
Actual lawyers have also read both licenses and came to the conclusion that they are incompatible: https://sfconservancy.org/blog/2016/feb/25/zfs-and-linux/

The main debate over the incompatibility isn't about GPL vs CDDL; even Canonical isn't arguing that the licenses aren't incompatible. It's specifically about the Linux kernel vs ZFS; ie. does linking the ZFS module with the Linux kernel make the ZFS module a derivative work of the Linux kernel.

If yes, it has to be able to have the GPLv2 applied to it, which it can't. If no, then the incompatibility is irrelevant, and the kernel and ZFS can be distributed together and under their own separate licences. This is where opinions (by legal experts, not people on the internet) differ, the FSF and SFC's lawyers say this makes ZFS a derivative work and you can't distribute them together, Canonical's lawyers say it doesn't and therefore you can.

Re:Meltdown, aka “Dear Intel, you suck” on Saturday January 06, 2018 @10:21AM (#16085602)
They don't like embargoes but they don't go out of their way to break them. The only embargo I know of that OpenBSD broke was for OpenSSL, and that was an honest mistake, as explained here: https://www.tedunangst.com/flak/post/regarding-embargoes

There was another "incident" with the KRAK embargo, where OpenBSD got permission to silently patch it early and then the researcher who found it regretted giving them permission.

I think people put these two incidents together, combine it with the developers' attitudes towards embargoes and come out with: OpenBSD doesn't honour embargoes!

Re:Meltdown, aka “Dear Intel, you suck” on Saturday January 06, 2018 @09:31AM (#16085402)
He told them they could go ahead, he then regretted it but that's not OpenBSD's fault.

From https://www.krackattacks.com/#openbsd :

> As a compromise, I allowed them to silently patch the vulnerability.

Receiving permission to patch is the opposite of breaking an embargo.

Re:When did the golden age of The Simpsons end? on Sunday October 29, 2017 @10:14AM (#15579380)
I enjoyed it retroactively because it set up this continuity gag a few seasons later: https://www.youtube.com/watch?v=6rxdhKRODLw#t=59s
> OpenBSD won't get notified about vulnerabilities until well after everyone else

Which doesn't make a difference if OpenBSD still gets their patch out at the same time as everyone else. Unlike other vendors, it doesn't take OpenBSD four months to go from vulnerability notification to patch release, if you look at previous disclosure timelines they typically have a patch out in days.

Re:Wildcard Certificates Coming January 2018 on Thursday July 06, 2017 @12:49PM (#14711772)
No, why should there be? If you own a domain name you can get a DV cert for that domain name. It's that simple.

There shouldn't be any policing at all of which domain names are allowed to have certificates.

Older »