OpenBSD Journal

OpenBSD Journal

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.

OpenBSD at BSDCan 2018

Contributed by rueda on from the all-present-and-correct dept.

BSDCan 2018 has concluded, and materials for (some of) the OpenBSD-related tutorials and talks can be found in the usual place.

Highlights include the unveiling of unveil(), hinted at by Bob Beck (beck@) in his p2k18 report, and "Speculating about Intel", by Theo de Raadt (deraadt@). [An unofficial video of the latter presentation is available.]

At the time of writing, official video recordings are not yet available.

libcsi - Crypto Simplified Interface

Contributed by rueda on from the continuing-sane-innovation dept.

Joel Sing (jsing@) has committed Crypto Simplified Interface (CSI) to -current:

Module name:	src
Changes by:	2018/06/02 11:40:33

Added files:
	lib/libcsi     : Makefile Symbols.list csi.c csi.h csi_dh.c 
	                 csi_dh_groups.c csi_internal.h csi_util.c 

Log message:
Initial version of Crypto Simplified Interface (CSI).

This is a code base that intends on providing a simplified interface for
mid-level cryptographic operations. In due course various applications and
libraries will be able to benefit from a clean and robust API, rather than
using libcrypto or other similar APIs directly.

Discussed at length with deraadt@, djm@, markus@, beck@ and others.

This parallels the addition of libtls.


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.]