summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
Diffstat (limited to 'chat')
-rw-r--r--chat/silc-server/DEINSTALL107
-rw-r--r--chat/silc-server/DESCR24
-rw-r--r--chat/silc-server/INSTALL95
-rw-r--r--chat/silc-server/Makefile67
-rw-r--r--chat/silc-server/PLIST12
-rw-r--r--chat/silc-server/distinfo8
-rw-r--r--chat/silc-server/files/silcd.sh48
-rw-r--r--chat/silc-server/patches/patch-aa52
-rw-r--r--chat/silc-server/patches/patch-ab30
-rw-r--r--chat/silc-server/patches/patch-ac15
-rw-r--r--chat/silc-server/patches/patch-ad115
11 files changed, 573 insertions, 0 deletions
diff --git a/chat/silc-server/DEINSTALL b/chat/silc-server/DEINSTALL
new file mode 100644
index 00000000000..f64ad3a920d
--- /dev/null
+++ b/chat/silc-server/DEINSTALL
@@ -0,0 +1,107 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+CAT="@CAT@"
+CMP="@CMP@"
+RM="@RM@"
+RMDIR="@RMDIR@"
+TRUE="@TRUE@"
+
+SERVERROOT="@SILCD_CONF_DIR@"
+DATADIR=${PKG_PREFIX}/share/silcd
+LOGDIR=/var/log/silcd
+SAMPLECONFDIR=${PKG_PREFIX}/share/doc/silcd
+CONFDIR=${SERVERROOT}
+RCSCRIPT="@CONF_DIR@/rc.d/silcd"
+CONFFILES="silcd.conf"
+NONCONFFILES="silcd.pub silcd.prv"
+
+case ${STAGE} in
+DEINSTALL)
+ # Stop silcd if running
+ ${RCSCRIPT} stop
+
+ # Remove configuration files if they don't differ from the default
+ # config file.
+ #
+ for file in ${CONFFILES}
+ do
+ FILE=${CONFDIR}/${file}
+ SAMPLEFILE=${SAMPLECONFDIR}/${file}.default
+ if ${CMP} -s ${FILE} ${SAMPLEFILE}
+ then
+ ${RM} -f ${FILE}
+ fi
+ done
+ ${RM} -f ${RCSCRIPT}
+ ;;
+
+POST-DEINSTALL)
+ modified_files=''
+ for file in ${CONFFILES} ${NONCONFFILES}
+ do
+ FILE=${CONFDIR}/${file}
+ if [ -f ${FILE} ]
+ then
+ modified_files="${modified_files} ${FILE}"
+ fi
+ done
+
+ ${RMDIR} ${LOGDIR} 2>/dev/null || ${TRUE}
+ ${RMDIR} ${SERVERROOT} 2>/dev/null || ${TRUE}
+
+ existing_dirs=''
+ for dir in ${CONFDIR} ${LOGDIR}
+ do
+ if [ -d ${dir} ]
+ then
+ existing_dirs="${existing_dirs} ${dir}"
+ fi
+ done
+
+ if [ -n "${modified_files}" -o -n "${existing_dirs}" ]
+ then
+ ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may want to remove:
+EOF
+ if [ -n "${modified_files}" ]
+ then
+ ${CAT} << EOF
+
+ * the following files:
+
+EOF
+ for file in ${modified_files}
+ do
+ echo " ${file}"
+ done
+ fi
+ if [ -n "${existing_dirs}" ]
+ then
+ ${CAT} << EOF
+
+ * the following directories:
+
+EOF
+ for dir in ${existing_dirs}
+ do
+ echo " ${dir}"
+ done
+ fi
+ ${CAT} << EOF
+===========================================================================
+EOF
+ fi
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/chat/silc-server/DESCR b/chat/silc-server/DESCR
new file mode 100644
index 00000000000..9125eef301d
--- /dev/null
+++ b/chat/silc-server/DESCR
@@ -0,0 +1,24 @@
+
+SILC (Secure Internet Live Conferencing) is a protocol which provides
+secure conferencing services in the Internet over insecure channel.
+
+SILC superficially resembles IRC, although they are very different
+internally. SILC is much more than just about `encrypting the traffic'.
+That is easy enough to do with IRC and SSL hybrids, but even then the
+entire network cannot be secured, only part of it.
+
+SILC provides security services, such as sending private messages entirely
+secure; noone can see the message except you and the real receiver of the
+message. SILC also provides same functionality for channels; noone except
+those clients joined to the channel may see the messages destined to the
+channel. Communication between client and server is also secured with
+session keys and all commands, authentication data (such as passwords etc.)
+and other traffic is entirely secured. The entire network, and all parts of
+it, is secured.
+
+SILC has secure key exchange protocol that is used to create the session keys
+for each connection. SILC also provides strong authentication based on either
+passwords or public key authentication. All authentication data is always
+encrypted in the SILC network. Each connection has their own session keys,
+all channels have channel specific keys, and all private messages can be
+secured with private message specific keys.
diff --git a/chat/silc-server/INSTALL b/chat/silc-server/INSTALL
new file mode 100644
index 00000000000..c885dac5a6a
--- /dev/null
+++ b/chat/silc-server/INSTALL
@@ -0,0 +1,95 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+CAT="@CAT@"
+CHMOD="@CHMOD@"
+CHOWN="@CHOWN@"
+CP="@CP@"
+MKDIR="@MKDIR@"
+
+SERVERROOT="@SILCD_CONF_DIR@"
+LOGDIR=/var/log/silcd
+SAMPLECONFDIR=${PKG_PREFIX}/share/doc/silcd
+CONFDIR=${SERVERROOT}
+CONFFILES="silcd.conf"
+PUBKEY="silcd.pub"
+PRIVKEY="silcd.prv"
+
+case ${STAGE} in
+PRE-INSTALL)
+ ;;
+
+POST-INSTALL)
+ ${CAT} << EOF
+===========================================================================
+
+ * creating directory for log files owned by root, group nobody:
+
+EOF
+
+ ${MKDIR} ${SERVERROOT}
+ ${MKDIR} ${LOGDIR}
+ ${CHOWN} root:nobody ${LOGDIR}
+ ${CHMOD} 2775 ${LOGDIR}
+ echo " ${LOGDIR}"
+
+ ${CAT} << EOF
+
+ * don't forget to change this if you will setup silcd to run with
+ different UID and GID in silcd.conf!
+
+===========================================================================
+
+ * installing configuration files:
+
+EOF
+
+ for file in ${CONFFILES}
+ do
+ FILE=${CONFDIR}/${file}
+ SAMPLEFILE=${SAMPLECONFDIR}/${file}.default
+ if [ -f ${FILE} ]
+ then
+ echo " ${FILE} already exists"
+ else
+ echo " ${FILE}"
+ ${CP} ${SAMPLEFILE} ${FILE}
+ ${CHMOD} 600 ${FILE}
+ fi
+ done
+ ${CAT} << EOF
+
+ * you might need to customize your configuration file
+
+===========================================================================
+
+EOF
+
+ if [ -f ${CONFDIR}/${PUBKEY} ] && [ -f ${CONFDIR}/${PRIVKEY} ]
+ then
+ echo " * ${PUBKEY} and ${PRIVKEY} already exist:"
+ echo
+ echo " ${CONFDIR}/${PUBKEY}"
+ echo " ${CONFDIR}/${PRIVKEY}"
+ else
+ echo " * one or all of your server keys is missing,"
+ echo
+ ${PKG_PREFIX}/sbin/silcd -C ${CONFDIR}
+ fi
+
+ ${CAT} << EOF
+
+===========================================================================
+EOF
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/chat/silc-server/Makefile b/chat/silc-server/Makefile
new file mode 100644
index 00000000000..3fb93af9df2
--- /dev/null
+++ b/chat/silc-server/Makefile
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+DISTNAME= silc-server-0.6.4
+CATEGORIES= chat
+MASTER_SITES= http://ftp.silcnet.org/server/sources/ \
+ ftp://ftp.silcnet.org/silc/server/sources/ \
+ http://www.planetmirror.com/pub/silcnet/server/sources/ \
+ ftp://ftp.au.silcnet.org/pub/silcnet/server/sources/ \
+ http://munitions.vipul.net/software/mirrors/silc/server/sources/ \
+ ftp://ftp.no.silcnet.org/pub/silc/server/sources/ \
+ http://the.wiretapped.net/security/network-security/silc/server/sources/ \
+ ftp://ftp.wiretapped.net/pub/security/network-security/silc/server/sources/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= salo@silcnet.org
+HOMEPAGE= http://www.silcnet.org/
+COMMENT= Server for the Secure Internet Live Conferencing (SILC) protocol
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_NCURSES= yes
+USE_LIBTOOL= yes
+USE_BUILDLINK_ONLY= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_SYSCONFSUBDIR?= silcd
+
+CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/silcd \
+ --with-etcdir=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR} \
+ --with-silcd-config-file=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR}/silcd.conf \
+ --with-silcd-pid-file=/var/run/silcd.pid \
+ --with-logsdir=/var/log/silcd
+
+INSTALL_FILE= ${WRKDIR}/INSTALL
+DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
+
+FILES_SUBST+= PREFIX=${PREFIX}
+FILES_SUBST+= CAT=${CAT:Q}
+FILES_SUBST+= CHMOD=${CHMOD:Q}
+FILES_SUBST+= CHOWN=${CHOWN:Q}
+FILES_SUBST+= CMP=${CMP:Q}
+FILES_SUBST+= CP=${CP:Q}
+FILES_SUBST+= MKDIR=${MKDIR:Q}
+FILES_SUBST+= RM=${RM:Q}
+FILES_SUBST+= RMDIR=${RMDIR:Q}
+FILES_SUBST+= TRUE=${TRUE:Q}
+FILES_SUBST+= SILCD_CONF_DIR=${PKG_SYSCONFBASE}/${PKG_SYSCONFSUBDIR}
+FILES_SUBST+= CONF_DIR=${PKG_SYSCONFBASE}
+FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/-e s!@/}
+
+post-build:
+ ${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
+ ${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
+ ${SED} ${FILES_SUBST_SED} ${FILESDIR}/silcd.sh > ${WRKDIR}/silcd.sh
+
+post-install:
+ @PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+ ${INSTALL_SCRIPT} ${WRKDIR}/silcd.sh ${PKG_SYSCONFBASE}/rc.d/silcd
+
+.if (${MACHINE_ARCH} != "i386")
+CONFIGURE_ARGS+= --disable-asm
+.endif
+
+.include "../../devel/glib/buildlink.mk"
+.include "../../devel/pth/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/silc-server/PLIST b/chat/silc-server/PLIST
new file mode 100644
index 00000000000..4712a17ed62
--- /dev/null
+++ b/chat/silc-server/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+sbin/silcd
+share/doc/silcd/CHANGES
+share/doc/silcd/COPYING
+share/doc/silcd/CREDITS
+share/doc/silcd/CodingStyle
+share/doc/silcd/FAQ
+share/doc/silcd/INSTALL
+share/doc/silcd/README
+share/doc/silcd/TODO
+share/doc/silcd/silcd.conf.default
+@dirrm share/doc/silcd
diff --git a/chat/silc-server/distinfo b/chat/silc-server/distinfo
new file mode 100644
index 00000000000..d27c1ca9ebc
--- /dev/null
+++ b/chat/silc-server/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+SHA1 (silc-server-0.6.4.tar.bz2) = d53aabb36b0e24b365fd49a433d635eba1cb62b9
+Size (silc-server-0.6.4.tar.bz2) = 1002604 bytes
+SHA1 (patch-aa) = eafe1def396397b9e32581420ac35a32fb35cfa4
+SHA1 (patch-ab) = cd7902383fa1ede7677955bfa402c1fb7dc03c8e
+SHA1 (patch-ac) = 9aee9c5b74f0c59ae38a89f339bb0d5a96e789d6
+SHA1 (patch-ad) = af7435aae8da43041c8931b9b648415b83a5ffb3
diff --git a/chat/silc-server/files/silcd.sh b/chat/silc-server/files/silcd.sh
new file mode 100644
index 00000000000..1cec8b25e5e
--- /dev/null
+++ b/chat/silc-server/files/silcd.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+#
+# $NetBSD: silcd.sh,v 1.1.1.1 2001/11/30 23:33:35 hubertf Exp $
+#
+# PROVIDE: silcd
+# REQUIRE: DAEMON
+
+name="silcd"
+pidfile="/var/run/${name}.pid"
+
+command=${1:-start}
+
+case ${command} in
+start)
+ if [ ! -f @SILCD_CONF_DIR@/silcd.prv ]
+ then
+ @PREFIX@/sbin/silcd -C @SILCD_CONF_DIR@
+ fi
+ if [ -x @PREFIX@/sbin/silcd -a -f @SILCD_CONF_DIR@/silcd.conf ]
+ then
+ echo "Starting ${name}."
+ @PREFIX@/sbin/silcd
+ fi
+ ;;
+stop)
+ if [ -f ${pidfile} ]; then
+ pid=`head -1 ${pidfile}`
+ echo "Stopping ${name}."
+ kill -TERM ${pid}
+ else
+ echo "${name} not running?"
+ fi
+ ;;
+restart)
+ ( $0 stop )
+ sleep 1
+ $0 start
+ ;;
+status)
+ if [ -f ${pidfile} ]; then
+ pid=`head -1 ${pidfile}`
+ echo "${name} is running as pid ${pid}."
+ else
+ echo "${name} is not running."
+ fi
+ ;;
+esac
+exit 0
diff --git a/chat/silc-server/patches/patch-aa b/chat/silc-server/patches/patch-aa
new file mode 100644
index 00000000000..7e7fdc89ea9
--- /dev/null
+++ b/chat/silc-server/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+--- Makefile.in.orig Sun Nov 11 18:02:38 2001
++++ Makefile.in Tue Nov 13 18:42:52 2001
+@@ -511,25 +511,12 @@
+ -rm -rf $(distdir)
+
+ install-dirs:
+- -mkdir -p $(etcdir)
+- -mkdir -p $(modulesdir)
+- -mkdir -p $(helpdir)
+ -mkdir -p $(docdir)
+- -mkdir -p $(logsdir)
+-
+-generate-server-key:
+- -@if test '!' -f $(etcdir)/silcd.pub ; then \
+- $(sbindir)/silcd -C $(etcdir); \
+- fi
+-
+-sim-install:
+- -cp -fR $(srcdir)/lib/silcsim/modules/*.so $(modulesdir)/
+
+ doc-install:
+ $(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/
+- $(INSTALL_DATA) $(srcdir)/doc/example_* $(docdir)/
+- $(INSTALL_DATA) $(srcdir)/doc/*.txt $(docdir)/
++ $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(docdir)/silcd.conf.default
+ $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/
+@@ -537,19 +524,8 @@
+ $(INSTALL_DATA) $(srcdir)/INSTALL $(docdir)/
+ $(INSTALL_DATA) $(srcdir)/TODO $(docdir)/
+
+-etc-install:
+- -@if test '!' -f $(etcdir)/silcd.conf ; then \
+- $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \
+- $(etcdir)/silcd.conf; \
+- chmod go= $(etcdir)/silcd.conf; \
+- fi
+- -@if test '!' -f $(etcdir)/silc.conf ; then \
+- $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf \
+- $(etcdir)/silc.conf; \
+- fi
+-
+ @SILC_DIST_CLIENT_TRUE@install-data-hook: install-dirs sim-install doc-install etc-install
+-@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs generate-server-key sim-install doc-install etc-install
++@SILC_DIST_CLIENT_FALSE@install-data-hook: install-dirs doc-install
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/chat/silc-server/patches/patch-ab b/chat/silc-server/patches/patch-ab
new file mode 100644
index 00000000000..06fa323a52d
--- /dev/null
+++ b/chat/silc-server/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+--- lib/Makefile.in.orig Wed Nov 7 20:16:45 2001
++++ lib/Makefile.in Sun Nov 11 20:23:05 2001
+@@ -116,13 +116,12 @@
+ silcutil \
+ silcclient \
+ silcsftp \
+- dotconf \
+ trq
+
+
+ # zlib
+-SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp
+-DIST_SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp
++SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcsftp
++DIST_SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcsftp
+
+ # SILC Library dirs
+ SILCLIB_DIRS = \
+@@ -134,8 +133,7 @@
+ silcske \
+ silcutil \
+ silcsftp \
+- trq \
+- dotconf
++ trq
+
+
+ # SILC Client Library dirs
diff --git a/chat/silc-server/patches/patch-ac b/chat/silc-server/patches/patch-ac
new file mode 100644
index 00000000000..29a2aba6e98
--- /dev/null
+++ b/chat/silc-server/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $
+
+--- lib/silcmath/mpi/mpi-priv.h.orig Sat Nov 24 20:06:50 2001
++++ lib/silcmath/mpi/mpi-priv.h Sat Nov 24 20:07:51 2001
+@@ -242,3 +242,10 @@
+ /* }}} */
+ #endif
+
++#if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__))
++# if defined restrict || 199901L <= __STDC_VERSION__
++# define __restrict restrict
++# else
++# define __restrict
++# endif
++#endif
diff --git a/chat/silc-server/patches/patch-ad b/chat/silc-server/patches/patch-ad
new file mode 100644
index 00000000000..e3e898aa6e3
--- /dev/null
+++ b/chat/silc-server/patches/patch-ad
@@ -0,0 +1,115 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/11/30 23:33:35 hubertf Exp $
+
+--- doc/example_silcd.conf.in.orig Sun Nov 4 10:53:35 2001
++++ doc/example_silcd.conf.in Thu Nov 29 20:53:48 2001
+@@ -12,16 +12,16 @@
+ # If the cipher is builtin the <module path> maybe omitted.
+ #
+ [Cipher]
+-aes-256-cbc:@MODULESDIR@/aes.sim.so:32:16
+-aes-192-cbc:@MODULESDIR@/aes.sim.so:24:16
+-aes-128-cbc:@MODULESDIR@/aes.sim.so:16:16
+-twofish-256-cbc:@MODULESDIR@/twofish.sim.so:32:16
+-twofish-192-cbc:@MODULESDIR@/twofish.sim.so:24:16
+-twofish-128-cbc:@MODULESDIR@/twofish.sim.so:16:16
+-mars-256-cbc:@MODULESDIR@/mars.sim.so:32:16
+-mars-192-cbc:@MODULESDIR@/mars.sim.so:24:16
+-mars-128-cbc:@MODULESDIR@/mars.sim.so:16:16
+-none:@MODULESDIR@/none.sim.so:0:0
++aes-256-cbc::32:16
++aes-192-cbc::24:16
++aes-128-cbc::16:16
++twofish-256-cbc::32:16
++twofish-192-cbc::24:16
++twofish-128-cbc::16:16
++mars-256-cbc::32:16
++mars-192-cbc::24:16
++mars-128-cbc::16:16
++none::0:0
+
+ #
+ # Configured hash functions.
+@@ -69,7 +69,8 @@
+ # Format: <location>:<server type>:<admin's name>:<admin's email address>
+ #
+ [AdminInfo]
+-Kuopio, Finland:Test Server:Pekka Riikonen:priikone@poseidon.pspt.fi
++#Kuopio, Finland:Test Server:Pekka Riikonen:priikone@poseidon.pspt.fi
++Default Location:NetBSD Test Server:Root of All Evil:root@localhost
+
+ #
+ # Server information.
+@@ -77,7 +78,8 @@
+ # Format: +<server FQDN>:<server IP>:<geographic location>:<port>
+ #
+ [ServerInfo]
+-lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706
++#lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706
++localhost:127.0.0.1:Default Location:706
+
+ #
+ # Server keys
+@@ -93,7 +95,8 @@
+ # Format: <local IP>:<Listener IP>:<port>
+ #
+ [ListenPort]
+-10.2.1.6:10.2.1.6:706
++#10.2.1.6:10.2.1.6:706
++127.0.0.1:127.0.0.1:706
+
+ #
+ # Log files.
+@@ -110,9 +113,9 @@
+ #
+ [Logging]
+ infologfile:@LOGSDIR@/silcd.log:10000
+-#warninglogfile:@LOGSDIR@/silcd_warning.log:10000
+-#errorlogfile:@LOGSDIR@/error.log:10000
+-#fatallogfile:@LOGSDIR@/silcd_error.log:
++warninglogfile:@LOGSDIR@/silcd_warning.log:10000
++errorlogfile:@LOGSDIR@/error.log:10000
++fatallogfile:@LOGSDIR@/silcd_error.log:
+
+ #
+ # Connection classes.
+@@ -146,7 +149,8 @@
+ # file.
+ #
+ [AdminConnection]
+-10.2.1.199:priikone:pekka:passwd:veryscret
++#10.2.1.199:priikone:pekka:passwd:veryscret
++127.0.0.1:root:root:passwd:verysecret
+
+ #
+ # Configured server connections.
+@@ -165,8 +169,8 @@
+ # set to value 1 then this server will be backup router.
+ #
+ [ServerConnection]
+-10.2.1.7:passwd:veryscret:706:1:1:0
+-10.2.1.17:passwd:veryscret13:706:1:1:1 # backup connection, that host
++#10.2.1.7:passwd:veryscret:706:1:1:0
++#10.2.1.17:passwd:veryscret13:706:1:1:1 # backup connection, that host
+ # will use this server as backup
+ # router.
+
+@@ -208,3 +212,19 @@
+ #
+ [DenyConnection]
+ #10.2.1.99:0:Your connection has been denied
++
++#
++#Message Of The Day
++#
++#specify the text file containing the motd:
++#
++#[motd]
++#@ETCDIR@/motd.txt
++
++#
++#pidfile
++#
++#specify the pidfile where it will be written:
++#
++[pid]
++/var/run/silcd.pid