Updates to CodingStyle and drafts.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 27 Jun 2000 19:34:25 +0000 (19:34 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 27 Jun 2000 19:34:25 +0000 (19:34 +0000)
Removed Makefile.in; must not be in CVS.

doc/CodingStyle
doc/Makefile.in [deleted file]
doc/draft-riikonen-silc-ke-auth-00.nroff
doc/draft-riikonen-silc-pp-00.nroff
doc/draft-riikonen-silc-spec-00.nroff

index 0393f347ca1e73a3555fa04eca0a0873afa55760..e6033530145e79dc41726f16e4221184201c5c1e 100644 (file)
@@ -283,7 +283,7 @@ General Appearance
 ==================
 
 The code should be clean and good to eye, although the function of it
-must always superseed the appearance.  However, it is nice to read code
+must always supersede the appearance.  However, it is nice to read code
 that looks good.  Here are some issues on general appearance.
 
        o Use empty lines when appropriate but not too much.  There
@@ -312,8 +312,8 @@ Source Files
 
 All source files starts with header that includes the name of the author,
 copyright notice and the copyright policy, usually part of GNU GPL licence.
-Now, if this really isn't that important but some sort of header should
-be in all source files.
+Now, this really isn't that important but some sort of header should be in
+all source files.
 
 In the start of the source files should include the #include's that are
 needed.  All library source files must include `silcincludes.h', this is
@@ -388,7 +388,7 @@ must not be used directly.  There are functions like,
 
 You should always use silc_calloc instead of silc_malloc because
 silc_calloc automatically zeroes the allocated memory area.  This is
-imporant especially with structures because generally we want that all
+important especially with structures because generally we want that all
 fields, by default, are zero.
 
 So, instead of doing
diff --git a/doc/Makefile.in b/doc/Makefile.in
deleted file mode 100644 (file)
index ed43946..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-# Makefile.in generated automatically by automake 1.3 from Makefile.am
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-#
-#  Makefile.am
-#
-#  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
-#
-#  Copyright (C) 2000 Pekka Riikonen
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-
-
-SHELL = /bin/sh
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DISTDIR =
-
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-
-top_builddir = ..
-
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOMAKE = @AUTOMAKE@
-AUTOHEADER = @AUTOHEADER@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-transform = @program_transform_name@
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_alias = @build_alias@
-build_triplet = @build@
-host_alias = @host_alias@
-host_triplet = @host@
-target_alias = @target_alias@
-target_triplet = @target@
-CC = @CC@
-LN_S = @LN_S@
-MAKEINFO = @MAKEINFO@
-PACKAGE = @PACKAGE@
-RANLIB = @RANLIB@
-VERSION = @VERSION@
-
-AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-
-EXTRA_DIST = \
-       CodingStyle \
-       example_silcd.conf \
-       example_silc.conf \
-       draft-riikonen*.txt
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../includes/silcdefs.h
-CONFIG_CLEAN_FILES = 
-DIST_COMMON =  Makefile.am Makefile.in
-
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = tar
-GZIP = --best
-all: Makefile
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-       cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile
-
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
-       cd $(top_builddir) \
-         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-tags: TAGS
-TAGS:
-
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-subdir = doc
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         test -f $(distdir)/$$file \
-         || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-         || cp -p $$d/$$file $(distdir)/$$file; \
-       done
-       $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
-info:
-dvi:
-check: all
-       $(MAKE)
-installcheck:
-install-exec: 
-       @$(NORMAL_INSTALL)
-
-install-data: 
-       @$(NORMAL_INSTALL)
-
-install: install-exec install-data all
-       @:
-
-uninstall: 
-
-install-strip:
-       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
-installdirs:
-
-
-mostlyclean-generic:
-       -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -rm -f Makefile $(DISTCLEANFILES)
-       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
-       -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-mostlyclean:  mostlyclean-generic
-
-clean:  clean-generic mostlyclean
-
-distclean:  distclean-generic clean
-       -rm -f config.status
-
-maintainer-clean:  maintainer-clean-generic distclean
-       @echo "This command is intended for maintainers to use;"
-       @echo "it deletes files that may require special tools to rebuild."
-
-.PHONY: tags distdir info dvi installcheck install-exec install-data \
-install uninstall all installdirs mostlyclean-generic distclean-generic \
-clean-generic maintainer-clean-generic clean mostlyclean distclean \
-maintainer-clean
-
-
-all:
-       touch draft-riikonen-silc-spec-00.txt
-       touch draft-riikonen-silc-pp-00.txt
-       touch draft-riikonen-silc-ke-auth-00.txt
-       -cd ..
-
-dist-hook:
-       -rm -f draft-riikonen*.txt
-       ./makerfc draft-riikonen-silc-spec-00.nroff \
-               draft-riikonen-silc-spec-00.txt
-       ./makerfc draft-riikonen-silc-pp-00.nroff \
-               draft-riikonen-silc-pp-00.txt
-       ./makerfc draft-riikonen-silc-ke-auth-00.nroff \
-               draft-riikonen-silc-ke-auth-00.txt
-
-# 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:
index e4be714352a498e70e1c1109fe4de750647d63ec..b643c58cd3321b9db8b24c7907ac6ab55d1e9aeb 100644 (file)
@@ -8,7 +8,7 @@
 .ds RF FORMFEED[Page %]
 .ds CF
 .ds LH Internet Draft
-.ds RH 27 June 2000
+.ds RH 28 June 2000
 .ds CH Key Exchange and Authentication
 .na
 .hy 0
@@ -16,8 +16,8 @@
 .nf
 Network Working Group                                      P. Riikonen
 Internet-Draft
-draft-riikonen-silc-ke-auth-00.txt                        27 June 2000
-Expires: 27 Jan 2001
+draft-riikonen-silc-ke-auth-00.txt                        28 June 2000
+Expires: 28 Jan 2001
 
 .in 3
 
index 7f907438a7c05785d7ac793be51376c7cfd65963..d1050cc7aad7e389279e088d014f8bf966b5ca1a 100644 (file)
@@ -8,7 +8,7 @@
 .ds RF FORMFEED[Page %]
 .ds CF
 .ds LH Internet Draft
-.ds RH 27 June 2000
+.ds RH 28 June 2000
 .ds CH SILC Packet Protocol
 .na
 .hy 0
@@ -16,8 +16,8 @@
 .nf
 Network Working Group                                      P. Riikonen
 Internet-Draft
-draft-riikonen-silc-pp-00.txt                             27 June 2000
-Expires: 27 Jan 2001
+draft-riikonen-silc-pp-00.txt                             28 June 2000
+Expires: 28 Jan 2001
 
 .in 3
 
@@ -981,7 +981,7 @@ ever is larger.
 
 The SILC header in this packet is encrypted with the session key
 of the next receiver of the packet.  Nothing else is encrypted
-with that key.  Hence, the actual packet and padding to be
+with that key.  Thus, the actual packet and padding to be
 encrypted with the session key is SILC Header plus padding to it
 to make it multiple by eight (8) or multiple by the block size
 of the cipher, which ever is larger.
@@ -995,7 +995,7 @@ the message.
 
 The payload may only be sent with SILC_PACKET_CHANNEL_MESSAGE packet.
 It  must not be sent in any other packet type.  Following diagram 
-represents the Notify Payload.
+represents the Channel Message Payload.
 
 (*) indicates that the field is not encrypted.
 
@@ -1265,7 +1265,7 @@ flag into SILC Packet Header.
 
 The payload may only be sent with SILC_PACKET_PRIVATE_MESSAGE_KEY 
 packet.  It must not be sent in any other packet type.  Following 
-diagram represents the Private Message Payload.
+diagram represents the Private Message Key Payload.
 
 
 .in 5
index a37c0a5181e7fe681a09f20867b8d3ec5fbb9d5a..9c5a10c47d26180c8d3671db7dec7cb5fd7da352 100644 (file)
@@ -8,7 +8,7 @@
 .ds RF FORMFEED[Page %]
 .ds CF
 .ds LH Internet Draft
-.ds RH 27 June 2000
+.ds RH 28 June 2000
 .ds CH Secure Internet Live Conferencing
 .na
 .hy 0
@@ -16,8 +16,8 @@
 .nf
 Network Working Group                                      P. Riikonen
 Internet-Draft
-draft-riikonen-silc-spec-00.txt                           27 June 2000
-Expires: 27 Jan 2001
+draft-riikonen-silc-spec-00.txt                           28 June 2000
+Expires: 28 Jan 2001
 
 .in 3
 
@@ -118,12 +118,12 @@ Table of Contents
 5 SILC Commands ................................................. 29
   5.1 SILC Commands Syntax ...................................... 29
   5.2 SILC Commands List ........................................ 31
-  5.3 SILC Command Status Types ................................. 53
-      5.3.1 SILC Command Status Payload ......................... 53
+  5.3 SILC Command Status Types ................................. 54
+      5.3.1 SILC Command Status Payload ......................... 54
       5.3.2 SILC Command Status List ............................ 54
 6 Security Considerations ....................................... 58
-7 References .................................................... 58
-8 Author's Address .............................................. 59
+7 References .................................................... 59
+8 Author's Address .............................................. 60
 
 
 .ti 0
@@ -1555,6 +1555,10 @@ The receiver always knows that, say, argument number two (2) is
 <message> argument, regardles of the ordering of the arguments in
 the Command Payload.
 
+
+
+
+
 Reply messages to the command:
 
 Max Arguments:  4
@@ -1844,6 +1848,11 @@ List of all defined commands in SILC follows.
             SILC_STATUS_ERR_NO_SUCH_SERVER
 
 
+
+
+
+
+
    7    SILC_COMMAND_TOPIC
 
         Max Arguments:  2
@@ -1891,6 +1900,7 @@ List of all defined commands in SILC follows.
 
         Reply messages to the command:
 
+
         Max Arguments:  2
             Arguments:  (1) <Status Payload>
 
@@ -1985,6 +1995,8 @@ List of all defined commands in SILC follows.
 
 
 
+
+
    12   SILC_COMMAND_CONNECT
 
         Max Arguments:  2
@@ -2078,6 +2090,11 @@ List of all defined commands in SILC follows.
             SILC_STATUS_ERR_AUTH_FAILED
 
 
+
+
+
+
+
    15   SILC_COMMAND_JOIN
 
         Max Arguments:  3
@@ -2171,6 +2188,10 @@ List of all defined commands in SILC follows.
             SILC_STATUS_ERR_NO_SUCH_SERVER
 
 
+
+
+
+
    17   SILC_COMMAND_UMODE
 
         Max Arguments:  2
@@ -2218,6 +2239,7 @@ List of all defined commands in SILC follows.
         This command replies with the changed client mode mask that
         the client is required to keep locally.
 
+
         Status messages:
 
             SILC_STATUS_OK
@@ -2409,6 +2431,7 @@ List of all defined commands in SILC follows.
         all clients on the channel by sending SILC_COMMAND_CMODE command
         reply packet.
 
+
         Reply messages to the command:
 
         Max Arguments:  2
@@ -2503,6 +2526,8 @@ List of all defined commands in SILC follows.
 
         This command replies only with Status Payload.
 
+
+
         Status messages:
 
             SILC_STATUS_OK
@@ -2752,6 +2777,8 @@ List of all defined command status messages following.
         "Unknown command".  Command sent to server is unknown by the
         server.
 
+
+
    16   SILC_STATUS_ERR_WILDCARDS
 
         "Wildcards cannot be used".  Wildcards were provided but they
@@ -2780,7 +2807,6 @@ List of all defined command status messages following.
         "No such Client ID".  Client ID provided does not exist.
 
 
-
    22   SILC_STATUS_ERR_NO_SUCH_CHANNEL_ID
 
         "No such Channel ID".  Channel ID provided does not exist.
@@ -2828,8 +2854,6 @@ List of all defined command status messages following.
         "You are banned from this server".  The client tried to register
         on server that has explicitly denied this host to connect.
 
-
-
    31   SILC_STATUS_ERR_BAD_PASSWORD
 
         "Cannot join channel. Incorrect password".  Password provided for 
@@ -2850,6 +2874,8 @@ List of all defined command status messages following.
         "Cannot join channel. You have been banned".  The client has
         been banned from the channel.
 
+
+
    35   SILC_STATUS_ERR_UNKNOWN_MODE
 
         "Unknown mode".  Mode provided by the client were unknown to
@@ -2899,6 +2925,9 @@ Security is central to the design of this protocol, and these security
 considerations permeate the specification.
 
 
+
+
+
 .ti 0
 7 References
 
@@ -2944,6 +2973,11 @@ considerations permeate the specification.
              Authentication", RFC 2104, February 1997.
 
 
+
+
+
+
+
 .ti 0
 8 Author's Address