summaryrefslogtreecommitdiff
path: root/chat/silc-client
AgeCommit message (Collapse)AuthorFilesLines
2003-01-08Update to version 0.9.11salo5-50/+31
IMPORTANT NOTE: This version does not include backwards support for the old style SILC private key so if you skipped 0.9.10 version you won't be able to run this client without generating new key pair. Changes between 0.9.10 and 0.9.11 ================================= * workaround a bug in GCC which causes memory exhaustion when compiling sha1 with optimizations on UltraSPARC. from openbsd * Don't display "foo appears as foo\nYou're now known as foo" messages. * Do not print the nickname in SERVER_SIGNOFF if we do not have it. Prevents asserts in Irssi core. It is possible we don't have the nick if it was just being resolved when server signoff. * Prevent endless resolving of user informations in USERS command by checking the command reply status correctly. * Don't print signed messages when sending failed. * Send adequate signal when founding a channel by joing it. * Make GETKEY to update the client entrys fingerprint too. * Fixed autonick crashbug in client library. * Fix theme abstracts parsing. * Fixed double free in SKE library error hadling when signature error occurred.
2002-12-06An important note to all client users:salo5-32/+50
There are fixes in crypto library, especially in the private key file format which had bugs in the encryption process. When you run the new client it will automatically change your private keyfile format so that you don't have to do anything to it manually. The next versions will not have this feature so if you'll skip this version you won't be able to run your client after new version of SILC Client comes out later (without generating new key pair). Channel private keys and private message keys were using MD5 hash function, which is actually wrong. The code was supposed to use SHA1 which is the mandatory hash function in SILC. This version changes this and for this reason you may experience some problems using channel private keys and private message keys together with older client versions. Make sure you and your friends are running latest client version to avoid problems. This is inconvenient, but was a must fix. Changes between 0.9.9.1 and 0.9.10 ================================== * Removed 1.0 protocol backwards compat code from client library. * Changed the channel private key and private message key generation (with static keys) to use SHA1 instead of MD5, as SHA1 is the mandatory hash function in SILC. * Changed the private key file encryption to use SHA1 instead of MD5. Added support for the old generation and added automatic change of the key (to be removed later). * Format CMODE +c and +h to display both the mode and the argument. * Added support for inviting and banning by public key. * Added support to set and use specific public key in CUMODE. * Changed the private_message and channel_message client operations to deliver the SilcMessagePayload to the application too. Application can use it fe. to get the signature from the message for verification. * Added more reliable check for whether nickname did change or not, or whether only Client ID changed in NICK_CHANGE notify. * Set realname and hostname in NICK_REC records. * Display signature verification result in public and private messages using theme abstracts. See irssi/default.theme for examples of their usage. * Verify signature payload for signed messages. * Added ignore_message_signatures setting which can be used to ignore signatures in messages. * Fixed fingerprint/babbleprint showing in invite and ban list command replys. * Fixed founder key sending in CMODE command. * Fixed bugs in Irssi's theme parsing.
2002-12-04Update to version 0.9.9.1.salo5-51/+74
Changes between 0.9.8 and 0.9.9.1 ================================= * Updated protocol version to 1.2. Clients and servers with support for 1.1 are not compatible with the new protocol! * Added -no-listener option to FILE SEND command, Renamed FILE RECEIVE to FILE ACCEPT. * Added idle and signon fields to the ATTRIBUTE_SERVICE attribute to indicate the user's current idle and signon time of a service. * Added MAC field to the Private Message Payload to protect against chosen ciphertext attacks. * Added support for normal client to kill its own entries from the network. * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED status types. * Defined the SILC_MESSAGE_FLAG_SIGNED. * Defined that all public keys sent in commands and notify payloads are actually Public Key Payloads not raw public key data. * Compute maximum padding for authentication packets to make passphrase approximation attacks impossible (padding must be at least 8 bytes now). * Added support for rekey before 2^32 sequence number wraps. * Added Encrypt-Then-MAC order to Channel Message Payload MAC generation. * Added Encrypt-Then-MAC order to SILC packet MAC generation. Deprecated the old Encrypt-And-MAC order. * Added expando $j which expands to current SILC Client version * SILC_UMODE_GONE changes are now propagated correctly to the client. * Print "nick now appears as newnick" and update nicklist when you change your nick to "nick". * Added support for setting FOUNDER mode on channel with specific public key which can be set with CMODE command. * Unified the Channel Message Payload and Private Message into one Message Payload. * UTF-8 decode topics also in JOIN command reply and TOPIC_SET notifys in client. * Added support to client sending new BAN and INVITE commands. Display INVITE and BAN lists as specified by SILC 1.2 * Merged with Irssi 0.8.6. * Added library versioning for shared libraries. * Do reverse lookups for server when /CONNECT-ing. * MARS support is now gone. * Fixed PING command sending in client library and handling in server. The server ID must be ID Payload, not raw ID data. * Fixed example in /HELP KEY * Fixed the client to correctly shutdown the client library to avoid memory leaks. * Fixed few double frees from client library.
2002-11-21update to version 0.9.8salo4-26/+57
Changes between 0.9.5.1 and 0.9.8 ================================= * Added STATS command. * Added Requested Attributes support. * Added -details option to WHOIS command to support the requested attributes. By default it requests all attributes. * Added implementation of VCard (RFC 2426) which can be used as part of Requested Attributes in WHOIS command. * Added ATTR command which is used to manage user's Requested Attributes sending and values for WHOIS command. * Added support for saving the requested attributes in WHOIS to directory. * Added support for auto-passphrase authentication from the config file during connecting which was not implemented yet. * Added shared library complation support. * Added support for encrypted private key files. Now passphrase must be provided when new key pair is created and prompted when loading the private key. * Added -P option which can be used to change the passphrase of the private key. * UTF-8 decode the topic in TOPIC command reply and LIST command reply. * Added manpage for silc(1). * Fixed string formatting crashbug in lib/silccore/silcattrs.c * Fixed double free in RSA public key set function. * Fixed a bug in authentication protocol failure handling which was processing wrong callback context. * Merged DISCONNECT fix, and autoconn port fix from Irssi CVS. * Merged c0ffee's /set heartbeat patch and fixed the heartbeat sending. * Fixed connection closing in client library to not crash. * Fixed the INVITE command to not crash client when given without nickname argument.
2002-09-12Update chat/silc-client to version 0.9.5.1. Changes:hubertf4-35/+38
buildlink->buildlink2 Main changes between 0.9.2 and 0.9.5.1 ======================================= * Do not set the locally resolved hostname for local client entry but take what server sends. This way the real hostname is shown in WHOIS for yourself. * Fixed duplicate PKCS name registering to not allow it. * Enabled SIM support on *BSD systems. * Fixed buffer overflow and security problems (loosing bits in CFB encryption) in SILC RNG. * Fixed buffer overflow with CUMODE mode->mode character conversion. * Fixed a crash in client libary in NICK_CHANGE notify when NICK_CHANGE arrived for client entry we are resolving currently. * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer is NULL since it seems that on some platforms NULL is allowed and on some it's not. Fallback encoding is used instead. * Fixed a bug in Irssi SILC client to close the connection properly when disconnecting from server. Handle local errors correctly during resuming. Update submitted by Lubomir Sedlacik <salo@xtrmntr.org> in PR 18277.
2002-06-21comment out configure flag "--enable-debug"jschauma1-2/+2
2002-06-21Update to version 0.9.2 using patch supplied by MAINTAINER in PR pkg/17331,jschauma2-7/+7
closing that PR. Thanks to Lubomir Sedlacik. Changes between 0.9.1 and 0.9.2 =============================== * Fixed a bug in client to close the connection properly when disconnecting from server and fixed some error checkings from the SFTP library which caused misbehaviour. * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the core library, and implemented it. All textual messages SHOULD use this flag and the message MUST be UTF-8 encoded. All text messages sent by Irssi SILC client are now UTF-8 encoded (regardless whether the terminal supports UTF-8 or not). * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used to silence a user on a channel. * Added new "debug" and "debug_string" settings to Irssi SILC client which can be used to print runtime debugging on the Irssi's screen. Available when compiled with --enable-debug * Made the private key generation after expiration optional. If not created after expiration the old key will re-expire at a later time (and thus key pair is not necessary to change). * Display the user mode on the status bar. * Display notification about data messages that cannot be displayed. (e.g. image/jpeg)
2002-05-25USE_NCURSES not needed. Remove it.wiz1-2/+1
2002-05-24Update silc-client to version 0.9.1. Changes:hubertf3-6/+9
* Call the completion for resolving client information only after all resolvers has finished. This fixes a crash in the client. Added support for checking when the resolvers are finished. * Wait by default 3 seconds before reconnecting to the server after being disconnected. Makes the /detach command a bit more usable. * Remove the client entry from cache if the WATCH notify type is KILLED, SERVER_SIGNOFF or SIGNOFF. * Fixed a crash in OPER and SILCOPER command sending. Empty passphrase caused the crash. * Merged with Irssi CVS for Irssi SILC client. * 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. * Fixed rekey protocol with PFS in the client library. * Fixed client info resolving on LEAVE command in client library to not crash. * Defined that the NICK command replies with thew changed nickname too, to make the nickname changing simpler at the client's end. Updated protocol specs and the code in client and server. * Remove pending command callbacks also if the connection to the server is destroyed. * 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. * Added user mode SILC_UMODE_REJECT_WATCHING to reject somebody watching you. Updated the protocol specs and the code. * Added MIME header parsing in Irssi SILC Client. It displays all textual MIME objects, others it ignores. * 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. * 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. * 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. * Added more IM-like features by introducing new user modes for setting various presence information. Added new modes: INDISPOSED, BUSY, PAGE, HYPER and ROBOT. Updated protocol specs and code. Protocol TODO #19. * The LIST command reply in client libary now adds new channel entry if the returned channel doesn't exist yet in cache, and returns the channel entry to the application in the command_reply client operation. * 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. Added new options m and M to CMODE command in Irssi SILC client to set these modes. * 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. * Some client implementations quit network by doing first LEAVE and then immediately SIGNOFF (like Bombyx). We now do check after a short time after LEAVE notify and check whether the client is still valid after LEAVE, and if not we remove it from cache. Patch submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 16980.
2002-05-03Update silc-client to 0.8.6. Changes:hubertf6-142/+45
changes in the silc-client package: =================================== - upgraded to 0.8.6 - separate PLIST files for perl support and crypto modules - make it compile on Solaris - minor cleanups changes in the silc-client since 0.8.3: ======================================= * Merged irssi crash fixes on /QUIT. * Fixed a bug in library where sending a bogus authentication payload would lead to a crash. * Do not check public key types in SKE during rekey. * Fixed the Irssi SILC Client to use the silc_get_username and silc_get_real_name insted of glib routines since the glib routines only corrupt stack. Fixes the Irssi SILC to work in Cygwin. * Fixed the Irssi to not use g_get_home_dir since it crashes or returns garbage on cygwin and corrupts stack. Added function get_home_dir to Irssi routines. * Fixed the KICKED notify handling in client library to correctly remove the channel and all entries from the channel when I was kicked. This bug crashed the client. * Fixed yet another but in KICKED notify handling to remove the kicked client correctly from the channel. * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP sources correctly to distribution. Fixes --with-gmp option. * Removed the manual rehashing from ID Cache, and changed it to use the SILC Hash Table's auto rehash feature. * Fixed a bug in the silc_client_nickname_format function that handles the multiple same nickname formatting. Two clients with same nickname caused problems after the first one left and rejoined. It didn't format the nickname correctly. Changes contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 16611
2002-03-29Update silc-client to 0.8.3. Update provided in PR pkg/16098 by therh4-7/+15
package maintainer, Lubomir Sedlacik <salo@silcnet.org>, thanks! Changes between 0.8.2 and 0.8.3 =============================== * Merged with latest Irssi from irssi.org CVS. * Fixed minor IPv6 issues. IPv6 should now work without problems. * Fixed the internal Unix scheduler functions to check for NULL context they may receive. * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you can specify different directory with --home command line parameter. * SILC-specific commands aren't now executed if the active server isn't of SILC-type, so there won't be problems with having IRC and SILC protocol support in same client. Changes between 0.8.1 and 0.8.2 =============================== * IPv6 support was broken with some of the network handling routines. Now they are fixed and every network routine should support IPv6. * Merged with Irssi 0.8.4 from irssi.org CVS. * Added "change" command to KEY command which can be used to change the current channel private key. Bound the command also to alt+K (Alt©hift+k). See also /HELP KEY * Fixed a packet sending bug on very high load, where outgoing packet queue wasn't handled correctly and packets got corrupted. * Added checks for maximum length of channel message payload and private message payload too. * Added checks for maximum packet length in client library. * Fixed the handling of third parameter of KICKED notify, since it was mistakenly updated to SILC Protocol 1.0 even though it is to be included in 1.1. Since it is not in 1.0 it is not mandatory, and this fix now handles it only if it is provided, and it is not error if it is not provided.
2002-03-12Update silc-client to 0.8.1. Changes:hubertf5-35/+15
* Merged Irssi 0.8.2 from irssi.org CVS. * Fixed the USERS command reply to save the user's mode on the channel as well. * Fixed JOIN command reply to check whether a client is on channel already and not join it twice. * The user mode (like server/router operator changes) is now shown on the Irssi SILC client's statusbar. * Fixed -S option parsing in Irssi SILC Client. Contents of key files are shown again correctly. Patch submitted by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15886.
2002-03-03Update of chat/silc-client to version 0.8.hubertf6-40/+212
Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15772. Changes: - added support for optional perl support to Makefile - added PLIST.perl for package with perl support enabled - updated MASTER_SITEs - updated patches This version introduces the new Irssi-SILC client which is based in the new Irssi 0.8.1 version. In addition of being entirely new irssi base this version also introduces the perl scripting support. With this scripting support it is possible to create scripts that introduce new features and new commands. It is also possible to create a bot with it. The client config file has changed too. The old "silc.conf" (which was the silc specific config file) is now gone, and the "config" (which was the irssi specific config file) is now renamed as silc.conf, and includes both silc stuff and irssi stuff. So, after installing this new client I suggest removing the old silc.conf file since otherwise when you run the new client it will yell you about the config file. Be warned. When you look at the new silc.conf config file you will see settings like, "crypto_default_cipher", "crypto_default_hash" and "crypto_default_hmac". These are the silc specific settings and you can freely edit them (or use /SET command) to include what ever value you prefer. The default values should fit to all since they are the SILC protocol default ones. Anyway, they are editable if you want to edit, but you don't need to edit them. New commands that this new client introduces is for example /STATUSBAR. With this command you can manage the different bars on the screen. Like, whether to show topic bar or not etc. most significant changes in silc-client since version 0.7.6.2: * Fixed CUMODE_CHANGE notify handling to change the mode of correct client * Allow zero length channel messages inside the Channel Message Payload * The silc_cipher_register, silc_hash_register and silc_hmac_register now checks if the object to be registered is registered already * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news. * Added new Passphrase and Publickey authentication methods to config file, allowing both public key and passphrase based authentication to be set at the same time. * Added `prefer_passphrase_auth' setting in config file which can be used to set to prefer passwd auth if both passwd and public key is set. If not set, public key is preferred. This has effect only when being initiator (responder will try both anyway). * Added support for authentication with passphrase and public key at the same time. The passphrase is tried first always since it is faster to check. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * Add the client on channel after it was resolved at the channel message receiving, and it was not already on the channel. * Fixed command line parameter handling. All SILC initialization is now done in silc_core_init() which also fixes autoconnecting to servers. * Rewrote the notify handling in Irssi SILC client to not call the events as signals. Fixes problems with Perl support. * Send the auto-nicking NICK command in client library with little timeout after connecting. * Fixed padding problem in PKCS#1. The padding was not actually random since the random number generator was used incorrectly. This security bug affects only when encrypting with PKCS#1, and it is not currently used at all in SILC. SILC only use signing with PKCS#1. * Fixed a NICK change bug in client library, to not recreate the client_entry->channels hash table everytime nick is changed. * Fixed NICK change printing in Irssi SILC Client. Fixed KICKED notify printing in Irssi SILC Client. * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines instead of calling directly OS routines. * Added proper initializations to silc's irssi code, so it's now possible to load it as module. * Added silc_schedule_reinit function to do the enlarging of the max tasks handling capabilities of the scheduler. * Added `prefer_ipv6' argument to the functions silc_net_gethostbyname[_async]. If it is TRUE it will return IPv6 address over IPv4. If FALSE IPv4 address is returned even if IPv6 address was found. * Added support silc_net_create_connection[_async] to fallback to IPv4 address if IPv6 address could not be used (like if it doesn't work on a specific system).
2002-02-17Update silc-client to 0.7.6.2. Changes:hubertf3-31/+17
- Fixed a bug in hash table tarversing. - Fixed private message handling. - Fixed the channel message payload decryption in the function silc_channel_message_payload_decrypt to not modify the original buffer before it is verified that the message decrypted correctly. Otherwise, next time it is called with correct channel key it won't encrypt since the payload is corrupted. - Fixed SILC_LOG_ERROR and SILC_LOG_WARNING - Fixed the event_mode CMODE handler to not crash when mode is changed and +k mode is set in the channel. - Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer error than can occur while key agreement protocol. - Fixed the file transfer's key agreement payload to include zero port also if the hostname is NULL because it could not be bound. - Call file transfer monitor callback now also if error occurs during key agreement protocol. - Check that the file exists locally before sending the file transfer request at all. Patch contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15630. SSH Secure Shell 3.0.0 (Build 199) Copyright (c) 2000-2001 SSH Communications Security Corp - http://www.ssh.com/ This copy of SSH Secure Shell is a non-commercial version. This version does not include PKI and PKCS #11 functionality. This program uses RSA BSAFE® Crypto-C by RSA Security Inc. Last login: Mon Feb 18 00:10:56 2002 from pd9eb5184.dip.t- NetBSD 1.5.2 (SMAUG) #9: Tue Sep 18 17:12:07 MEST 2001 *** Welcome to smaug.fh-regensburg.de! *** , , /( )` This machine is hooked up to the net to support \ \___ / | development and evaluation of NetBSD. /- _ `-/ ' Unauthorized access is ILLEGAL! (/\/ \ \ /\ Welcome to / / | ` \ NetBSD V1.5 O O ) / | Administration: Hubert Feyrer \ `-^--'`< ' <feyrer@smaug.fh-regensburg.de> (_.) _ ) / `.___/` / `-----' / --- NOTICES --- <----. __ / __ \ within the next week. Note <----|====O)))==) \) /==== access to serial console is <----' `--' `.__,' \ revoked! | | 011008 - Broken RAM module removed, \ / (FL) NetBSD 1.5.2 kernel booted. ______( (_ / \_____ Sorry for the downtime! ,' ,-----' | \ `--{__________) \/ smaug% screen -x bsd3 drwxr-xr-x 3 feyrer cvs 512 Feb 18 00:04 patches yui# Als Als: Command not found. ^O^R ^@^@P^@^@^@ ^@^@^@^H^@^@^@þB^B­I@^A ^F^@þB^B¼o@^A ^A þB^BÒo@^A È^A þB^BÄo@yui# yui# CVS/ Makefile PLIST distinfo.orig DESCR Makefile.orig distinfo patches/ yui# o@B o@B: Command not found. yui# yui# yui# CVS/ Makefile PLIST distinfo.orig DESCR Makefile.orig distinfo patches/ yui# pwd /disk1/cvs/pkgsrc/chat/silc-client
2002-01-26Update silc-client to 0.7.3. Changes:hubertf5-37/+24
changes in the package: - patch-ab is no longer needed, integrated into distribution. patch-ac has been moved in it's place - minor change in Makefile, long transscription of ${PKG_SYSCONFDIR} was changed into one variable - patch-aa was modified to follow change in Makefile.in changes in the silc-client: 0.7.3: This version fixes the NICK command to always give the unformatted nickname, instead of possibility of formatted nickname, fixes the GETKEY command to save the public key to correct filename, and to first resolve the client information and server information only if client was not found. The public keys are now (when connecting to server for first time) saved with using the IP address of the server, instead of the hostname of the server. The old hostname format is used as a fall back method if the IP address based filename could not be found. Submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15380
2002-01-14new in silc-client 0.7.2hubertf1-0/+13
2002-01-14 - update to silc-client package, version 0.7.2hubertf3-22/+14
- cleaned up CONFIGURE_ARGS - revised patches/patch-aa to follow change in the Makefile.in - removed post-configure target from Makefile, fix to this issue has been moved into patches/patch-ac file (inspired by chat/irssi package, thanks to mutru!) Update submitted by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15147
2001-12-26use buildlink dir for ncurseshubertf1-2/+2
2001-12-21Update silc-client to 0.7.1.hubertf5-44/+32
Patches submitted by Lubomir Sedlacik <salo@silcnet.org> in PR 14892 Changes in the silc-client package: - upgrade to silc-client package, version 0.7.1 - minor changes in the MASTER_SITES variable - patch-ab was removed, it has been integrated into main distribution, patch-ac was moved in its place so patches/patch-ac is no longer needed Changes in the silc-client-0.7.1: - various serious fixes in /whois, /join, /away, /key, /file, /list, /kick, /msg, /nick commands - fixed problem with allocation of 0 bytes when encoding payload
2001-11-30Update to 0.6.6nb1: suppress an annoying warning on startuphubertf3-5/+17
patch submitted by Lubomir Sedlacik <salo@xtrmntr.org> in private mail.
2001-11-29Add silc-client-0.6.6:hubertf6-0/+243
Client for the Secure Internet Live Conferencing (SILC) Submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 14543