Hi,

On Fri, May 26, 2017 at 04:30:53PM +0200, Jeremie Courreges-Anglas wrote:
> I am the maintainer of openvpn in the OpenBSD ports tree.  Here's
> a report from Stefan Sperling (Cc'ed).
> 
> > An openvpn server running on OpenBSD/sparc64 6.1 crashes when a client
> > connects and starts doing traffic. Is anyone else seeing this?

Thanks for the report.  I'll look into it.

Copying around the IP header doesn't feel like the proper solution, 
though - it's basically replacing an unaligned access somewhere with
a larger (unaligned!) mem copy, where most likely changing a word
access to 2x byte access (etc) might achieve the same thing without
copying.

> To work around this, the patch below (also written by Stefan) was
> committed in our ports tree.  TARGET_FREEBSD and TARGET_DRAGONFLY seem
> to be affected too.

FreeBSD/Sparc64 traps unaligned memory accesses and handles them 
kernel-side.  So you'll see a slowdown, but no signal.

Linux/Sparc64 has the same restrictions (unaligned access causing a
signal), but nobody has reported that yet, so maybe the underlying
memory alignment of the allocated buffer happens to be good enough 
there.

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to