Files
pkgsrc-ng/security/spiped/MESSAGE.smf
2016-01-21 23:40:00 +01:00

25 lines
1017 B
Plaintext

===========================================================================
$NetBSD: MESSAGE.smf,v 1.2 2014/05/14 14:00:42 jperkin Exp $
This package supports multiple SMF instances.
Configure using the SMF properties: mode, source, target and key.
Mode can have the value "encrypt" or "decrypt". Source and target are
formatted as described in spiped(1). The key is a path to the keyfile.
To generate a new keyfile:
dd if=/dev/urandom bs=32 count=1 > ${PKG_SYSCONFDIR}/spiped_example.key
Add a example service instance:
svccfg -s spiped add example
svccfg -s spiped:example addpg spiped application
svccfg -s spiped:example setprop spiped/mode = astring: decrypt
svccfg -s spiped:example setprop spiped/source = astring: [0.0.0.0]:2323
svccfg -s spiped:example setprop spiped/target = astring: [127.0.0.1]:23
svccfg -s spiped:example setprop \
spiped/key = astring: "${PKG_SYSCONFDIR}/spiped_example.key"
===========================================================================