openbsd-webzine/issues/issue-8/40_INTERVIEW.html

46 lines
5.7 KiB
HTML

<article id="interview">
<div class="puffies" aria-hidden="true">🐡🐡🐡</div>
<h2>Questions & Answers</h2>
<div>
<p>We chose to keep the author of each question anonymous for this section.</p>
<hr />
<p><strong>Question from K.</strong>: I'm curious about criterias for where you've chosen to use OpenBSD in some contexts versus a linux distribution in some others</p>
<p><strong>Solene@</strong>: there are many criteria that will come into the decision: first, are my software and hardware requirements compatible with OpenBSD? If no, usually Linux is a very good fallback. Most of the time, this will be the only question I need to think about, I would install OpenBSD any time when I have the choice AND it will do what I want. Another question would be in case of a multiple human users system, do I want them to use OpenBSD, is it a good idea? Finally, performance could also be an important factor in the decision, especially for embedded systems.</p>
<hr />
<p><strong>Question from T.</strong>: I found it really confusing on how to get started with the very few basics of relayd and how to set it up with httpd. I could run httpd on its own but it seemed all the features I wanted were in relayd and the manual assumed a level of basic set-up info I didn't know</p>
<p><strong>Solene@</strong>: it is true the relation between httpd and relayd can be confusing. Relayd in front of httpd can add some logic related to headers while httpd doesn't have much logic in its configuration which make it relatively dependent on relayd for some use cases. However, I usually recommend use of a web server like apache or nginx when you need some advanced features that httpd doesn't have.</p>
<hr />
<p><strong>Question from T.</strong>: How to change the 404 page in httpd? Is there really no other way than changing the source code and recompiling httpd?</p>
<p><strong>Solene@</strong>: httpd received support for custom error pages in October 2021 <a href="https://cvsweb.openbsd.org/src/usr.sbin/httpd/httpd.conf.5?rev=1.119&content-type=text/x-cvsweb-markup" class="permalink">in this commit</a>, you can read about it <a href="https://man.openbsd.org/httpd.conf#errdocs" class="permalink">in the man page</a></p>
<hr />
<p><strong>Question from S.</strong>: I've always been curious how folks are able to play games like old Half-Life mods (e.g. Counter-Strike); like is this some wine or Linux compatibility layer or do there exist builds of these games for OpenBSD?</p>
<p><strong>Solene@</strong>: commercial video games running on OpenBSD are using various technologies. They can be run using a game engine implementation, meaning someone rewrote the game engine from scratch and you need to have the game assets (sounds, maps, graphics etc..) to play the game, sometimes it's not really clear as if it's really open source or leaked code, this is the case for the Gold Engine used to run Half-Life, hence this is why it's not available in ports. On the other hand, some games are written in programming language such as Java or C# which are virtual machines and they only rely on open source libraries that we have in ports, in that case it's often possible to run the game natively by replacing the original libraries with the one from ports and use java or mono to run the code.</p>
<hr />
<p><strong>Question from W. O.</strong>: What are some practical uses for rdomains?</p>
<p><strong>Solene@</strong>: there are at least two different uses I can think of right now. The first use would be for a system with multiple internet connections which would use each independently. Each link would live in its own routing domain and never mix with the others. Another use case would be with VPN, instead of using it as a default gateway it could run in a different routing domain, the user could then choose per-application if it should pass through the VPN or not.</p>
<hr />
<p><strong>Question from R. S.</strong>: Assuming a new user is coming from a linux background, what things do you think are critical to know about OpenBSD?</p>
<p><strong>Solene@</strong>: I think new users should know OpenBSD is quite unlike Linux distributions, to avoid common mistakes that lead people to follow wrong instructions when looking for help. In addition, knowing about the FAQ on the website and how to efficiently read man pages would be a great introduction. Of course, starting a new product by its documentation it not very fun, but as OpenBSD differs greatly from Linux, I'm convinced new users should spend some time learning how to use the documentation.</p>
<hr />
<p><strong>Question from R. S.</strong>: What do you think is the coolest 'new' thing in the upcoming release?</p>
<p><strong>Solene@</strong>: I'm personnaly happy to see support for distributing gzipped content in httpd but I have to admit the various changes such as Apple M1 support or all the WiFi improvements are exciting.</p>
<hr />
<p><strong>Question from R. S.</strong>: Name an unexpected man page that you think is a must-read for admins.</p>
<p><strong>Solene@</strong>: here is the <a href="https://man.openbsd.org/afterboot" class="permalink">afterboot</a> man page</p>
<hr />
<p><strong>Question from T.</strong>: Is any work on network/PF performance being done? I use OpenBSD as a firewall, and it works great with my existing hardware an internet connection, but when I look at benchmarks it seems to lag behind Linux and FreeBSD as far as throughput in this application.</p>
<p><strong>Solene@</strong>: there is a current work to improve PF performance to make it use multiple CPUs at once, in the end this will give good results. However we regularly reach milestones and performance is getting better with every new release.</p>
</div>
</article>