Subject: CVS commit: pkgsrc/chat/silc-server
To: None <pkgsrc-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: pkgsrc-changes
Date: 05/25/2002 01:15:37
Module Name:	pkgsrc
Committed By:	hubertf
Date:		Fri May 24 22:15:37 UTC 2002

Modified Files:
	pkgsrc/chat/silc-server: Makefile distinfo
	pkgsrc/chat/silc-server/files: silcd.generic silcd.sh

Log Message:
Update silc-server to version 0.9.1. Changes:

* Fixed CUMODE_CHANGE notify handling in server.

* Fixed USERS command to support empty channels.

* Check the watcher list before sending signoff notifys
  when closing client connection.

* Added better CMODE command rights checking.

* Fixed watcher list checking during server signoff.  It
  crashed the server.

* The JOIN command reply returns now the founder's public
  key.

* Announce the channel mode, and the mode properties with
  CMODE_CHANGE notify.

* Mark new channels by default disabled, untill at least
  one user joins the channel.

* The nickname argument to watch notify can be optional.
  Fixes a crash in server.

* Check the watcher list before and after changing nickname
  when the NICK_CHANGE notify is received.

* Added the founder's public key delivery to the
  CUMODE_CHANGE notify type as well.  Updated the protocol
  specs and the code.

* Added support for sending the founder's public key in
  the CMODE_CHANGE notify packet in the server.

* Changed the FOUNDER_AUTH authentication to use only
  public key authentication as defined by new protocol
  specs.  Passphrase authentication with that mode cannot
  be used anymore.  It is now possible to reclaim founder
  mode from any server in the network.

* Added permanent channels support by making the channel
  permanent when FOUNDER_AUTH mode is set on the channel.
  The channel will not be destroyed even if channel is empty
  when that mode is set.  Protocol TODO #17.

* Added BLOCK_INVITE user mode to be able to block incoming
  invite notifications.  Protoocol TODO #26.

* Disconnect Payload includes now the status type.  Updated
  the protocol specs and the code.  Protocol TODO #25.

* Defined that the nickname hash in Client ID MUST be from
  lowercase nickname.  This effectively changes nicknames in
  SILC to case-insensitive.  Updated the protocol specs and
  the code.

* Added new channel user modes BLOCK_MESSAGES_USERS and
  BLOCK_MESSAGES_ROBOTS.  Updated the protocol specs and the
  code.

* Added support for watch list.  It is possible to add nicknames
  to be watched, and when they come to network, leave network
  or user mode changes the watcher will be notified of this
  change.  Added SILC_COMMAND_WATCH command, added new
  notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
  notifications.  Updated the protocol specs and implemented
  this to library, client and server.  Protocol TODO #21.

* Fixed a bug in the pid writing function, which couldn't be
  written in a root-owned directory.

* Added detach_disabled and detach_timeout server config
  options to the server.

* Defined that server receives WHOIS command reply for private
  and secret channels too.  Updated protocol specs and the
  code in server.

* Defined <channel user mode list> argument to WHOIS command
  reply for returning user modes on the channels.  The
  channel list now doesn't include the user mode anymore but the
  actual channel mode.  Updated protocol specs and the code in
  client and server.

* Save the channels list in WHOIS command reply in normal server
  so that WHOIS always shows joined channels also in normal
  server and not just on router.

* Defined that server receives USERS command reply for private
  and secret channels too.  Updated protocol specs and the
  code in server.

* Changed the UMODE's mode mask argument to be optional.  If
  not provided then the command merely returns the current mode
  mask to the client.

* Added SILC session detachment/resuming support.  It is possible
  to detach by closing the network connection and then re-connect
  and resume to the old client session.  Added DETACHED user
  mode that server will set for detached client.  Added new
  packet RESUME_CLIENT which is used to perform the resuming
  process.  Added DETACH command.  Updated the protocol specs,
  core library, client and server.  Protocol TODO #22.

* Changed the CMODE's mode mask argument to be optional.  If
  not provided then the command merely returns the current mode
  mask to the client.  Updated protocol specs and the server.

* Added new user modes ANONYMOUS for special anonymous servers
  that may set the mode for client, and BLOCK_PRIVMSG which
  client may set to block incoming private messages unless the
  Private Message Key flag is set (using private keys to protect
  private messages).  Updated protocol specs and code in client
  and server and core library.  Protocol TODO #23.

* Added new channel user mode BLOCK_MESSAGES which the client
  may set to itself to tell server not send channel messages.
  Other packets such as channel key packets are still sent.
  Protocol TODO #23.  Updated the protocol specs, client and
  server.

* Fixed a bug in the fetch_logging() config callback.

* Drop root privileges when started in foreground.  Don't drop them
  if debugging also.

* Added STATS command to the protocol after all, to return
  various statistical information about the network.  It can
  be used by clients to retrieve statistical information, and
  servers may use it to to fetch cell and network wide
  statistics from router.  Updated the protocol specs and
  implemented it to the server.  Protocol TODO #16.

* Rewrote the version SKE version checking in client libary
  and in server to use the silc_parse_version_string.

* Added two new channel modes: SILC_CMODE_SILENCE_USERS
  and SILC_CMODE_SILENCE_OPERS which can be used to moderate
  the channel.  Updated protocol specs and impelemented this
  to client and server.  Protocol TODO #6.

* Deprecated all administrative commands from SILC protocol
  since they are highly implementation specific commands.
  Updated protocol specs.  Moved the old commands in
  implementations to private range of command types.

* Fixed a bug in server where sending unknown command crashes
  the server.

* Fixed the rekey protocol with PFS, which was totally broken.

* Merged version 1.1.4 of zlib. Even if it not currently in use,
  it's good not to have security holes here.

* Fixed a negative refcount situtuation for the config context.
  Affected file is silcd/serverconfig.c.

changes in silc-server package:
===============================

- removed INSTALL file, don't generate server keys during installation,
  if missing, generate them on server startup

Patch contributed by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 16981


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/chat/silc-server/Makefile \
    pkgsrc/chat/silc-server/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/chat/silc-server/files/silcd.generic
cvs rdiff -r1.4 -r1.5 pkgsrc/chat/silc-server/files/silcd.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.