head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.126 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.124 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.122 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.120 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.118 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.116 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.114 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.112 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.110 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.108 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.106 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.104 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.102 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.100 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.98 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.96 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.94 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.92 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.90 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.88 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.86 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.84 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.82 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.78 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.58 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.80 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.76 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.74 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.72 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.70 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.68 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.66 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.64 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.62 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.60 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.56 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.54 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.52 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.50 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.48 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.46 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.44 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.42 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.40 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.38 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.36 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.34 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.32 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.30 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.28 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.26 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.24 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.22 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.20 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.18 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.16 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.14 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.12 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.10 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.8 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.6 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.12.0.4 pkgsrc-2010Q4-base:1.12 pkgsrc-2010Q3:1.12.0.2 pkgsrc-2010Q3-base:1.12 pkgsrc-2010Q2:1.11.0.4 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.2 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.10.0.42 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q3:1.10.0.40 pkgsrc-2009Q3-base:1.10 pkgsrc-2009Q2:1.10.0.38 pkgsrc-2009Q2-base:1.10 pkgsrc-2009Q1:1.10.0.36 pkgsrc-2009Q1-base:1.10 pkgsrc-2008Q4:1.10.0.34 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.32 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.30 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.28 pkgsrc-2008Q2-base:1.10 cwrapper:1.10.0.26 pkgsrc-2008Q1:1.10.0.24 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.22 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.20 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.10.0.18 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.16 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.14 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.12 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.10.0.10 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.10.0.8 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.10.0.6 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.10.0.4 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.2 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.9.0.12 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.10 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.8 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.6 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.4 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.9.0.2 pkgsrc-2003Q4-base:1.9 netbsd-1-6-1:1.7.0.2 netbsd-1-6-1-base:1.7 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.12 date 2010.08.30.11.17.16; author adam; state Exp; branches; next 1.11; 1.11 date 2010.02.14.20.18.06; author joerg; state Exp; branches; next 1.10; 1.10 date 2005.06.19.01.22.17; author salo; state Exp; branches; next 1.9; 1.9 date 2003.10.16.12.37.44; author salo; state Exp; branches; next 1.8; 1.8 date 2003.03.17.20.12.47; author salo; state Exp; branches; next 1.7; 1.7 date 2002.12.04.17.31.56; author salo; state Exp; branches; next 1.6; 1.6 date 2002.09.14.02.59.26; author hubertf; state Exp; branches; next 1.5; 1.5 date 2002.03.03.23.49.49; author hubertf; state Exp; branches; next 1.4; 1.4 date 2002.02.02.10.31.22; author hubertf; state Exp; branches; next 1.3; 1.3 date 2002.01.26.14.43.18; author hubertf; state Exp; branches; next 1.2; 1.2 date 2001.12.17.00.43.11; author hubertf; state Exp; branches; next 1.1; 1.1 date 2001.11.30.23.33.34; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.11.30.23.33.34; author hubertf; state Exp; branches; next ; desc @@ 1.12 log @Changes 1.1.10 (toolkit): * More string format fixes in silcd and client libary * configure: changed AC_PROG_LIBTOOL order to fix disabling shared libs * configure: check threads support in OpenBSD * Fixed string format vulnerability in client entry handling * Reported and patch provided by William Cummings * silcd: Fixed IDENTIFY command reply handling for channels Changes 1.1.18 (server): * silcd: Added heartbeat support * Added support for sending SILC_PACKET_HEARTBEAT packets to connection, to make sure they keep alive and to detect if they have died * Set SO_KEEPALIVE for all accept()ed sockets * silcd: Fixed SIGUSR1 signal handling * Fixed the SIGUSR1 signal handling which can be used to dump the server internals to /tmp. * Changed also End of Stream handling to handle NULL idata pointer instead of ignoring the EOS in case it is NULL. * Changed also the DETACH timeout handling to use the packet stream directly instead of looking up client in the callback * More string format fixes in silcd and client libary @ text @$NetBSD$ --- apps/silcd/Makefile.in.orig 2009-09-26 20:34:14.000000000 +0000 +++ apps/silcd/Makefile.in @@@@ -580,13 +580,10 @@@@ uninstall-am: uninstall-sbinPROGRAMS install-dirs-server: -mkdir -p $(docdir) - -mkdir -p $(etcdir) - -mkdir -p $(logsdir) -mkdir -p $(mandir)/man5 -mkdir -p $(mandir)/man8 doc-install-server: - -$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf $(docdir)/ -@@if test -f $(top_srcdir)/doc/silcd.8 ; then \ $(INSTALL_DATA) $(top_srcdir)/doc/silcd.8 $(mandir)/man8; \ fi @@@@ -604,8 +601,10 @@@@ etc-install-server: fi examples-install: - -mkdir -p $(docdir)/examples/ - -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(docdir)/examples/ + -mkdir -p ${DESTDIR}$(examplesdir) + -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* ${DESTDIR}$(examplesdir)/ + -$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf ${DESTDIR}$(examplesdir)/silcd.conf.default + -$(INSTALL_DATA) $(top_srcdir)/doc/silcalgs.conf ${DESTDIR}$(examplesdir)/silcalgs.conf.default generate-server-key: -@@if test '!' -f $(etcdir)/silcd.pub ; then \ @@@@ -615,9 +614,7 @@@@ generate-server-key: install-data-hook: \ install-dirs-server \ doc-install-server \ - etc-install-server \ - examples-install \ - generate-server-key + examples-install @@INCLUDE_DEFINES_INT@@ @ 1.11 log @DESTDIR support @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2005/06/19 01:22:17 salo Exp $ d3 3 a5 3 --- apps/silcd/Makefile.in.orig 2005-05-10 18:59:04.000000000 +0200 +++ apps/silcd/Makefile.in 2005-06-19 02:36:04.000000000 +0200 @@@@ -581,13 +581,10 @@@@ d19 1 a19 1 @@@@ -605,8 +602,10 @@@@ d32 1 a32 1 @@@@ -616,9 +615,7 @@@@ @ 1.10 log @Updated to version 1.0 Changes: 1.0: ==== Only minor bugfixes were made to the previous version. - Fixed channel public key list saving on backup router on JOIN command reply. - New optimized logging. 0.9.21: ======= A small bugfix release. - Added default limit how many channels one client can join (50). - Added missing getopt.[ch]. - Fixed compilation with pkg-config files 0.9.20: ======= A bugfix release to the SILC Server. In addition of various bugfixes, this version now also includes new math library that from now on will be included in all SILC distributions. - Added more liberal channel names from the previous more stricter identifier string change. - Added SERVICE command to server, though services aren't supported yet. - Fixed MOTD command to send empty reply if motd does not exist. - Fixed LIST command. - Fixed query to stop if client goes away. - Added pkg-config check to the configure. - Several other bugfixes were made. @ text @d1 1 a1 1 $NetBSD$ d25 4 a28 4 + -mkdir -p $(examplesdir) + -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(examplesdir)/ + -$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf $(examplesdir)/silcd.conf.default + -$(INSTALL_DATA) $(top_srcdir)/doc/silcalgs.conf $(examplesdir)/silcalgs.conf.default @ 1.9 log @Updated to version 0.9.14. 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. @ text @d3 7 a9 6 --- Makefile.in.orig 2003-10-15 19:22:13.000000000 +0200 +++ Makefile.in 2003-10-16 13:16:39.000000000 +0200 @@@@ -710,14 +710,12 @@@@ -mkdir -p $(mandir)/man1 install-dirs-server: install-dirs d14 4 a17 8 doc-install: -$(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/ -$(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/ - -$(INSTALL_DATA) $(srcdir)/doc/*.txt $(docdir)/ -$(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/ -$(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/ -$(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/ @@@@ -732,7 +730,6 @@@@ d19 1 a19 5 doc-install-server: doc-install - -$(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(docdir)/ -@@if test -f $(srcdir)/doc/silcd.8 ; then \ $(INSTALL_DATA) $(srcdir)/doc/silcd.8 $(mandir)/man8; \ a20 2 @@@@ -767,9 +764,12 @@@@ -cp -R $(srcdir)/tutorial $(prefix) d24 1 a24 2 - -$(INSTALL_DATA) $(srcdir)/doc/examples/README $(docdir)/examples/ - -$(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(docdir)/examples/ d26 3 a28 5 + -$(INSTALL_DATA) $(srcdir)/doc/examples/README $(examplesdir) + -$(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(examplesdir) + -$(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(examplesdir) + -$(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(examplesdir)/silcd.conf.default + -$(INSTALL_DATA) $(srcdir)/doc/silcalgs.conf $(examplesdir)/silcalgs.conf.default d32 10 a41 1 @@@@ -778,7 +778,7 @@@@ a42 7 @@SILC_DIST_CLIENT_TRUE@@install-data-hook: install-dirs-client sim-install doc-install-client etc-install-client @@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_TRUE@@install-data-hook: install-dirs-client install-dirs-server sim-install doc-install-client doc-install-server toolkit-install examples-install etc-install-client etc-install-server -@@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_FALSE@@install-data-hook: install-dirs-server sim-install doc-install-server examples-install etc-install-server generate-server-key +@@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_FALSE@@install-data-hook: install-dirs-server sim-install doc-install-server examples-install # 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: @ 1.8 log @Updated to version 0.9.13. Changes: - Fixed EOF handling in SILC Config. - Do not send full INVITE and BAN lists in INVITE and BAN notifys, only the changed information. - Fixed INVITE notify sending in INVITE command, send it only when needed. - Handle the founder key change properly in CMODE_CHANGE notify. Bug #122. - Remove the mark for output (mark it only for input) after purging outgoing queue. Prevents the "Error in select()" floods. - Check server private key file permissions before starting the server. - NULL terminate allocated string in silc_buffer_strformat. - Rewrote the invite/ban list string handling in server to use SilcBuffer instead. - Fixed double free in CMODE command when setting new HMAC for channel. - Added couple of missing memset's to zero sensitive memory. @ text @d3 3 a5 12 --- Makefile.in.orig 2003-03-17 18:44:44.000000000 +0100 +++ Makefile.in 2003-03-17 20:27:59.000000000 +0100 @@@@ -216,7 +216,7 @@@@ libdir = @@libdir@@ libexecdir = @@libexecdir@@ localstatedir = @@localstatedir@@ -mandir = $(DESTDIR)$(mandir) +mandir = $(DESTDIR)@@mandir@@ oldincludedir = @@oldincludedir@@ prefix = @@prefix@@ program_transform_name = @@program_transform_name@@ @@@@ -709,14 +709,12 @@@@ d20 1 a20 1 @@@@ -731,7 +729,6 @@@@ d28 1 a28 1 @@@@ -766,9 +763,12 @@@@ d44 1 a44 1 @@@@ -777,7 +777,7 @@@@ d47 1 a47 1 @@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_TRUE@@install-data-hook: install-dirs-client install-dirs-server sim-install doc-install-client doc-install-server toolkit-install examples-install etc-install-client etc-install-server generate-server-key @ 1.7 log @Update to version 0.9.9.1. Changes from 0.9.8 to 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! * Print notify for server opers when backup router comes online. * Resolve the client's public key in JOIN command if the founder auth data is being requested but we don't know the client's public key. * Added idle and signon fields to the ATTRIBUTE_SERVICE attribute to indicate the user's current idle and signon timeof a service. * Added MAC field to the Private Message Payload to protect against chosen ciphertext attacks. * Defined the SILC_MESSAGE_FLAG_SIGNED. * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED status types. * Added support for normal client to kill its own entries from the network. * 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 SILC packet MAC generation. Deprecated the old Encrypt-And-MAC order. * Added Encrypt-Then-MAC order to Channel Message Payload MAC generation. * Added support for setting FOUNDER mode on channel with specific public key which can be set with CMODE command. * Don't wait for EOF after socket error has occurred, but close the connection. * Assure the RESUME_CLIENT packet is not sent to twice to backup router if the detached client was originated from the backup. * Added support for removing client from invite list when kicked from channel, as SILC 1.2 dictates. * Added support for the SILC 1.2 BAN and INVITEcommands and new ban and invite lists to server. * Remove client from invite list in KILLED notify and in KILL command. * Do not send invite list back unless asked (when sending no arguments) or when list was modified. * MARS is now gone. * Added manual pages for silcd(8) and silcd.conf(5). * Fixed WATCH command reply handling on normal server which was missing altogether. * Fixed double free in WHOIS query on normal server when forwarding query to router. * Fixed MOTD command reply sending. * Fixed the INVITE command to send the invite list in command reply. * Fixed PING command sending in client library and handling in server. The server ID must be ID Payload, not raw ID data. * Fixed NICK command to not crash if nickname was not sent. * Fixed channel's global_user boolean checking after detaching. Check it after changing the owner of the client not before. * Fixed channel key distribution after resuming detached client. * Fixed memory leaks with SIMs in server. * Fixed bugs in invite list handling in INVITE command. @ text @d3 12 a14 3 --- Makefile.in.orig Fri Nov 29 08:58:19 2002 +++ Makefile.in Wed Dec 4 17:40:13 2002 @@@@ -710,14 +710,12 @@@@ d29 1 a29 1 @@@@ -732,7 +730,6 @@@@ d37 1 a37 1 @@@@ -767,9 +764,12 @@@@ d53 1 a53 1 @@@@ -778,7 +778,7 @@@@ @ 1.6 log @Maintainer update of chat/silc-server to version 0.9.5. Changes: 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 in PR 18278. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2002/03/03 23:49:49 hubertf Exp $ d3 6 a8 10 --- Makefile.in.orig Tue Sep 10 21:32:01 2002 +++ Makefile.in Thu Sep 12 23:20:46 2002 @@@@ -530,11 +530,9 @@@@ -rm -rf $(distdir) install-dirs: - -mkdir -p $(etcdir) -mkdir -p $(modulesdir) - -mkdir -p $(helpdir) -mkdir -p $(docdir) d10 25 d36 5 d44 1 a44 13 @@@@ -547,8 +545,8 @@@@ doc-install: $(INSTALL_DATA) $(srcdir)/doc/CodingStyle $(docdir)/ $(INSTALL_DATA) $(srcdir)/doc/FAQ $(docdir)/ - $(INSTALL_DATA) $(srcdir)/doc/example_* $(docdir)/ - $(INSTALL_DATA) $(srcdir)/doc/*.txt $(docdir)/ + $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(examplesdir)/silcd.conf.default + $(INSTALL_DATA) $(srcdir)/doc/silcalgs.conf $(examplesdir)/silcalgs.conf.default $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/ $(INSTALL_DATA) $(srcdir)/CHANGES $(docdir)/ $(INSTALL_DATA) $(srcdir)/CREDITS $(docdir)/ @@@@ -562,10 +560,9 @@@@ -$(INSTALL_DATA) $(srcdir)/lib/doc/*.gif $(docdir)/toolkit d46 4 a49 17 examples-install: - -mkdir -p $(docdir)/examples/ - $(INSTALL_DATA) $(srcdir)/doc/examples/README $(docdir)/examples/ - $(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(docdir)/examples/ - $(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/ + $(INSTALL_DATA) $(srcdir)/doc/examples/README $(examplesdir) + $(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(examplesdir) + $(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(examplesdir) etc-install: -@@if test '!' -f $(etcdir)/silcd.conf ; then \ @@@@ -582,7 +579,7 @@@@ @@SILC_DIST_CLIENT_TRUE@@install-data-hook: install-dirs sim-install doc-install etc-install @@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_TRUE@@install-data-hook: install-dirs generate-server-key sim-install doc-install toolkit-install examples-install etc-install -@@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_FALSE@@install-data-hook: install-dirs generate-server-key sim-install doc-install examples-install etc-install +@@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_FALSE@@install-data-hook: install-dirs sim-install doc-install examples-install @ 1.5 log @Update silc-server to 0.8. Patches contributed by Lubomir Sedlacik in PR 15779 Changes from 0.7.9 to 0.8: ========================== * Removed 0.6.x backwards support. * 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). Affected file in * Added `user_count' to the SilcChannelEntry which now tells the number of users on the channel. The user count is now saved in normal server of global channels as well. * Added following new config file settings: channel_rekey_secs, key_exchange_rekey, key_exchange_pfs, key_exchange_timeout, conn_auth_timeout, connections_max, links_max. Implemented all the new config settings handling in the server. Optimized the use of SKE Mutual flag usage. Use it only if connection authentication protocol is not based in public key authentication. * Added new configuration options and blocks: keepalive_secs, reconnect_count, reconnect_interval, reconnect_interval_max, reconnect_keep_trying and require_reverser_lookup. Added ConnectionParam block, and implemented the connection parameters when connecting as initiator and when accepting connections as responder. * Splitted the doc/example_silcd.conf.in. Separated the crypto algorithm parts and created new file silcalgs.conf, that is now included from the example_silcd.conf.in. * Optimized the silc_server_connect_to_router_second to take the connection configuration object from the SilcServerConnection object instead of finding it during the connecting phase. Added the configuration object to SilcServerConnection struct. * Fixed the public key authentication to allocate always the destination signature buffer instead of using static buffer. * 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. * Merged the new SILC Config library, with the server parsing support. Read the header file silcconfig.h or the toolkit documentation for the news. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2002/02/02 10:31:22 hubertf Exp $ d3 3 a5 3 --- Makefile.in.orig Fri Mar 1 11:26:19 2002 +++ Makefile.in Fri Mar 1 18:58:44 2002 @@@@ -527,11 +527,7 @@@@ d10 1 a10 1 - -mkdir -p $(modulesdir) d14 1 d18 1 a18 1 @@@@ -544,8 +540,8 @@@@ d24 2 a25 2 + $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf $(docdir)/silcd.conf.default + $(INSTALL_DATA) $(srcdir)/doc/silcalgs.conf $(docdir)/silcalgs.conf.default d29 15 a43 1 @@@@ -579,7 +575,7 @@@@ d48 1 a48 1 +@@SILC_DIST_CLIENT_FALSE@@@@SILC_DIST_TOOLKIT_FALSE@@install-data-hook: install-dirs doc-install examples-install @ 1.4 log @ Update silc-server from 0.7.6 to 0.7.8. Changes: this release includes many patches which fix various problems ending in crashing the server. upgrade is strongly recommended. 0.7.7: This server attempts to fix various crash bugs, for example one crash relating to BAN command is fixed. 0.7.8: Another quick bugfix to fix the descync problems of normal SILC server when it connects to SILC router. The descyning could happen if there were a lot of channels, like we had on Sunday and Monday after being slashdotted. Upgrading is strongly recommended if you are running a server that is connected to a router. Took me only 6 hours to find the problem... Patch submitted by Lubomir Sedlacik in PR 15416 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2002/01/26 14:43:18 hubertf Exp $ d3 3 a5 3 --- Makefile.in.orig Mon Jan 28 23:16:47 2002 +++ Makefile.in Tue Jan 29 16:12:23 2002 @@@@ -528,25 +528,12 @@@@ a13 8 - -generate-server-key: - -@@if test '!' -f $(etcdir)/silcd.pub ; then \ - $(sbindir)/silcd -C $(etcdir); \ - fi - -sim-install: - -$(INSTALL_DATA) $(srcdir)/lib/silcsim/*.so $(modulesdir)/ d15 3 d24 1 d28 1 a28 3 @@@@ -560,19 +547,8 @@@@ $(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(docdir)/examples/ $(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/ a29 11 -etc-install: - -@@if test '!' -f $(etcdir)/silcd.conf ; then \ - $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \ - $(etcdir)/silcd.conf; \ - chmod go= $(etcdir)/silcd.conf; \ - fi - -@@if test '!' -f $(etcdir)/silc.conf ; then \ - $(INSTALL_DATA) $(srcdir)/doc/example_silc.conf \ - $(etcdir)/silc.conf; \ - fi - d31 3 a33 2 -@@SILC_DIST_CLIENT_FALSE@@install-data-hook: install-dirs generate-server-key sim-install doc-install examples-install etc-install +@@SILC_DIST_CLIENT_FALSE@@install-data-hook: install-dirs doc-install examples-install @ 1.3 log @Update silc-server to 0.7.6: 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 in PR 15373 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2001/12/17 00:43:11 hubertf Exp $ d3 2 a4 2 --- Makefile.in.orig Tue Jan 22 20:40:58 2002 +++ Makefile.in d21 1 a21 1 - $(INSTALL_DATA) $(srcdir)/lib/silcsim/*.so $(modulesdir)/ @ 1.2 log @update the silc-server package to version 0.7.1. Submitted by Lubomir Sedlacik 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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $ d3 2 a4 2 --- Makefile.in.orig Sun Dec 9 21:24:29 2001 +++ Makefile.in Sun Dec 9 23:09:26 2001 d21 1 a21 1 - -cp -fR $(srcdir)/lib/silcsim/modules/*.so $(modulesdir)/ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- Makefile.in.orig Sun Nov 11 18:02:38 2001 +++ Makefile.in Tue Nov 13 18:42:52 2001 @@@@ -511,25 +511,12 @@@@ d32 3 a34 3 @@@@ -537,19 +524,8 @@@@ $(INSTALL_DATA) $(srcdir)/INSTALL $(docdir)/ $(INSTALL_DATA) $(srcdir)/TODO $(docdir)/ d48 2 a49 2 -@@SILC_DIST_CLIENT_FALSE@@install-data-hook: install-dirs generate-server-key sim-install doc-install etc-install +@@SILC_DIST_CLIENT_FALSE@@install-data-hook: install-dirs doc-install @ 1.1.1.1 log @Add silc-server 0.6.4: SILC (Secure Internet Live Conferencing) is a protocol which provides secure conferencing services in the Internet over insecure channel. Contributed by Lubomir Sedlacik in PR 14562 @ text @@