Fix installation for silc-client and silc-toolkit packages
[silc.git] / doc / example_silcd.conf.in
index 6b9ba6f036d514f3db0ed1dd74093766327939c9..897df2192ca26f9d4e7926884a5f0abaedde46c5 100644 (file)
@@ -32,11 +32,6 @@ Include "@ETCDIR@/silcalgs.conf";
 # for different connections.
 #
 General {
-       # This is the default path where to search modules.  If omitted
-       # built-in modules will be used.  Built-in modules will also be
-       # used if a module file cannot be located.
-       module_path = "@MODULESDIR@";
-
        # If both passphrase and public key authentication is set for a
        # connection the public key authentication is the preferred one
        # to use.  Set this to `true' to prefer passphrase authentication
@@ -71,14 +66,25 @@ General {
        # number of the software.  The string can be a regex string to match
        # more widely.  Usually the vendor version checking is not necessary
        # and can be omitted.  These can be overridden with ConnectionParams.
-       #version_protocol = "1.1";
-       #version_software = "1.3";
+       #version_protocol = "1.3";
+       #version_software = "2.0";
        #version_software_vendor = "SomeVendor";
 
        # Default keepalive frequency (seconds).  This can be overridden with
        # with ConnectionParams.
        keepalive_secs = 300;
 
+       # Dynamic router connections.  If this is set for normal SILC server
+       # the connection to primary router is not created untill it is actually
+       # needed.  Giving for example /WHOIS foobar@silcnet.org would then
+       # create connection to the primary router to resolve user foobar.
+       # On the other hand giving /WHOIS foobar would try to search the
+       # user foobar locally, without creating the connection.  Note that
+       # giving /JOIN foobar will also created the connection as current
+       # SILC Server version supports only global channels (all JOINs require
+       # connection to router, if one is configured).
+       #dynamic_server = true;
+
        # Default reconnection parameters defines how the server reconnect
        # to the remote if the connection was lost.  The reconnection phase
        # use so called exponential backoff algorithm;  The reconnect
@@ -180,14 +186,16 @@ ServerInfo {
        #
        # Server name (FQDN)
        #
-       hostname = "lassi.kuo.fi.ssh.com";
+       hostname = "your.server.name.here";
 
        #
        # Primary listener.  Specify the IP address and the port to bind
-       # the server.
+       # the server.  The public_ip can be used to specify the public IP
+       # if the server is behind NAT.
        #
        Primary {
-               ip = "10.2.1.6";
+               ip = "127.0.0.1";
+               # public_ip = "11.1.1.1";
                port = 706;
        };
 
@@ -202,22 +210,22 @@ ServerInfo {
        # ServerType field specifies the purpose of this server
        # This is only a descriptive field.
        #
-       ServerType = "Test Server";
+       ServerType = "My SILC Server";
 
        #
        # Geographic location
        #
-       Location = "Kuopio, Finland";
+       Location = "Planet Earth";
 
        #
        # Full admin name
        #
-       Admin = "Foo T. Bar";
+       Admin = "Your Name Here";
 
        #
        # Admin's email address
        #
-       AdminEmail = "foo-admin@bar.com";
+       AdminEmail = "your@email.here";
 
        #
        # Run SILC server as specific user and group.  The server must be
@@ -450,11 +458,11 @@ Client {
 # required.
 #
 Admin {
-       Host = "10.2.1.199";
-       User = "priikone";
-       Nick = "pekka";
-       Passphrase = "verysecret";
-       # PublicKey = "/path/to/the/public.pub";
+       #Host = "10.2.1.199";
+       #User = "priikone";
+       #Nick = "pekka";
+       #Passphrase = "verysecret";
+       #PublicKey = "/path/to/the/public.pub";
 };
 
 #
@@ -477,11 +485,11 @@ Admin {
 # your server will be backup router.
 #
 ServerConnection {
-       Host = "10.2.1.7";
-       Passphrase = "verysecret";
+       #Host = "10.2.1.7";
+       #Passphrase = "verysecret";
        #PublicKey = "/path/to/the/public.pub";
-       Params = "normal";
-       Backup = false;
+       #Params = "normal";
+       #Backup = false;
 };
 
 #
@@ -513,9 +521,9 @@ ServerConnection {
 # If the backup router is in other cell then set it to false.
 #
 RouterConnection {
-       Host = "10.2.1.100";
+       Host = "sauna.silcnet.org";
        Port = 706;
-       Passphrase = "verysecret";
+       #Passphrase = "verysecret";
        #PublicKey = "/path/to/the/public.pub";
        Params = "normal";
        Initiator = true;