summaryrefslogtreecommitdiff
path: root/chat/silc-server/files
AgeCommit message (Collapse)AuthorFilesLines
2004-06-06PKGREVISION++salo1-1/+1
- Rework where silc-server is installed, make it consistent with silc-client changes. - Minor cleanups.
2003-10-16Updated to version 0.9.14.salo2-4/+4
This version is a major upgrade release and everyone running older version is strongly recommended to upgrade to this version. This version introduces several bugfixes, security fixes and bunch of new features. This also completes the development work for the SILC protocol version 1.2. Changes: - removed patch-ac, merged into distribution - create server keys with strict permissions 0.9.14: ======= - Several bugfixes and security fixes were made. A major remote exploit was also fixed. - The SILC Server now ignores SIGXFSZ and SIGXCPU signals which will terminate the process if they occur. They can occur in poorly configured environment. - Fixed SERVER_SIGNOFF notify handling which caused ghosts to remain in the network. - Fixed inviting and banning by public key. Fixed invite and ban string handling. Implemented SILC 1.2 complying invite and ban data distribution between routers and servers. To also comply with SILC 1.2, prohibited using '@' and '!' characters in invite and ban strings. - Support for channel public keys added. A new feature in SILC 1.2, that allows join authentication using digital signatures. Use the latest SILC Client to take advantage of this feature. - Support for SILC 1.2 backup protocol. This version introduces rewritten version of the backup router protocol. The purpose of the backup router protocol is to prevent servers from splitting from the rest of the SILC network if the primary router becomes unresponsive. There are no changes to the configuration of the backup router support, and old configurations will work with this version too. This version is now able to detect much better different network failure situations and understand how to work with them. The servers are now able to actually detect when the backup router can/must be used. They are also able, in case of error in backup router protocol, to resume back to either to the backup router or to the primary router, and always recover from desyncs automatically (usually within 60 seconds). - Support for command reply error arguments was added. This allows clients to better handle error conditions within command execution. - The founder public key distribution now complies with the SILC 1.2.
2002-09-20Make these scripts more portable by taking advantage of automatic rc.dgrant1-2/+2
script handling and using @RCD_SCRIPTS_SHELL@. as discussed with jlam.
2002-09-14Maintainer update of chat/silc-server to version 0.9.5. Changes:hubertf1-1/+1
buildlink->buildlink2 Main changes from 0.9.2 to 0.9.5 ================================= * Use the primary router as the origin of the locally connected server when it is disconnecting from the backup router since that's where it really is coming from. Now the clients from the disconnecting server are removed correctly and "shadow" clients are not left to the backup router. * If normal server is standalone and found existing but disabled channel, do not re-create the channel since it creates duplicate same channels. * Added anonymous client connections support to server. New "anonymous" configuration option to ConnectionParams section added. If set to true, the username and hostname information of the client will be scrambled and anonymous user mode is set automatically to the user. * In JOIN notify handling, mark that the cache entry of the client cannot be expired. Can cause crashes on normal server (asserts client->channels). * Added silcd configuration option Timestamp in the Logging section. * Fixed fingerprint checking to check for entirely empty fingerprint instead of two first bytes when determining if it is set. * Remove server/router operator privileges in DETACH command, since it's possible to resume to server where these privileges would not be allowed. * Do not re-create channel keys and send them when removing clients in server shutdown. * Completed backup router support for standalone routers. Supports also servers in the cell that do not use the backup at all. Server/router operator now receives notify when network switches to backup router and when it resumes the use of primary router. * Added -D option to server. It can be used to give debug level. The levels are from 0 - 99, and are predefined for smooth server debugging. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18278.
2002-05-24Update silc-server to version 0.9.1. Changes:hubertf2-8/+12
* 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
2002-05-03Update silc-server pkg to 0.8.4. Changes:hubertf2-2/+84
changes in silc-server package: =============================== - upgraded to version 0.8.4 - added generic startup script for Solaris and Linux (i can't test it on Darwin/Mac OS X because i don't have any.. please let me know if it works for you. thanks) You will need to copy ${PREFIX}/etc/rc.d/silcd to appropriate location in your system and do neccessary actions to enable it. e.g. Solaris: copy ${PREFIX}/etc/rc.d/silcd to /etc/init.d/ and make links in /etc/rc2.d/, /etc/rc1.d/, /etc/rc0.d/. changes in silc-server since 0.8.1: =================================== * Fixed a bug in library where sending a bogus authentication payload would lead to a crash. * Fixed a bug in the fetch_logging() config callback. * Drop root privileges when started in foreground. Don't drop them if debugging also. * Added better error logging in rekey protocol. * Do not check public key types in SKE during rekey. * Fixed the rekey protocol with PFS, which was totally broken. * Fixed a negative refcount situtuation for the config context. * Fixed memory leaks from config object. * Added support for adding new connections to the server in rehash. After rehash they take effect. * Added support for changing the maximum allowed connections in rehash. The number can grow but going smaller is not supported. * Added preliminary checking during config parsing for a valid public/private key and removed further checks in the code. * Fixed silc_net_gethostbyaddr to correctly resolve by address. * Fixed the notify relaying to client. The HMAC to be used with relayed packets ws wrong and caused decryption failure at the client end. * Fixed the silc_log_quick handling in the logging routines. It didn't log quickly when it was TRUE. Also the flush delay was set even if it was 0 in config file. * Added support for changing key pair of the server in rehash. * Fixed the TOPIC_SET notify to not crash. It changed the topic too early, before getting the channel entry. * Added rehash support. Added function silc_server_rehash() that will perform all the basic tasks of the rehashing procedure. * Added command line option `-x, --hexdump'. This will enable the SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'. The option `--hexdump' implies `--debug'. * Fixed a bad bug in the logging APIs (silcutil library) where the application would crash after calling silc_log_reset_all(). Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 16612
2002-01-26Update silc-server to 0.7.6:hubertf2-19/+33
changes in the package since 0.7.3 to 0.7.6: - rewrite of package's Makefile. big parts of INSTALL and DEINSTALL scripts were moved into Makefile itself - silc-server now creates user silcd:silcd who run silcd by default - INSTALL and DEINSTALL files are smaller and contains only neccessary actions which cannot be executed from Makefile - partial rewrite of rc script, added rcvar support, it is neccessary to have silcd=YES in rc.conf now to start silc server (unless force is used) - changed motd.txt to contain BSD daemon ;) - updated patch-aa and patch-ab files changes in the silc-server software since 0.7.3 to 0.7.6: 0.7.4: This version fixes a crash that can occur mainly on normal server. Upgrading is recommended to avoid instability later. This version also fixes the BAN and INVITE commands that were pretty much broken. This version also disallows a situation where the nickname that server sets initially for the client could be a bad nickname (like nick including whitespaces). It used to be possible but now server checks for this. Johnny also introduces a new logging system to this version with log files being open all the time and not opened every time something is logged, and log rotation support. 0.7.5: Hopefully fixed the most nasty bugs. I found bunch of weird bugs that causes server syncing problems. Upgrading is strongly recommended as soon as possible. 0.7.6: Only a minor bugfix release to fix the CUMODE command that allowed non-founder channel users to remove modes of the founder, and to fix GETKEY always return server's public key if it is requested, and to fix the TOPIC_CHANGE notify to not route it twice to router. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15373
2001-12-17update the silc-server package to version 0.7.1.hubertf2-36/+52
Submitted by Lubomir Sedlacik <salo@silcnet.org> in PR 14887 Changes in the NetBSD's package from version 0.6.4 -> 0.7.1: - upgrade to silc-server-0.7.1 (the main changes below) the biggest change is the ipv6 support (new configuration file format is needed, though) - removed patch-ac because it was integrated into distribution (patch-ad was moved in its place) - completely rewritten rc.d script to use rc.subr instead and fixed the problem with removing pidfile so now status) works fine. - added default motd file - INSTALL and DEINSTALL scripts are cleaner and more useful, check for logs directory before creating it, added motd.txt installing/removing. - better and more helpful default configuration file (added Example: sections for each variable) - added examples/ directory containing sample configurations of various scenarios into $DOCDIR changes in the silc-server itself: o Fixed WHOIS and IDENTIFY commands to return correct replies, and correct error replies. This fixes various weird bugs related to these commands. o Send NO_SUCH_CLIENT_ID error notify if received private message to invalid Client ID. It is guaranteed that if private message is sent to unknown client, the sender will receive a notification for it. o Send the kicker's information in KICK command to the kicked client. o Fixed LIST command to return correct amount of channels. This fixes the weird bug that LIST would show like 50 channels and some channels multiple times. o Channel topics, and users SILC modes are announced now during server->router connecting. o Implemented the founder authentication during JOIN command. o Support for IPv6 based Server ID added. o Memory leak fixes.
2001-11-30Add silc-server 0.6.4:hubertf1-0/+48
SILC (Secure Internet Live Conferencing) is a protocol which provides secure conferencing services in the Internet over insecure channel. Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 14562