X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=doc%2Fexample_silcd.conf.in;h=32bb7be4545af70c56f69e119ab74389509f38cf;hp=e337dc0a50441e2c2fb6fd1f7912bc920b30bf29;hb=ec4e92ff1f602334c42883b6fe65bb2a0abbc221;hpb=722ffd34ed8ae519fc4311ce48172bbad529fe84 diff --git a/doc/example_silcd.conf.in b/doc/example_silcd.conf.in index e337dc0a..32bb7be4 100644 --- a/doc/example_silcd.conf.in +++ b/doc/example_silcd.conf.in @@ -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 @@ -79,6 +74,17 @@ General { # 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 @@ -184,10 +190,12 @@ ServerInfo { # # 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"; + # public_ip = "11.1.1.1"; port = 706; };