BSD as a desktop system, what about security? reddit / BSD ---------------------------------------------------------------------- harryruhr · 2018-11-26 12:54 In my research for BSD as a desktop system I made a curious observation. When using ports, so it seems, FreeBSD lags behind regarding security patches, even on some key programs like web browsers. For example webkit2-gtk3[1], which powers browsers like Epiphany and Midori, is at version 2.22.3 - current is version 2.22.4, announced at Nov. 21, along with a security announcement mentioning 10 different CVE vulnerabilities. But it gets even worse. Chromium[2] is at version 68.0.3440.106, which is from beginning of August. It is safe to say, that this browser ships with a few dozen security holes by now. You may say "Ok, but BSD in general has fewer developers than big Linux distros. *BSD doesn't have the manpower to ship security fixes the same day the security announcement is made". Maybe so, but OpenBSD[3,4], which has far fewer developers and maintainers than FreeBSD, manages to ship security fixes on ports promptly So, the question is: Is this observation, that FreeBSD lags behind regarding security patches, correct? [1] https://www.freshports.org/www/webkit2-gtk3/ [2] https://www.freshports.org/www/chromium/ [3] http://openports.se/www/webkitgtk4 [4] http://openports.se/www/chromium ---------------------------------------------------------------------- LocalRefuse · 2018-11-26 13:38 this is one example, so I won't extrapolate from it alone. updating the package should be straightforward: it's a teeny version so most likely it's a matter of changing the version number and updating the distinfo. be the change you want to see in the world, send that patch. ---------------------------------------------------------------------- icantthinkofone · 2018-11-26 13:50 The ports you mention are huge, HUGE ports where the maintainers get no help whatsoever from Google, in chromium's case, but it's hand delivered to Linux. There are two guys, iirc, that work on the FreeBSD port on their own and Google rarely, if ever, answers their questions on their forums. I don't know what openBSD does. I once knew more about the webkit port but, iirc, it's essentially the same problem. No help from the source but the maintainers do a pretty damn good job keeping up if they're only .00.1 behind for a few days or a week or so. ---------------------------------------------------------------------- phessler · 2018-11-26 14:19 Please don't say "BSD" when you mean "FreeBSD". FreeBSD **IS NOT** BSD!!!!! Edit: Obviously, FreeBSD is a \*BSD. But it is not **the** BSD. ---------------------------------------------------------------------- qci · 2018-11-26 15:10 FreeBSD user here. It looks to me like the preferred browser on FreeBSD is rather Firefox. ​ It is no surprise to me, because Chromium has always been really annoying with all its bugs. I reported a bug once (years ago) and they showed me don't really care about FreeBSD. And then, I stopped caring about Chromium, too. ---------------------------------------------------------------------- [deleted] · 2018-11-26 15:34 [deleted] ---------------------------------------------------------------------- phessler · 2018-11-26 15:36 OP made a pretty clear distinction between "BSD" and "OpenBSD", and their reference links were to FreeBSD or OpenBSD specific pages. Not a generalization. ---------------------------------------------------------------------- brynet · 2018-11-26 15:38 I think what /u/phessler is saying is don't mistake FreeBSD as being representative of *BSD as a whole. It is not. That said, ports have maintainers and we're all human. It's possible that the versions may lag behind the latest, but this may be due to porting difficulties that require significant patching, not every update is a trivial update.. even for 0.1-0.**2** versions. OpenBSD also has a service called [portroach](http://portroach.openbsd.org/), which can be helpful to find ports that don't necessarily have a maintainer, and perhaps maybe you would like to take on that role. ---------------------------------------------------------------------- harryruhr · 2018-11-26 16:04 No, my question at the end was about security of especially FreeBSD ports - and perhaps if OpenBSD is the better BSD system, when doing stuff on the desktop that could compromise security, like online banking or, more general, entering credentials in a web browser. ---------------------------------------------------------------------- poshpotdllr · 2018-11-26 16:23 why the fuck would you use freebsd if you care about security? use openbsd. you dont need to be up to date on openbsd. the chrome browser in ports is modified to be practically unexploitable for most types of exploits as long as you dont run the browser as root. ---------------------------------------------------------------------- TriWest2018 · 2018-11-26 17:00 OpenBSD is the rightful BSD! ---------------------------------------------------------------------- Tireseas · 2018-11-26 18:33 Even if he were, which he wasn't, it's a bad habit to get into given how different the various major BSD derived OSes are. ---------------------------------------------------------------------- Kernigh · 2018-11-26 19:02 >Maybe so, but OpenBSD\[3,4\], which has far fewer developers and maintainers than FreeBSD, manages to ship security fixes on ports promptly My desktop runs OpenBSD 6.4 and can't install the newer ports from OpenBSD-current. The snapshots of -current aren't compatible with 6.4. I can only use chromium-69.0.3497.100p0.tgz from [6.4/packages/amd64]( https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/), not chromium-70.0.3538.110.tgz from [snapshots/packages/amd64](https://cdn .openbsd.org/pub/OpenBSD/snapshots/packages/amd64/). I won't update Chromium until the release of OpenBSD 6.5, about 6 months after 6.4. Some ports with security fixes get backported from -current to 6.4-stable. There are no official -stable packages, so a 6.4 user must build them from ports (this is slow) or find unofficial packages. I am typing this comment in the -stable firefox-63.0.3 from [https://packages.rhaalovely.net/](https://packages.rhaalovely.net/), but I only updated firefox, so I still have vulnerable versions of other packages like curl, just because I am too lazy to set up the ports tree or run [openup](https://www.mtier.org/solutions/apps/openup/). The best browser for OpenBSD might be Chromium on -current. Recent work with [pledge(2)](https://man.openbsd.org/pledge) and [unveil(2)](https://man.openbsd.org/unveil) has improved Chromium's security, but the newer version of Chromium has no backport to 6.4. [Chromium needs about 24 hours to build](https://marc.info/?l=openbsd- ports&m=153324185311910&w=2) on a fast multi-core amd64 machine! Most people can't build it. Yes, there are people who run OpenBSD-current on desktops to enjoy the newer version of Chromium. OpenBSD-current is unstable and can have problems, but is often reliable enough on amd64 hardware. ​ ---------------------------------------------------------------------- deeperblue1 · 2018-11-26 19:56 Weird flex but ok ---------------------------------------------------------------------- phessler · 2018-11-26 20:36 No. \*BSD refers to the family, otherwise refer to the one you mean. ---------------------------------------------------------------------- haxies · 2018-11-26 21:50 Firefox right now for me crashes xorg on FreeBSD-11.2-RELEASE ---------------------------------------------------------------------- harryruhr · 2018-11-26 22:08 Thank you for your explanations. I am aware that you have to build current stuff yourself - or use m:tier's repo (didnt know rhaalovely).But while they have current Firefox and Firefox ESR, they don't seem to offer Chromium. ---------------------------------------------------------------------- illumosguy · 2018-11-26 22:43 I think you should start by more fairly comparing OpenBSD -current ports with [FreeBSD -CURRENT ports](https://svnweb.freebsd.org/ports/head/) (instead of FreeBSD stable repo for production branches), and then come back with more significant data, possibly comparing 100 among most popular packages ---------------------------------------------------------------------- illumosguy · 2018-11-26 22:56 I think OP was exactly trying to underline, with some evidence at hand, how those common 'BSD is...' generalizations, not seldom spread in the Linux community, are often shallow assumptions of people who fail to realize (or rather purposely ignore, for the sake of trolling and seing their own smart-assery being praised) that it's at least 4 different OSs we're talking about, each with its own strengths and flaws, it's own goals, it's different history, it's dark and shiny periods. OP appears wondering why those trendy rumors heard abour 'BSD' elsewhere, do not actually apply to *BSD, at least to not all of them I also think /u/phessler misunderstood OP's intentions at least partially, and became so engrossed for nothing ---------------------------------------------------------------------- DeadGirlsDontSayN0 · 2018-11-26 23:03 My bad, I'm pretty sleep deprived. ---------------------------------------------------------------------- qci · 2018-11-27 06:36 I've heard some people broke their profiles for some reason. Maybe you have the same problem. ---------------------------------------------------------------------- techsnapp · 2018-11-27 20:26 But isn't there mtier for packages when using a -release build? ---------------------------------------------------------------------- mulander · 2018-11-27 21:40 >I am typing this comment in the -stable firefox-63.0.3 from > >https://packages.rhaalovely.net/ worth noting that the link you provided (and package) is actually from landry@ who is both an upstream Mozilla developer & an OpenBSD Developer source: [https://undeadly.org/cgi?action=article;sid=20170425173917](h ttps://undeadly.org/cgi?action=article;sid=20170425173917) ---------------------------------------------------------------------- vermaden · 2018-11-28 09:52 Firefox ESR 60.3.0 is stable on FreeBSD but the 'non-ESR' also crashed on my laptop. ---------------------------------------------------------------------- haxies · 2018-11-28 17:33 that’s interesting, i’ll give it a shot. ---------------------------------------------------------------------- [deleted] · 2018-11-28 18:36 [deleted] ---------------------------------------------------------------------- [deleted] · 2018-11-28 18:37 [deleted] ---------------------------------------------------------------------- Kernigh · 2018-11-28 21:09 Packages don't get updates unless someone updates them in the ports tree. OpenBSD has some old packages, like Enlightenment 0.17.6; the current version is 0.22.4. Also, OpenBSD needs time to prepare each release. OpenBSD locks the port tree (so it doesn't accept update), then builds the thousands of packages in each release. If an update didn't reach the ports tree before lock, then the release package might not be the latest version. ---------------------------------------------------------------------- [deleted] · 2018-11-28 21:12 [deleted] ---------------------------------------------------------------------- Kernigh · 2018-11-28 21:25 See [CVSweb for editors/neovim/Makefile](https://cvsweb.openbsd.org/cgi- bin/cvsweb/ports/editors/neovim/Makefile). In the CVS tags, OPENBSD\_6\_4\_BASE is 6.4-release, OPENBSD\_6\_4 is 6.4-stable, and HEAD will become 6.5.