summaryrefslogtreecommitdiffstats
path: root/system/conserver/conserver.cf
diff options
context:
space:
mode:
author Menno E. Duursma <druiloor@zonnet.nl>2010-05-11 15:18:35 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-11 15:18:35 +0200
commitaf96e3345ba7d84df21052f349c5991482a43cc5 (patch)
tree21921b8c6cce584135dc7087de6f2fc703b46c2f /system/conserver/conserver.cf
parent610f908cb76f8bc1ffca107a00fcc0cf3fc646ed (diff)
downloadslackbuilds-af96e3345ba7d84df21052f349c5991482a43cc5.tar.gz
slackbuilds-af96e3345ba7d84df21052f349c5991482a43cc5.tar.xz
system/conserver: Initial import
Diffstat (limited to 'system/conserver/conserver.cf')
-rw-r--r--system/conserver/conserver.cf49
1 files changed, 49 insertions, 0 deletions
diff --git a/system/conserver/conserver.cf b/system/conserver/conserver.cf
new file mode 100644
index 0000000000..296889e7ba
--- /dev/null
+++ b/system/conserver/conserver.cf
@@ -0,0 +1,49 @@
+#
+# Sample conserver.cf file, to give you ideas of what you can do with
+# the various configuration items.
+#
+
+### set up global access
+default full {
+ rw *;
+}
+
+### set the defaults for all the consoles
+# these get applied before anything else
+default * {
+ # The '&' character is substituted with the console name
+ logfile /var/consoles/&;
+ # timestamps every hour with activity and break logging
+ timestamp 1hab;
+ # include the 'full' default
+ include full;
+ # master server is localhost
+ master localhost;
+}
+
+### and now some one-off consoles
+# we still inherit the '*' default set
+# a simple ssh invocation
+console ssh {
+ type exec;
+ exec ssh localhost;
+ # provide a 'message-of-the-day'
+ motd "just a simple ssh to localhost";
+}
+
+# Local COM2: port
+console ttyS1 {
+ master localhost;
+ type device;
+ device /dev/ttyS1;
+ baud 9600;
+ parity none;
+}
+
+### list of clients we allow
+access * {
+ trusted 127.0.0.1;
+ # RFC 1918
+ allowed 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8;
+}
+