TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why OpenBSD Rocks

163 点作者 ProfDreamer大约 6 年前

29 条评论

vbezhenar大约 6 年前
I can confirm that acme-client so far is the only sane client I've seen. No nonsense of multi-megabyte downloads of endless Python scripts or esoteric bash scripts. Just good old C tool as it should be. Every *nix should use it by default.
评论 #19284198 未加载
doublepg23大约 6 年前
I was actually playing with OpenBSD while stuck with the flu.<p>The good:<p>* ifconfig handling everything is brilliant. Having one tool to do networking, including WiFi(!) is great.<p>* the documentation is good. `man -k` normally gets you what you need.<p>* &quot;base builds base&quot; is pretty cool. I managed to rebuild base on a 1GHz single core BeagleBone Black in 48hrs.<p>the bad:<p>* Performance. I didn&#x27;t think this would be a huge issue, however it&#x27;s <i>much</i> slower than Trisquel, Parabola and GuixSD running GNOME on a x200. WiFi also seemed slow.<p>* IPv6 seemingly didn&#x27;t work, even when verifying my ifconfig setup.<p>* Filesystem. I don&#x27;t expect them to add ZFS due to code size and license, but still using UFS is laughable. UFS seemed to have I&#x2F;O deficiencies which exacerbated the performance issue.<p>* the <i>other</i> documentation. While the manpages are good, information on the internet can be contradictory depending on it&#x27;s age.<p>* No lsblk. This is more of a nitpick, but there is seemingly no way to get the right name for a disk without parsing through `dmesg` and guessing with partition number.<p>* pkg_add. It&#x27;s extremely slow compared to apt even and separates it&#x27;s parts out for seemingly no reason. Package management in general is somewhat awful.
评论 #19286484 未加载
评论 #19287923 未加载
评论 #19289456 未加载
apostacy大约 6 年前
I totally respect OpenBSD and their commitment to security and stability. However, the thing holding me back is that they&#x27;ve dropped some features over the years that I relied on.<p>I used OpenBSD on a netbook and it was awesome. But I really needed 32-bit Linux binary compatibility, and I was also one of the 3 people who used bluetooth. Both of these features were removed entirely. I wish there was a way I could &quot;live dangerously&quot; and have access to them again. I would love to have access to bluetooth based serial terminals, and use my favorite keyboard.
JohnFen大约 6 年前
Since SystemD has become so prevalent in Linux, I&#x27;ve been looking longingly at BSD. The only problem is that I have a large number of machines that I&#x27;d need to move over, and it&#x27;s a pretty intimidating amount of work. But I&#x27;m planning on beginning the move, one system at a time...
评论 #19284431 未加载
评论 #19286282 未加载
评论 #19283137 未加载
评论 #19284130 未加载
评论 #19283541 未加载
评论 #19285804 未加载
评论 #19283235 未加载
avar大约 6 年前
Why does file(1)[1] need its own chroot sandbox instead of using the pledge(2)[2] facility. They say:<p>&gt; Think of the following: You download a random file from the internet and analyze it using file. If file has a security hole (local code execution for example), he can run attacks with his prepared file. Thats why the file utility is sandboxed and chrooted by default.<p>Isn&#x27;t that exactly the sort of case where file(1) would open(2) the downloaded file and its own database, and then proceed to drop all other access privileges before doing any of the parsing of the untrusted file?<p>1. <a href="https:&#x2F;&#x2F;why-openbsd.rocks&#x2F;fact&#x2F;file&#x2F;" rel="nofollow">https:&#x2F;&#x2F;why-openbsd.rocks&#x2F;fact&#x2F;file&#x2F;</a><p>2. <a href="https:&#x2F;&#x2F;why-openbsd.rocks&#x2F;fact&#x2F;pledge&#x2F;" rel="nofollow">https:&#x2F;&#x2F;why-openbsd.rocks&#x2F;fact&#x2F;pledge&#x2F;</a>
评论 #19280868 未加载
teknopurge大约 6 年前
Anything that matters for us runs either on OpenBSD or behind it. almost 20 years now. Zero fucks given. Theo is the type of dev manager I want for my projects.(aggressive, opinionated, solid)
Tepix大约 6 年前
Nice list. They may want to take Spectre off the list, however. It seems only hardware fixes actually work: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1902.05178.pdf" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1902.05178.pdf</a><p>Signify sounds great. It has been ported to Linux: <a href="https:&#x2F;&#x2F;github.com&#x2F;Blitznote&#x2F;signify" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Blitznote&#x2F;signify</a>
asveikau大约 6 年前
I like openbsd and have used it happily for a long time, but it&#x27;s not fair to list sysmerge and syspatch as selling points. If we are being honest, other systems have long had more automatic upgrade procedures and these two tools are essentially minimalist ways of solving the problems with the old way.
claudiawerner大约 6 年前
I found OpenBSD to be pretty amazing, and after trying it now and then I finally loaded it onto my x220 to use it daily. Things worked fine, but I realized the battery life was poor (even using the functionality, I think in tpm, which regulates the clock speed to be slower) and support for what I began to need (like the Eclipse IDE) was shoddy. Unlike many others, I don&#x27;t have much to say about the documentation, but that&#x27;s also an endorsement for the system itself - I didn&#x27;t need to access it more than once or twice.<p>Support for other file systems, which is a part of life for me, was pretty lacking; for me, ext4 write support and fat32 read&#x2F;write isn&#x27;t essential but would have been enough to stop me from moving back to GNU&#x2F;Linux.<p>In the end, it looks like a great system but it just didn&#x27;t fit my needs, just as, for instance, NixOS (and Guix) didn&#x27;t fit my needs when I wanted a custom XKB layout.
评论 #19281056 未加载
snazz大约 6 年前
It does <i>just work</i> (TM). Brightness and volume hotkeys work out of the box, without a desktop environment (even on the console). WiFi, including autojoining, works using a single ifconfig command or configuration file. Suspend&#x2F;resume works on my laptop without any configuration.<p>If you’re using it on a laptop, just make sure to use an older, less ultrabook-like machine and you’ll be good.
评论 #19280971 未加载
nwmcsween大约 6 年前
The points aren&#x27;t OpenBSD specific though:<p>* ASLR - every modern OS has some form of this.<p>* FDE - there are reasons (IIRC) FDE is better at FS level than block so this is sort of a negative.<p>* LibreSSL - OpenSSL API is still a tire fire.<p>* PIE - Possible on IIRC fbsd, nbsd, linux, etc.<p>* UTF-8 only libc - there are issues here, such as strcasecmp.<p>* noexec - IIRC this has been cross OS since the dawn of time (at least early 2000&#x27;s).<p>* pledge - pledge is cool, I&#x27;m trying to implement something similar using google kafel and a macro that turns `vow(id, kafel_string, flags)` into a compile time bpf filter.<p>* strlcpy - is sort of junk as it has to iterate over ALL of src so for example strlcpy(d, &quot;superlongstring...&quot;, 2) will read all of &quot;superlongstring...&quot;
technofiend大约 6 年前
If you want to use Ubiquiti hardware but not Vyatta, OpenBSD supports the Octeon processor [1]. In particular the edgerouter lite can be swapped to OpenBSD [2] for the cost of the right USB stick [3] and a console cable [4].<p>Some people find the ERL&#x27;s performance isn&#x27;t sufficient to pass packets and also host services such as radius or that the passive heat management on the edgerouter isn&#x27;t sufficient. In that case Protectli.com [5] makes appliances with monster heat sinks on top and despite running an old ATOM processor can push data at gigabit speeds [6] thanks to onboard Intel NICs.<p>Finally you can just grab any refurb wintel box, add a couple of Intel NICs and throw away the windows license.<p>The great thing about OpenBSD is particularly for its typical roles of firewall, load balancer, edge gateway, authentication server, etc it doesn&#x27;t require much CPU or storage.<p>I recently rebuilt a laptop with Windows from a USB 3 stick to an Intel M.2 NVME SSD. It took less than 5 minutes to go from booting to install to reboot. OpenBSD&#x27;s footprint is so small you&#x27;ll see similar build times particularly when you leave off X Window.<p>[1] <a href="https:&#x2F;&#x2F;www.openbsd.org&#x2F;octeon.html" rel="nofollow">https:&#x2F;&#x2F;www.openbsd.org&#x2F;octeon.html</a><p>[2] <a href="https:&#x2F;&#x2F;codeghar.com&#x2F;blog&#x2F;openbsd-network-gateway-on-edgerouter-lite.html" rel="nofollow">https:&#x2F;&#x2F;codeghar.com&#x2F;blog&#x2F;openbsd-network-gateway-on-edgerou...</a><p>[3] <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B013CCTM2E&#x2F;ref=cm_sw_em_r_mt_dp_U_UewECb3Q86NVG" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B013CCTM2E&#x2F;ref=cm_sw_em_r_mt_dp_U_...</a><p>[4] <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B01N0LMWGQ&#x2F;ref=cm_sw_em_r_mt_dp_U_wgwECbSVDAYK5" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B01N0LMWGQ&#x2F;ref=cm_sw_em_r_mt_dp_U_...</a><p>[5] <a href="https:&#x2F;&#x2F;protectli.com&#x2F;4-port&#x2F;" rel="nofollow">https:&#x2F;&#x2F;protectli.com&#x2F;4-port&#x2F;</a><p>[6] <a href="https:&#x2F;&#x2F;tech.mangot.com&#x2F;blog&#x2F;2018&#x2F;11&#x2F;08&#x2F;showing-a-gigabit-openbsd-firewall-some-monitoring-love&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tech.mangot.com&#x2F;blog&#x2F;2018&#x2F;11&#x2F;08&#x2F;showing-a-gigabit-op...</a>
wtmt大约 6 年前
What are the desktop GUI environments or window managers available on OpenBSD that are comparable to those on Linux? I see a mention of running X as a user, but nothing more.<p>What about desktop hardware support? Does it have working drivers for different WiFi chipsets, video cards, trackpad, etc. (referring only to x86 based systems)?
评论 #19281079 未加载
评论 #19281902 未加载
KAKAN大约 6 年前
I use FreeBSD. It works fine, and I&#x27;ve configured it to be secure. Is there any reason for me to move over to OpenBSD ? I don&#x27;t care about minimal or some reasons like that, I already have Alpine linux for that. Any other reason(s) ?
评论 #19283734 未加载
verbatim大约 6 年前
How many of these items are not also available in a standard Linux configuration?
评论 #19281114 未加载
srfilipek大约 6 年前
RETGUARD isn&#x27;t mentioned, which is curious.<p>Guess I&#x27;ll need to submit a merge request.
gbrown_大约 6 年前
A more comprehensive list <a href="https:&#x2F;&#x2F;www.openbsd.org&#x2F;innovations.html" rel="nofollow">https:&#x2F;&#x2F;www.openbsd.org&#x2F;innovations.html</a>
评论 #19281790 未加载
meruru大约 6 年前
I really, really want to use OpenBSD. I love everything they make. The one thing that keeps me on FreeBSD&#x2F;Linux is ZFS support.
评论 #19281845 未加载
upofadown大约 6 年前
sndiod is pretty nice...<p>Dead simple. Fixed latency that you set when you run the sound daemon. Same API with the sound daemon in or out. You can yank it out and the programs get to use the same interface for both audio and mixer. So nothing like the pointless ALSA mixing interface laying around when you run pulseaudio. It all works transparently.
Jenz大约 6 年前
Wow! OpenBSD _security_ rocks!
legosteen11大约 6 年前
I wanted to install and try OpenBSD on my Librebooted Thinkpad T60, but unfortunately it is not possible to use full disk encryption with a non-custom Libreboot rom (you apparently need SeaBios instead of Grub2 for this to work). I find it quite sad, because I think Libreboot + OpenBSD would be the ultimate security and privacy-focused combo.
评论 #19299287 未加载
srfilipek大约 6 年前
&gt; Xserver without root permissions<p>There must have been a regression. There still was lingering suid root binaries that OpenBSD got bit by recently.<p>I mean, it was security fix #1 for release 6.4: <a href="https:&#x2F;&#x2F;www.openbsd.org&#x2F;errata64.html" rel="nofollow">https:&#x2F;&#x2F;www.openbsd.org&#x2F;errata64.html</a>
评论 #19281405 未加载
zolotarev大约 6 年前
Why OpenBSD? <a href="https:&#x2F;&#x2F;rgz.ee&#x2F;openbsd&#x2F;why.html" rel="nofollow">https:&#x2F;&#x2F;rgz.ee&#x2F;openbsd&#x2F;why.html</a><p>See also: <a href="https:&#x2F;&#x2F;rgz.ee&#x2F;openbsd&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rgz.ee&#x2F;openbsd&#x2F;</a>
adulau大约 6 年前
OpenBGPD is missing from the list. It&#x27;s a great piece of software.
jimmy1大约 6 年前
Many of the items on this list seem to be some variation of &quot;random place in memory so attackers can&#x27;t guess&quot;<p>It sounds nice, but can someone explain if there are any downsides?
评论 #19281505 未加载
评论 #19280784 未加载
ur-whale大约 6 年前
How is NVidia GPU support on OpenBSD? Will OpenBSD run GPU-accelerated TensorFlow or Torch?
评论 #19287077 未加载
swills大约 6 年前
How is OpenBSD performance these days?
评论 #19281667 未加载
jwmjj大约 6 年前
&gt;If you install a library, there is no split between library and header files. There is no zlib-dev package as an addition to zlib. You get everything at once.<p>And that&#x27;s good?
评论 #19281472 未加载
评论 #19282967 未加载
评论 #19283878 未加载
knorker大约 6 年前
Last time I tried the full disk encyrption [sic] it was an awful setup compared to Linux.<p>&gt; <a href="https:&#x2F;&#x2F;why-openbsd.rocks&#x2F;fact&#x2F;meltdown-spectre&#x2F;" rel="nofollow">https:&#x2F;&#x2F;why-openbsd.rocks&#x2F;fact&#x2F;meltdown-spectre&#x2F;</a><p>Uh, yeah. They did that, just like Linux did before them. I especially like the reply to the announcement that was &quot;uh… I hope you didn&#x27;t spend these two months coming up with that solution. We already did that for Linux, so you could have just asked&quot;.
评论 #19284817 未加载
评论 #19284667 未加载
评论 #19281823 未加载