security/tlswrapper 20230101 NetBSD
UCSPI/inetd-style TLS encryption wrapper
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- cc0-1.0-universal
- Categories
- security, net
- Package size
- 49.1 KiB, 487.2 KiB installed
Description
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.
Install
Binary package:
pkgin install tlswrapper
From pkgsrc:
cd /usr/pkgsrc/security/tlswrapper && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 20230101 |
| NetBSD 10.1 aarch64 | 20230101 |
| SmartOS / illumos x86_64 | 20230101 |
| macOS 15 arm64 | 20230101 |
Dependencies
Run dependencies 1
No port depends on this one.