Subject: CVS commit: pkgsrc/security/tlswrapper
From: Amitai Schleier
Date: 2022-01-04 22:39:03
Message id: 20220104213903.D58D1FAEC@cvs.NetBSD.org

Log Message:
Add tlswrapper, an UCSPI/inetd-style TLS encryption wrapper.

tlswrapper is an TLS encryption wrapper between remote client and local
program prog. Systemd.socket/inetd/tcpserver/... creates the server
connection, tlswrapper encrypts/decrypts data stream and reads/writes
data from/to the program prog as follows:

Internet <--> systemd.socket/inetd/tcpserver/... <--> tlswrapper \ 
<--> prog

By running separate instance of tlswrapper for each TLS connection, a
vulnerability in the code (e.g. bug in the TLS library) can't be used to
compromise the memory of another connection.

To protect against secret-information leaks to the network connection
(such Heartbleed) tlswrapper runs two independent processes for every
TLS connection. One process holds secret-keys and runs secret-keys
operations and second talks to the network. Processes communicate with
each other through UNIX pipes.

Files:
RevisionActionfile
1.1addpkgsrc/security/tlswrapper/DESCR
1.1addpkgsrc/security/tlswrapper/Makefile
1.1addpkgsrc/security/tlswrapper/PLIST
1.1addpkgsrc/security/tlswrapper/distinfo