issue-8: pamela@ proofreading

This commit is contained in:
Solene Rapenne 2022-03-22 20:54:50 +01:00
parent 6cb8432b10
commit d4b9d855f8
4 changed files with 18 additions and 18 deletions

View File

@ -3,8 +3,8 @@
<ul>
<li>OpenBSD on Apple M1 is more accessible</li>
<li>httpd supports static gzip compression</li>
<li>Many wifi performance improvement</li>
<li>Many wifi performance improvements</li>
<li>Webzine new Questions and Answers section</li>
<li>Webzine is being translated into Germand and French</li>
<li>Webzine is being translated into German and French</li>
</ul>
</article>

View File

@ -3,18 +3,18 @@
<h2>Recent -current changes</h2>
<p>Many changes to current since last webzine, this is awesome!</p>
<ul>
<li><a href="https://marc.info/?l=openbsd-cvs&m=164599382324670&w=2" class="permalink">static gzip support in httpd</a>, the patch was developped for the webzine by our author prx and tested on our website</li>
<li><a href="https://marc.info/?l=openbsd-cvs&m=164599382324670&w=2" class="permalink">static gzip support in httpd</a>, the patch was developed for the webzine by our author prx and tested on our website</li>
<li><a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164609772318735&w=2">new rtable setting in login.conf</a> to define a default routing table per class</li>
<li>OpenBSD now supports Apple <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164617014016658&w=2">M1 Pro/Max</a> machines.</li>
<li>OpenBSD should now be usable on <a class="permalink" href="https://marc.info/?l=openbsd-tech&m=164768935419551&w=2">Apple M1 systems</a> for a wider audience (it got easier to setup)</li>
<li>OpenBSD should now be usable on <a class="permalink" href="https://marc.info/?l=openbsd-tech&m=164768935419551&w=2">Apple M1 systems</a> for a wider audience (it became easier to setup)</li>
<li>Xbox One controller <a href="https://marc.info/?l=openbsd-cvs&m=164786514008198&w=2" class="permalink">is now natively supported</a></li>
<li>Add <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164622142412305&w=2">openvpn ports</a> to /etc/services so you can refer to ports TCP/UDP 1194 using the name openvpn</li>
<li>Add <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164622142412305&w=2">openvpn ports</a> to /etc/services so you can refer to ports TCP/UDP 1194 using the name "openvpn"</li>
<li>New <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164675207028317&w=2">mtw(4) driver</a> for Mediatek wifi card</li>
<li>Improve <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164682591203530&w=2">iwn roaming stability</a></li>
<li>Add initial support for <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164727054105578&w=2">802.11ac for iwx driver</a></li>
<li>Add support for <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164768552018564&w=2">80MHz channels</a></li>
<li>Add initial support for <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164768562118583&w=2">802.11ac for iwm driver</a></li>
<li>Slightly improve network performance <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164658027728696&w=2">by avoiding IPSEC</a> checks done even when the system had no IPSEC tunnel</li>
<li>Slightly improve network performance <a class="permalink" href="https://marc.info/?l=openbsd-cvs&m=164658027728696&w=2">by avoiding IPSEC</a> checks done even when the system has no IPSEC tunnel</li>
</ul>
<h2>Interesting new packages</h2>
<ul>

View File

@ -3,15 +3,15 @@
<h2>Questions & Answers</h2>
<div>
<p>We chose to keep the questions author anonymous for this section.</p>
<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 criterias 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>
<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 dependant to relayd for some use case. However, I usually recommend to use a web server like apache or nginx when you need some advanced features that httpd doesn't have.</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>
@ -19,19 +19,19 @@
<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 by the one from ports and use java or mono to run the code.</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 use I can think of right now. First use would be a system with multiple internet access that would use each independently, each link would live in its routing domain and would never mix with each other. 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>
<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 now about OpenBSD not being a Linux distribution, this is a very common mistake 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 nos very fun, but as OpenBSD is really different than Linux I'm convinced new user should spend some time learning how to use the documentation.</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 personnally 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>
<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>
@ -39,7 +39,7 @@
<hr />
<p><strong>Question from T.</strong>: Is any work on network/PF perfomance 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 CPU at once, in the end this will give good results. However we regularly reach milestones and performance are getting better at every new release.</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>

View File

@ -2,7 +2,7 @@
<div class="puffies" aria-hidden="true">🐡🐡🐡</div>
<h2>Shell tips</h2>
<p>It is easy to add autocompletion to commands in ksh, however they are limited because they have to be evaluated when the shell is starting.</p>
<p>In the following example, we can parse the file <pre>~/.ssh/known_hosts</pre> to get hostnames and use this list to set completion for some commands:
<p>In the following example, we can parse the file <pre>~/.ssh/known_hosts</pre> to get hostnames and use this list to set autocompletion entries for some commands:
<pre>
HOSTS_LIST=$(awk '{split($1,a,","); print a[1]}' ~/.ssh/known_hosts)
@ -11,10 +11,10 @@ set -A complete_ping -- $HOSTS_LIST
set -A complete_sndioctl_1 -- $(sndioctl | cut -d= -f 1)
</pre></p>
<p>In this other example, we add different completion depending on the parameter position
<p>In this other example, we autocomplete differently depending on the parameter position
<pre>set -A complete_rclone_1 -- ncdu ls copy sync
set -A complete_rclone_2 -- $(rclone listremotes)
</pre>
Adding completion is easy but this will be evaluated at runtime, so you should avoid time consuming evaluations and some commands like scp or git can't receive much useful completion.</p>
<p>More information can be found about this feature <a class="permalink" href="https://man.openbsd.org/ksh#Emacs_editing_mode">in ksh man page</a>.</p>
Adding autocompletion entries is easy but in ksh it is evaluated at runtime, so you should avoid time consuming evaluations, and some commands like scp or git can't receive much useful completion.</p>
<p>More information can be found about this feature <a class="permalink" href="https://man.openbsd.org/ksh#Emacs_editing_mode">in the ksh man page</a>.</p>
</article>