OpenBSD Journal

OpenBSD Journal

g2k18 hackathon report: Antoine Jacoutot on porting

Contributed by Paul 'WEiRD' de Weerd on from the super-valuable-grenouille dept.

Before winning the football world cup, the french were writing their hackathon reports. Here's the one from Antoine Jacoutot (ajacoutot@):

g2k18 was my third General Hackathon in Ljubljana, Slovenia. I love it there, it's a great place to host such an event: perfect location (city center), beautiful city, cheap yet very nice food etc.

My goal for the week was to remove a few items from my overgrowing TODO list.

Read more…

OpenBSD gains Wi-Fi "auto-join"

Contributed by rueda on from the puffy-on-the-go dept.

In a change which is bound to be welcomed widely, -current has gained "auto-join" for Wi-Fi networks. Peter Hessler (phessler@) has been working on this for quite some time and he wrote about it in his p2k18 hackathon report. He has committed the work from the g2k18 hackathon in Ljubljana:

Module name:	src
Changes by:	2018/07/11 14:18:09

Modified files:
	sbin/ifconfig  : ifconfig.8 ifconfig.c 
	sys/net80211   : ieee80211_ioctl.c ieee80211_ioctl.h 
	                 ieee80211_node.c ieee80211_node.h 

Log message:
Introduce 'auto-join' to the wifi 802.11 stack.

This allows a system to remember which ESSIDs it wants to connect to, any
relevant security configuration, and switch to it when the network we are
currently connected to is no longer available.

Read more…

Fixing bufferbloat with PF and OpenBSD

Contributed by Janne Johansson on from the thinning the bloated puffer dept.

In this post, Paul Smith shows how to reduce buffer bloat and improve interactive traffic latencies.

Long time ago, Daniel Hartmeier wrote a nice piece on how to prioritize ACKs and small packets using ALTQ in PF to sustain download speeds on (mostly) assymetric links, but since then PF and queuing has undergone quite a few changes.

To see an example on how the new rulesets should look, and how to score more internet points on speed tests, head over to his article.

httpd(8) Gains Simple Request Rewrites

Contributed by rueda on from the and-there-was-much-rejoicing dept.

Reyk Floeter (reyk@) has committed support for simple request rewrites to httpd(8)/ httpd.conf(5) [in -current]:

CVSROOT:        /cvs
Module name:    src
Changes by:    2018/06/20 10:43:05

Modified files:
        usr.sbin/httpd : config.c httpd.conf.5 httpd.h parse.y 

Log message:
Add support for simple one-off internal rewrites.

For example:

location match "/page/(%d+)/.*" {
request rewrite "/static/index.php?id=%1&$QUERY_STRING"

Requested by many.

Ok benno@

Intel® FPU Speculation Vulnerability Confirmed

Contributed by rueda on from the speculation-no-more dept.

Earlier this month, Philip Guenther (guenther@) committed (to amd64 -current) a change from lazy to semi-eager FPU switching to mitigate against rumored FPU state leakage in Intel® CPUs.

Theo de Raadt (deraadt@) discussed this in his BSDCan 2018 session.

Using information disclosed in Theo's talk, Colin Percival developed a proof-of-concept exploit in around 5 hours. This seems to have prompted an early end to an embargo (in which OpenBSD was not involved), and the official announcement of the vulnerability.


Donate to OpenBSD


We are constantly on the lookout for stories of how you put OpenBSD to work. Please submit any informative articles on how OpenBSD is helping your company.

OpenBSD Errata

OpenBSD 6.3

0112018-06-21 SECURITY Perl's Archive::Tar module could be made to write files outside of its working directory.
0102018-06-17 SECURITY Intel CPUs speculatively access FPU registers even when the FPU is disabled, so data (including AES keys) from previous contexts could be discovered if using the lazy-save approach.
0092018-06-14 SECURITY DSA and ECDSA signature generation can potentially leak secret information to a timing side-channel attack.
0082018-05-17 RELIABILITY A malicious packet can cause a kernel crash when using IPsec over IPv6.
0072018-05-08 RELIABILITY Incorrect checks in libcrypto can prevent Diffie-Hellman Exchange operations from working.
0062018-05-08 RELIABILITY Incorrect handling of fragmented IPsec packets could result in a system crash.

Unofficial RSS feed of OpenBSD errata


Users wishing RSS/RDF summary files of OpenBSD Journal can retrieve: RSS feed

Options are available.


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]