24 lines
1,017 B
Text
24 lines
1,017 B
Text
===========================================================================
|
|
$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"
|
|
|
|
===========================================================================
|