From 157aab5679ef35608c78f0c62042a399026596b9 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 30 May 2002 14:03:12 +0000 Subject: [PATCH] updates. --- TODO | 2 ++ apps/silcd/server.c | 6 ++++-- doc/example_silcd.conf.in | 20 +++++++++++++++++--- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 52cb1ac8..9ddc1324 100644 --- a/TODO +++ b/TODO @@ -8,6 +8,8 @@ TODO/bugs in Irssi SILC client in (fe.) /usr/local/share but binary checks from /usr/local/lib and never from share. + o /KEY is broken? KEY is broken when negotiating with itself. + TODO/bugs In SILC Client Library ================================ diff --git a/apps/silcd/server.c b/apps/silcd/server.c index 53fcb72e..3d7b9686 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -1160,7 +1160,8 @@ static void silc_server_accept_new_connection_lookup(SilcSocketConnection sock, void *context) { - SilcServerKEInternalContext *proto_ctx = (SilcServerKEInternalContext *)context; + SilcServerKEInternalContext *proto_ctx = + (SilcServerKEInternalContext *)context; SilcServer server = (SilcServer)proto_ctx->server; SilcServerConfigClient *cconfig = NULL; SilcServerConfigServer *sconfig = NULL; @@ -1197,7 +1198,8 @@ silc_server_accept_new_connection_lookup(SilcSocketConnection sock, SILC_LOG_INFO(("Incoming connection %s (%s)", sock->hostname, sock->ip)); - port = server->sockets[(SilcUInt32)proto_ctx->context]->port; /* Listenning port */ + /* Listenning port */ + port = server->sockets[(SilcUInt32)proto_ctx->context]->port; /* Check whether this connection is denied to connect to us. */ deny = silc_server_config_find_denied(server, sock->ip); diff --git a/doc/example_silcd.conf.in b/doc/example_silcd.conf.in index 32726e0b..b26eb31d 100644 --- a/doc/example_silcd.conf.in +++ b/doc/example_silcd.conf.in @@ -146,11 +146,25 @@ General { # ServerInfo { # - # Server FQDN and IP address + # Server name (FQDN) # hostname = "lassi.kuo.fi.ssh.com"; - ip = "10.2.1.6"; - port = 706; + + # + # Primary listener. Specify the IP address and the port to bind + # the server. + # + Primary { + ip = "10.2.1.6"; + port = 706; + }; + + # + # Secondary listener(s). If you need to bind your server into + # several interfaces use the Secondary to specify the listener(s). + # + #Secondary { ip = "10.2.1.60"; port = 706; }; + #Secondary { ip = "10.2.1.160"; port = 706; }; # # ServerType field specifies the purpose of this server -- 2.24.0