News for hackers. Stuff that matters.
Re:OpenBSD 6.2 by thatzerodude on Friday October 06, 2017 @09:23AM (#15416565)
I've used it on my laptop. Primarily because it has had few vulnerabilities and is very stable.
Re:OpenBSD 6.2 by eugeneionesco on Friday October 06, 2017 @09:55AM (#15416780)
>I've used it on my laptop. Primarily because it has had few vulnerabilities and is very stable.

The OpenBSD propaganda works I see...

Do you really think the tools you use like your web browser, mail client etc, have less vulnerabilities on OpenBSD than on any other BSD or linux distribution, please...

Re:OpenBSD 6.2 by bch on Friday October 06, 2017 @10:20AM (#15416969)
> Do you really think the tools you use like your web browser, mail client etc, have less vulnerabilities on OpenBSD...

A reasonable question, but presumptuously and poorly framed, I think. Mitigation efforts like privilege separation[0] (for daemons), ASLR[1], SSP[2], and now KARL[3] are designed to make things systemically better. I'm personally a NetBSD person, and don't see that ending anytime soon, but I do appreciate the work that OpenBSD does and pay attention with interest. I expect some of their work to be ported to my environment directly, and other effects to be felt tangentially. People running different or "weird" environments is a good thing.

[0] https://en.wikipedia.org/wiki/Privilege_separation

[1] https://en.wikipedia.org/wiki/Address_space_layout_randomiza...

[2] http://wiki.osdev.org/Stack_Smashing_Protector

[3] http://undeadly.org/cgi?action=article&sid=20170613041706

Re:OpenBSD 6.2 by saghm on Friday October 06, 2017 @10:31AM (#15417041)
OT, but I've had trouble in the past when trying out NetBSD; I wanted to install it on my laptop with full disk encryption, but I clearly was missing something about how to do it properly, and I've never been able to find a good guide for it. Any chance you might know a blog post or something that details how to do this properly for a NetBSD newbie like me?
Re:OpenBSD 6.2 by bch on Friday October 06, 2017 @10:50AM (#15417196)
I've run it in the past, but not recently. I'll see if something appears to me and try to post it here for you.

And good luck with your NetBSD journey, with or without FDE. I've thoroughly enjoyed my years with it as my primary OS.

Re:OpenBSD 6.2 by bch on Friday October 06, 2017 @12:51PM (#15418253)
I'd start here - https://www.netbsd.org/docs/guide/en/chap-cgd.html and point your IRC client to #netbsd on irc.freenode.net.
Re:OpenBSD 6.2 by saghm on Saturday October 07, 2017 @02:13PM (#15424906)
Thanks! I've tried out most of the other common BSDs (FreeBSD, OpenBSD, DragonflyBSD, and TrueOS) but I've always had more trouble with NetBSD for some reason. Hopefully I'll have better luck with it this time!
Re:OpenBSD 6.2 by eugeneionesco on Friday October 06, 2017 @11:42AM (#15417651)
All of those were developed on linux and linux distributions and were available on those before obsd...
[dead]
Re:OpenBSD 6.2 by eugeneionesco on Friday October 06, 2017 @12:59PM (#15418323)
Of course it does, seccomp, developed way before pledge :))
Re:OpenBSD 6.2 by sydney6 on Friday October 06, 2017 @03:50PM (#15419841)
And where is seccomp used (by default)?
Re:OpenBSD 6.2 by ac29 on Friday October 06, 2017 @06:10PM (#15420838)
Chrome and Firefox both use seccomp by default on Linux.
Re:OpenBSD 6.2 by sydney6 on Saturday October 07, 2017 @06:01PM (#15425931)
OpenBSD has around 500 programs with pledge support in base.

edit: and this number does not even include the ports available with pledge support, among others chromium.. and the fact that they were capable of adding pledge support this quickly says a lot, imho, about the implementation differences between libseccomp and pledge.

Re:OpenBSD 6.2 by anthk on Friday October 06, 2017 @07:32PM (#15421235)
Also, pledge is everywhere. Seppconf, not. And SeLinux just in few distros.

Pledge is instrinsic. You have it right from the beggining with C and Perl. And it's straightforward to use.

Re:OpenBSD 6.2 by anthk on Friday October 06, 2017 @07:27PM (#15421210)
Not the same approach.
Re:OpenBSD 6.2 by notaplumber on Friday October 06, 2017 @10:21AM (#15416972)
Yes, browsers are a large attack surface. But I'd take a quick peek at the recent Security improvements section on this release page, and also OpenBSD's innovations page.

https://www.openbsd.org/innovations.html

OpenBSD was the second OS to enable W^X JIT on its firefox package, W^X being made mandatory system-wide, and in Theo de Raadt's most recent conference talk he mentions chromium being pledged. Both browsers are compiled as PIE by default.

http://undeadly.org/cgi?action=article&sid=20151021191401

Re:OpenBSD 6.2 by alexiacob on Friday October 06, 2017 @10:05AM (#15416863)
That's not the point. Of course that the software will have the same number of bugs/vulnerabilities on OpenBSD. The question is how much damage an exploit/crash will do overall. OpenBSD has quite a few of protection mechanisms in place.
Re:OpenBSD 6.2 by bmh_ca on Friday October 06, 2017 @10:15AM (#15416923)
> Do you really think the tools you use like your web browser, mail client etc, have less vulnerabilities on OpenBSD than on any other BSD or linux distribution, please...

Yes. OpenBSD employs several mechanisms that improve the security of every application e.g. W^X and stack protector.

See: https://www.openbsd.org/security.html

Re:OpenBSD 6.2 by eugeneionesco on Friday October 06, 2017 @11:45AM (#15417696)
All of those are available on linux distributions, enabled by default.

Not only that, they were developed on linux distributions and available on them way before obsd.

Re:OpenBSD 6.2 by throwaway2048 on Friday October 06, 2017 @12:19PM (#15417971)
No, they are not.
Re:OpenBSD 6.2 by eugeneionesco on Friday October 06, 2017 @12:26PM (#15418034)
Stack protector was developed by Immunix, W^X was developed by Openwall, both for linux.
Re:OpenBSD 6.2 by bjpbakker on Friday October 06, 2017 @10:03AM (#15416840)
Actually "your web browser, mail client etc" do a lot of system calls to do networking et al, so yes, they do have less vulnerabilities than on Linux.
Re:OpenBSD 6.2 by eugeneionesco on Friday October 06, 2017 @11:49AM (#15417726)
I don't think you know where the vast majority(95%+ ) of browser vulnerabilities are...