From patchwork Sun Apr 1 09:13:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hesse X-Patchwork-Id: 282 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director7.mail.ord1d.rsapps.net ([172.27.255.52]) by backend30.mail.ord1d.rsapps.net (Dovecot) with LMTP id k8mDGKczwVrMSwAAIUCqbw for ; Sun, 01 Apr 2018 15:31:51 -0400 Received: from proxy4.mail.iad3a.rsapps.net ([172.27.255.52]) by director7.mail.ord1d.rsapps.net (Dovecot) with LMTP id pQXMAaczwVoreQAAovjBpQ ; Sun, 01 Apr 2018 15:31:51 -0400 Received: from smtp5.gate.iad3a ([172.27.255.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy4.mail.iad3a.rsapps.net with LMTP id 6JbMDqczwVryBQAA8Zvu4w ; Sun, 01 Apr 2018 15:31:51 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp5.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=eworm.de; dmarc=none (p=nil; dis=none) header.from=eworm.de X-Suspicious-Flag: YES X-Classification-ID: 52e9be7a-35e3-11e8-b078-525400de824c-1-1 Received: from [216.105.38.7] ([216.105.38.7:35911] helo=lists.sourceforge.net) by smtp5.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.1.56364 r(Core:4.2.1.14)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id AF/28-15049-6A331CA5; Sun, 01 Apr 2018 15:31:50 -0400 Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1f2ih3-0004Kk-81; Sun, 01 Apr 2018 19:31:09 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1f2ih1-0004Kb-CF for openvpn-devel@lists.sourceforge.net; Sun, 01 Apr 2018 19:31:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gegm0TAJNgT11o1gwcc/j9WI3UdpiL0vrcRi1/3orVI=; b=IkSGzH3wsvTAqmkiqd6Jfu1eC7 8VJP6po/zUMm8I+UoAt1lkDyC2/VQHS0ail2BgFMRkzfujED5Vqp7pKvUYXm9Jy64kcrHSUNZYQJS PoZLcsu9ZTCDJnoR0kIKTGLcZdPlzQ+3EfWZ6NIY0kW77KCsvw21Ju0pTWfximwpwq4o=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Gegm0TAJNgT11o1gwcc/j9WI3UdpiL0vrcRi1/3orVI=; b=J06J+DnzECpkKt0ph7RFhFUOJ4 X4cj9C6zr30ruyIYRQ8aoRQW7jVwvhZuM/wEwpBXoCrabz5vpYUVGM/9F1ckMT76XEENS1qaxLpD4 RiHOFFMF1yngDfSvww/66x6fgv4vu4WPz3i2uj5fNAjmn5vc2RDGDRkdzmQmGZG/zySY=; Received: from mx.mylinuxtime.de ([148.251.109.235]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1f2igw-00HZhA-W2 for openvpn-devel@lists.sourceforge.net; Sun, 01 Apr 2018 19:31:07 +0000 Received: from leda.eworm.de (unknown [10.10.4.2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.mylinuxtime.de (Postfix) with ESMTPSA id 33FCE266FA for ; Sun, 1 Apr 2018 21:14:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mx.mylinuxtime.de 33FCE266FA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eworm.de; s=mail; t=1522610042; bh=6P+nNJf+wx5G66JVdeFf5D/wZ+Ge1KQfYMO5PIM5JNo=; h=From:To:Subject:Date; b=ihWsKa8CFhn3x6jDilDLP+k79jMpwqWCde8qlolJygxxr1uqC8Vn4cQYGbsnsQzDo RfZx1MJU6fHmLonN3sCuVuYtBvNtfsihM4F3AXZK4J4BbzmcT3NajWdgVQjefdFOMJ KkwWr4/QYk45TyKlgo+3Y6epHV3yJ/ynWwXXl3wE= Received: by leda.eworm.de (Postfix, from userid 1000) id D7F5710287E; Sun, 1 Apr 2018 21:13:55 +0200 (CEST) From: Christian Hesse To: OpenVPN Development Date: Sun, 1 Apr 2018 21:13:06 +0200 Message-Id: <20180401191309.32211-1-list@eworm.de> X-Mailer: git-send-email 2.16.3 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1f2igw-00HZhA-W2 Subject: [Openvpn-devel] [RFC 0/3] follow-up netlink support, systemd integration X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox This series is a follow-up to 'add netlink support for Linux' by Antonio Quartulli. It enhances integration with systemd and improves system security by running the openvpn process with a dedicated user. Christian Hesse (3): systemd: run openvpn with dedicated user systemd: do not downgrade UID/GID systemd: create configuration directories from tmpfiles configure.ac | 8 ++++++++ distro/systemd/Makefile.am | 4 ++++ distro/systemd/openvpn-client@.service.in | 4 +++- distro/systemd/openvpn-server@.service.in | 4 +++- distro/systemd/sysusers-openvpn.conf | 1 + distro/systemd/tmpfiles-openvpn.conf | 6 ++++-- src/openvpn/init.c | 8 ++++++++ 7 files changed, 31 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot