updates
authorPekka Riikonen <priikone@silcnet.org>
Sat, 30 Sep 2000 06:06:51 +0000 (06:06 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 30 Sep 2000 06:06:51 +0000 (06:06 +0000)
CHANGES
apps/silcd/testi.conf
configure.in

diff --git a/CHANGES b/CHANGES
index 8e5e073c7f0b9c9c95dd9bf26da92e159d53af87..43126dd0477b355abdc175eed43abd739c91977a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,32 @@
+Sat Sep 30 08:48:47 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+       * Added new function into lib/silcutil/silcschedule.[ch]:
+         silc_schedule_with_fd to select() a specified fd.  The function
+         returns after timeout expires or data arrives or goes.  The
+         function is used by packet routines to wait that all data is
+         received from network.
+
+       * Fixed data reading from network in lib/silccore/silcpacket.c.
+         The code now assures that all data is read from the fd and then
+         continues packet processing.  This was a bug fix since the code
+         used to drop some data in some circumstances.
+
+       * Added new function into lib/silcclient/client.[ch]:
+         silc_client_start_key_exchange to start key exchange after
+         connection has been established to server.  The code internally
+         now uses this funtion but its main purpose was to provide it
+         for applications that perform their own connecting.  After
+         application has created a connection it merely calls this
+         function to start the key exchange between client and server.
+         The library takes care of everything else after that.
+
+         Updated also lib/silcclient/README to explain the usage of
+         this new function.
+
+       * Do not send to application information that connection has
+         been established.  Application gets notified it by connect
+         operation anyway.
+
 Thu Sep 28 23:40:19 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Applied cras's patch to add silc_schedule_one function.  The
index c04a7aa81a15d54964f590338f3928d490bfc463..a36fc0e4385b3fb1a4341247326dce6881136abd 100644 (file)
+#
+# Configured ciphers.
+#
+# Format: <name>:<module path>:<key length>:<block length>
+#
+# If the cipher is builtin the <module path> maybe omitted.
+#
 [Cipher]
-rc6:/home/priikone/silc/lib/silcsim/modules/rc6.sim.so:16:16
-twofish:/home/priikone/silc/lib/silcsim/modules/twofish.sim.so:16:16
-mars:/home/priikone/silc/lib/silcsim/modules/mars.sim.so:16:16
-none:/home/priikone/silc/lib/silcsim/modules/none.sim.so:0:0
+twofish:../lib/silcsim/modules/twofish.sim.so:16:16
+rc6:../lib/silcsim/modules/rc6.sim.so:16:16
+mars:../lib/silcsim/modules/mars.sim.so:16:16
+none:../lib/silcsim/modules/none.sim.so:0:0
 
+#
+# Configured hash functions.
+#
+# Format: <name>:<module path>:<block length>:<digest length>
+#
+# If the hash function is builtin the <module path> maybe omitted.
+#
 [HashFunction]
 md5::64:16
 sha1::64:20
 
+#
+# Configured PKCS.
+#
+# Format: <name>:<module path>:<key length>
+#
+# NOTE: <module path> must be omitted as PKCS cannot be modules currently.
+#
 #[PKCS]
 #rsa::1024
 #dss::1024
 
+#
+# Server's administrative information.
+#
+# Format: <location>:<server type>:<admin's name>:<admin's email address>
+#
 [AdminInfo]
-Mun huone:Mun servo:Pekka Riikonen:priikone@poseidon.pspt.fi
+Kuopio, Finland:Test Server:Pekka Riikonen:priikone@poseidon.pspt.fi
 
+#
+# Server information.
+#
+# Format: +<server FQDN>:<server IP>:<geographic location>:<port>
+#
 [ServerInfo]
-lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:1333
+silc.pspt.fi:193.166.51.47:Kuopio, Finland:1707
 
+#
+# Listenning ports.
+#
+# Format: <local IP/UNIX socket path>:<remote IP>:<port>
+#
 [ListenPort]
-10.2.1.6:10.2.1.6:1333
+193.166.51.47:193.166.51.47:1707
 
+#
+# Log files.
+#
+# This section is used to set various logging files, their paths
+# and maximum sizes. All the other directives except those defined
+# below are ignored in this section. Log files are purged after they
+# reach the maximum set byte size.
+#
+# Format: infologfile:<path>:<max byte size>
+#         warninglogile:<path>:<max byte size>
+#         errorlogile:<path>:<max byte size>
+#         fatallogile:<path>:<max byte size>
+#
 [Logging]
 infologfile:silcd.log:10000
 #warninglogfile:/var/log/silcd_warning.log:10000
-errorlogfile:silcd2_error.log:10000
+#errorlogfile:ERROR.log:10000
 #fatallogfile:/var/log/silcd_error.log:
 
+#
+# Connection classes.
+#
+# This section is used to define connection classes. These can be
+# used to optimize the server and the connections.#
+#
+# Format: <class number>:<ping freq>:<connect freq>:<max links>
+#
 [ConnectionClass]
 1:100:100:100
 2:200:300:400
 
+#
+# Configured client connections.
+#
+# Format: <remote host>:<auth method>:<auth data>:<port>:<class>
+#
 [ClientConnection]
-:::1333:1
+:::1707:1
 
+#
+# Configured server administrator connections
+#
+# Format: <host>:<auth method>:<auth data>:<nickname hash>:<class>
+#
 [AdminConnection]
+#10.2.1.199:passwd:veryscret:XXX:1
 
+#
+# Configured server connections.
+#
+# If server connections are configured it means that our server is
+# router server.  Normal server must not configure server connections.
+# Thus, if your server is not router do not configure this section.  If
+# your server is router, this must be configured.
+#
+# Format: <remote host>:<auth method>:<auth data>:<port>:<version ID>:<vlass>
+#
 [ServerConnection]
+#10.2.1.7:passwd:veryscret:706:1:1
 
+#
+# Configured router connections.
+#
+# For normal server only one entry maybe configured to this section.  It
+# must be the router this server will be connected to.  For router server,
+# this sections includes all configured router connections.  The first
+# configured connection is the primary route.
+#
+# Format: <remote host>:<auth method>:<auth data>:<port>:<version ID>:<class>
+#
 [RouterConnection]
+#10.2.1.100:passwd:veryverysecret:706:1:1
 
+#
+# Denied connections.
+#
+# These connections are denied to connect our server.
+#
+# Format: <remote host/nickname>:<time interval>:<comment>:<port>
+#
 [DenyConnection]
+
+#
+# Redirected client connections.
+#
+# Clients will be redirected to these servers when our server is full.
+#
+# Format: <remote host>:<port>
+#
 [RedirectClient]
index 20904a52056f06cf6482b412a7747a51366a0fd8..c057ff87ffabc43a1cd8ab06e17fd2957411262f 100644 (file)
@@ -33,7 +33,7 @@ case "$target" in
     ;;
 esac
 
-AM_INIT_AUTOMAKE(silc, 14092000)
+AM_INIT_AUTOMAKE(silc, 29092000)
 AC_PREREQ(2.3)
 AM_CONFIG_HEADER(includes/silcdefs.h)