head 1.9; access; symbols pkgsrc-2026Q1:1.9.0.126 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.124 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.122 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.120 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.118 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.116 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.114 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.112 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.110 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.108 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.106 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.104 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.102 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.100 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.98 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.96 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.94 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.92 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.90 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.88 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.86 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.84 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.82 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.78 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.58 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.80 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.76 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.74 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.72 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.70 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.68 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.66 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.64 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.62 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.60 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.56 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.54 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.52 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.50 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.48 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.46 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.44 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.42 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.40 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.38 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.36 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.34 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.32 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.30 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.28 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.26 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.24 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.22 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.20 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.18 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.16 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.14 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.12 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.10 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.8 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.6 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.4 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.2 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.8.0.60 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.58 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.56 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.54 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.52 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.50 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.48 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.46 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.44 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.42 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.40 pkgsrc-2008Q1:1.8.0.38 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.36 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.34 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.32 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.30 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.28 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.26 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.24 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.22 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.20 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.18 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.16 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.14 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.12 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.10 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.8 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.6 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.4 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.8.0.2 netbsd-1-6-1-base:1.8 netbsd-1-6:1.6.0.6 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.2 pkgviews-base:1.6 buildlink2:1.5.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.5 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2010.08.30.11.17.16; author adam; state Exp; branches; next 1.8; 1.8 date 2002.12.06.19.52.38; author salo; state Exp; branches; next 1.7; 1.7 date 2002.09.14.02.59.26; author hubertf; state Exp; branches; next 1.6; 1.6 date 2002.06.21.16.00.14; author jschauma; state Exp; branches; next 1.5; 1.5 date 2002.03.29.11.34.51; author rh; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2002.03.03.23.49.49; 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.28.21.29.17; 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.5.2.1 date 2002.06.23.18.41.13; author jlam; state Exp; branches; next ; 1.1.1.1 date 2001.11.30.23.33.34; author hubertf; state Exp; branches; next ; desc @@ 1.9 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$ --- doc/example_silcd.conf.in.orig 2008-10-25 13:59:17.000000000 +0000 +++ doc/example_silcd.conf.in @@@@ -186,7 +186,7 @@@@ ServerInfo { # # Server name (FQDN) # - hostname = "lassi.kuo.fi.ssh.com"; + hostname = "localhost"; # # Primary listener. Specify the IP address and the port to bind @@@@ -194,7 +194,7 @@@@ ServerInfo { # if the server is behind NAT. # Primary { - ip = "10.2.1.6"; + ip = "127.0.0.1"; # public_ip = "11.1.1.1"; port = 706; }; @@@@ -203,8 +203,7 @@@@ ServerInfo { # Secondary listener(s). If you need to bind your server into # several interfaces use the Secondary to specify the listener(s). # - #Secondary { ip = "10.2.1.60"; port = 706; }; - #Secondary { ip = "10.2.1.160"; port = 706; }; + Secondary { ip = "::1"; port = 706; }; # # ServerType field specifies the purpose of this server @@@@ -215,7 +214,7 @@@@ ServerInfo { # # Geographic location # - Location = "Kuopio, Finland"; + Location = "Generic City, Generic Country"; # # Full admin name @@@@ -231,8 +230,8 @@@@ ServerInfo { # Run SILC server as specific user and group. The server must be # initially run as root. # - User = "nobody"; - Group = "nobody"; + User = "silcd"; + Group = "silcd"; # # Public and private keys @@@@ -245,7 +244,7 @@@@ ServerInfo { # # Specifies the text file displayed on client connection # - #MotdFile = "@@ETCDIR@@/motd.txt"; + MotdFile = "@@ETCDIR@@/motd.txt"; # # Pid file @@@@ -278,7 +277,7 @@@@ Logging { # reduces memory usage. By default it is false and log files are # written with FlushDelay timeout. # - #QuickLogs = true; + QuickLogs = true; # FlushDelay tells log files update delay (seconds) in case you # have chosen buffering output. This setting has effect only if @@@@ -458,9 +457,9 @@@@ Client { # required. # Admin { - Host = "10.2.1.199"; - User = "priikone"; - Nick = "pekka"; + Host = "127.0.0.1"; + User = "admin"; + Nick = "admin"; Passphrase = "verysecret"; # PublicKey = "/path/to/the/public.pub"; }; @@@@ -520,17 +519,17 @@@@ ServerConnection { # backup router is in our cell then set the "BackupLocal" option to true. # If the backup router is in other cell then set it to false. # -RouterConnection { - Host = "10.2.1.100"; - Port = 706; - Passphrase = "verysecret"; - #PublicKey = "/path/to/the/public.pub"; - Params = "normal"; - Initiator = true; - #BackupHost = "10.2.1.6"; - #BackupPort = 706; - #BackupLocal = true; -}; +#RouterConnection { +# Host = "10.2.1.100"; +# Port = 706; +# Passphrase = "verysecret"; +# #PublicKey = "/path/to/the/public.pub"; +# Params = "normal"; +# Initiator = true; +# #BackupHost = "10.2.1.6"; +# #BackupPort = 706; +# #BackupLocal = true; +#}; # # Denied connections @ 1.8 log @An important note to all server users: The private key file format has changed due to a bug in the older code. When you run this server version it automatically changes your private key file to the correct format. The future versions of the SILC Server will not do that, so do not skip this version or you will need to generate new key pair after 0.9.11 is released. Also backup router bugs was fixed which caused several interesting decryption problems, so upgrading regardless if you are runinng normal server, backup router or primary router is strongly recommended. Changes from 0.9.9.1 to 0.9.10 ============================== * Added the config directive PublicKeyDir for the client block. * Extended the SILC_SERVER_LOG_ERROR macro to all available logging channels. * Load only files with .pub suffix in PublicKeyDir. * Fixed a typo in resuming code that fixed detach/resume code in server. * Fixed CMODE setting in server when founder mode was set. * Fixed wrong invite and ban list handling in server command reply. * Fixed CUMODE founder authentication in server to not check for client's public key since it's not supposed to do that. * Fixed backup router bugs: When backup resumes router and receives a CHANNEL_MESSAGE packet the backup must not act as router since the packet header decryption would be different. Also, when relaying packets to channel, do not re-encrypt packets on backup that came from the primary since the connection isn't really router-router connection. @ text @d3 3 a5 3 --- doc/example_silcd.conf.in.orig Sat Nov 30 15:09:21 2002 +++ doc/example_silcd.conf.in Fri Dec 6 19:04:31 2002 @@@@ -166,14 +166,14 @@@@ d14 2 a15 1 # the server. d20 1 d23 1 a23 2 @@@@ -181,8 +181,7 @@@@ d33 1 a33 1 @@@@ -193,7 +192,7 @@@@ d42 1 a42 1 @@@@ -209,8 +208,8 @@@@ d53 1 a53 1 @@@@ -223,7 +222,7 @@@@ d62 1 a62 1 @@@@ -255,7 +254,7 @@@@ d71 1 a71 1 @@@@ -435,9 +434,9 @@@@ d84 1 a84 1 @@@@ -496,17 +495,17 @@@@ @ 1.7 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-ab,v 1.6 2002/06/21 16:00:14 jschauma Exp $ d3 3 a5 3 --- doc/example_silcd.conf.in.orig Sat Sep 7 22:13:20 2002 +++ doc/example_silcd.conf.in Wed Sep 11 14:18:58 2002 @@@@ -147,14 +147,14 @@@@ d22 1 a22 1 @@@@ -162,8 +162,7 @@@@ d32 1 a32 1 @@@@ -174,7 +173,7 @@@@ d41 1 a41 1 @@@@ -190,8 +189,8 @@@@ d52 1 a52 1 @@@@ -204,7 +203,7 @@@@ d61 1 a61 1 @@@@ -236,7 +235,7 @@@@ d70 1 a70 1 @@@@ -402,9 +401,9 @@@@ d81 1 a81 1 # PublicKey = "/path/to/the/public.key"; d83 1 a83 22 @@@@ -427,13 +426,13 @@@@ # to true. For normal connections set it false. If it is set to true then # your server will be backup router. # -ServerConnection { - Host = "10.2.1.7"; - Passphrase = "verysecret"; - #PublicKey = "/path/to/the/public.key"; - Params = "normal"; - Backup = false; -}; +#ServerConnection { +# Host = "10.2.1.7"; +# Passphrase = "verysecret"; +# #PublicKey = "/path/to/the/public.key"; +# Params = "normal"; +# Backup = false; +#}; # # Configured router connections @@@@ -463,17 +462,17 @@@@ d91 1 a91 1 - #PublicKey = "/path/to/the/public.key"; d102 1 a102 1 +# #PublicKey = "/path/to/the/public.key"; @ 1.6 log @Add patch that escaped the last commit. Part of the update to 0.9.2 @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2002/03/29 11:34:51 rh Exp $ d3 3 a5 12 --- doc/example_silcd.conf.in.orig Thu May 30 16:09:43 2002 +++ doc/example_silcd.conf.in Tue Jun 18 01:27:59 2002 @@@@ -36,7 +36,7 @@@@ # This is the default path where to search modules. If omitted # built-in modules will be used. Built-in modules will also be # used if a module file cannot be located. - module_path = "@@MODULESDIR@@"; + module_path = ""; # If both passphrase and public key authentication is set for a # connection the public key authentication is the preferred one @@@@ -148,14 +148,14 @@@@ d22 2 a23 1 @@@@ -164,7 +164,7 @@@@ d26 1 a26 1 #Secondary { ip = "10.2.1.60"; port = 706; }; d32 1 a32 1 @@@@ -175,7 +175,7 @@@@ d41 2 a42 2 @@@@ -191,8 +191,8 @@@@ # Run SILC server as specific user and group. The server must be d52 1 a52 1 @@@@ -205,7 +205,7 @@@@ d61 1 a61 1 @@@@ -232,7 +232,7 @@@@ d68 1 a68 1 # FlushDelay tells log files update delay (seconds) in case you d70 1 a70 1 @@@@ -391,9 +391,9 @@@@ d83 3 a85 3 @@@@ -416,13 +416,13 @@@@ # to true. For normal connections set it false. If it is set to true then # this server will be backup router. d104 1 a104 1 @@@@ -452,17 +452,17 @@@@ @ 1.5 log @Update silc-server to 0.8.1. Update provided by the package maintainer, Lubomir Sedlacik in PR pkg/16099, thanks! Changes from 0.8 to 0.8.1 ========================= * IPv6 fixes. IPv6 should work without problems now. * Fixed a minor bug in looking up correct client entry in KICKED notify in server. * Don't change the topic if olod topic is same as new one. * Packet relaying is now done by router without any extra memory allocations. * Fixed the INVITE notify handling. It took wrong arguments as invite list and invite delete. * Added check for INVITE, TOPIC_SET, KICKED, CMODE_CHANGE notify types that particular action is allowed by the client. * 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 also. * Added checks for maximum packet length in server and in client library. * Added new configuration params: version_protocol, version_software and version_software_vendor to specify what version the remote host must at least be to be able to connect to server. The vendor string can be regex matched too. * Added new function silc_server_connection_allowed to check maximum number of allowed connections, and allowed versions for incoming connections. * Added logging of DISCONNECT packet message in the server. * Check for valid socket connection in client entries before sending any messages. Fixes a crash, but doesn't fix some other underlaying bug that is lurking there. * Added support for specifying multiple public keys for Client connection section in server configuration file. This makes it possible to accept multiple public keys from same host, or to make a section that accepts any incoming host, and have the accepted public keys listed in the section. * Added more error printing to logs in server code. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2002/03/03 23:49:49 hubertf Exp $ d3 2 a4 2 --- doc/example_silcd.conf.in.orig Sun Mar 17 14:39:17 2002 +++ doc/example_silcd.conf.in Wed Mar 27 21:05:25 2002 d14 1 a14 1 @@@@ -139,8 +139,8 @@@@ d16 1 a16 1 # Server FQDN and IP address a18 1 - ip = "10.2.1.6"; a19 2 + ip = "127.0.0.1"; port = 706; d22 19 a40 1 @@@@ -152,7 +152,7 @@@@ d49 1 a49 1 @@@@ -168,8 +168,8 @@@@ d60 1 a60 1 @@@@ -182,7 +182,7 @@@@ d69 1 a69 1 @@@@ -209,7 +209,7 @@@@ d78 1 a78 1 @@@@ -368,9 +368,9 @@@@ d91 1 a91 1 @@@@ -393,13 +393,13 @@@@ d112 1 a112 1 @@@@ -426,17 +426,17 @@@@ @ 1.5.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2002/06/21 16:00:14 jschauma Exp $ d3 2 a4 2 --- doc/example_silcd.conf.in.orig Thu May 30 16:09:43 2002 +++ doc/example_silcd.conf.in Tue Jun 18 01:27:59 2002 d14 1 a14 1 @@@@ -148,14 +148,14 @@@@ d16 1 a16 1 # Server name (FQDN) d19 1 d21 2 d25 1 a25 19 # Primary listener. Specify the IP address and the port to bind # the server. # Primary { - ip = "10.2.1.6"; + ip = "127.0.0.1"; port = 706; }; @@@@ -164,7 +164,7 @@@@ # several interfaces use the Secondary to specify the listener(s). # #Secondary { ip = "10.2.1.60"; port = 706; }; - #Secondary { ip = "10.2.1.160"; port = 706; }; + Secondary { ip = "::1"; port = 706; }; # # ServerType field specifies the purpose of this server @@@@ -175,7 +175,7 @@@@ d34 1 a34 1 @@@@ -191,8 +191,8 @@@@ d45 1 a45 1 @@@@ -205,7 +205,7 @@@@ d54 1 a54 1 @@@@ -232,7 +232,7 @@@@ d63 1 a63 1 @@@@ -391,9 +391,9 @@@@ d76 1 a76 1 @@@@ -416,13 +416,13 @@@@ d97 1 a97 1 @@@@ -452,17 +452,17 @@@@ @ 1.4 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-ab,v 1.3 2002/01/26 14:43:18 hubertf Exp $ d3 2 a4 2 --- doc/example_silcd.conf.in.orig Wed Feb 27 17:47:05 2002 +++ doc/example_silcd.conf.in Fri Mar 1 18:53:08 2002 d14 1 a14 1 @@@@ -123,37 +123,37 @@@@ d25 1 a25 6 # ServerType field specifies the purpose of this server # This is only a descriptive field. # - ServerType = "Test Server"; + ServerType = "NetBSD Test Server"; d30 1 a30 1 + Location = "Default City, Default Country"; d34 1 a34 11 # - Admin = "Foo T. Bar"; + Admin = "Root of All Evil"; # # Admin's email address # - AdminEmail = "foo-admin@@bar.com"; + AdminEmail = "root@@localhost"; # d45 1 a45 1 @@@@ -166,12 +166,12 @@@@ d54 3 d58 1 a58 10 - PidFile = "@@PIDFILE@@"; + PidFile = "/var/run/silcd.pid"; }; # @@@@ -193,7 +193,7 @@@@ # real-time. This causes a bit more CPU and HDD activity, but # reduces memory usage. (if unsure say true). # - QuickLogs = false; d61 3 a63 3 # # (Only if QuickLogs is false) @@@@ -327,9 +327,9 @@@@ d74 1 a74 1 # Publickey = "/path/to/the/public.key"; d76 1 a76 1 @@@@ -352,13 +352,13 @@@@ d83 1 a83 1 - #Publickey = "/path/to/the/public.key"; d90 1 a90 1 +# #Publickey = "/path/to/the/public.key"; d97 1 a97 1 @@@@ -385,17 +385,17 @@@@ d105 1 a105 1 - #Publickey = "/path/to/the/public.key"; d116 1 a116 1 +# #Publickey = "/path/to/the/public.key"; @ 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-ab,v 1.2 2001/12/28 21:29:17 hubertf Exp $ d3 141 a143 31 --- doc/example_silcd.conf.in.orig Mon Jan 14 23:03:37 2002 +++ doc/example_silcd.conf.in @@@@ -8,25 +8,27 @@@@ # Configured ciphers. # # Format: ::: +# Example: aes-256-cbc:/usr/local/lib/silc/aes.sim.so:32:16 # # If the cipher is builtin the maybe omitted. # [Cipher] -aes-256-cbc:@@MODULESDIR@@/aes.sim.so:32:16 -aes-192-cbc:@@MODULESDIR@@/aes.sim.so:24:16 -aes-128-cbc:@@MODULESDIR@@/aes.sim.so:16:16 -twofish-256-cbc:@@MODULESDIR@@/twofish.sim.so:32:16 -twofish-192-cbc:@@MODULESDIR@@/twofish.sim.so:24:16 -twofish-128-cbc:@@MODULESDIR@@/twofish.sim.so:16:16 -mars-256-cbc:@@MODULESDIR@@/mars.sim.so:32:16 -mars-192-cbc:@@MODULESDIR@@/mars.sim.so:24:16 -mars-128-cbc:@@MODULESDIR@@/mars.sim.so:16:16 -none:@@MODULESDIR@@/none.sim.so:0:0 +aes-256-cbc::32:16 +aes-192-cbc::24:16 +aes-128-cbc::16:16 +twofish-256-cbc::32:16 +twofish-192-cbc::24:16 +twofish-128-cbc::16:16 +mars-256-cbc::32:16 +mars-192-cbc::24:16 +mars-128-cbc::16:16 +none::0:0 d146 1 a146 197 # Configured hash functions. # # Format: ::: +# Example: sha1::64:20 # # If the hash function is builtin the maybe omitted. # @@@@ -39,6 +41,7 @@@@ # configured to the [hash] section. # # Format: :: +# Example: hmac-sha1-96:sha1:12 # [hmac] hmac-sha1-96:sha1:12 @@@@ -50,6 +53,7 @@@@ # Configured PKCS. # # Format: +# Example: rsa # [PKCS] rsa @@@@ -59,30 +63,34 @@@@ # run as root. # # Format: : +# Example: nobody:nobody # [Identity] -nobody:nobody +silcd:silcd # # Server's administrative information. # # Format: ::: +# Example: Kuopio, Finland:Test Server:Pekka Riikonen:priikone@@poseidon.pspt.fi # [AdminInfo] -Kuopio, Finland:Test Server:Pekka Riikonen:priikone@@poseidon.pspt.fi +Default Location:NetBSD Test Server:Root of All Evil:root@@localhost # # Server information. # -# Format: +::: +# Format: ::: +# Example: lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706 # [ServerInfo] -lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706 +localhost:127.0.0.1:Default Location:706 # # Server keys # -# Format: +: +# Format: : +# Example: /usr/local/silc/etc/silcd.pub:/usr/local/silc/etc/silcd.prv # [ServerKeys] @@ETCDIR@@/silcd.pub:@@ETCDIR@@/silcd.prv @@@@ -91,9 +99,10 @@@@ # Listenning ports. # # Format: :: +# Example: 10.2.1.6:10.2.1.6:706 # [ListenPort] -10.2.1.6:10.2.1.6:706 +127.0.0.1:127.0.0.1:706 # # Log files. @@@@ -120,9 +129,13 @@@@ # warninglogile:: # errorlogile:: # fatallogile:: +# Example: quicklogs:no: +# flushdelay:10: +# infologfile:/usr/local/silc/logs/silcd.log:10000 +# # [Logging] -quicklogs:no: +quicklogs:yes: flushdelay:300: infologfile:@@LOGSDIR@@/silcd.log:50000 warninglogfile:@@LOGSDIR@@/silcd_warnings.log:50000 @@@@ -136,6 +149,7 @@@@ # used to optimize the server and the connections.# # # Format: ::: +# Example: 1:100:100:100 # [ConnectionClass] 1:100:100:100 @@@@ -145,6 +159,7 @@@@ # Configured client connections. # # Format: :::: +# Example: :::706:1 # # The is either passphrase or file path to the public key # file. @@@@ -156,12 +171,13 @@@@ # Configured server administrator connections # # Format: :::: +# Example: 10.2.1.199:priikone:pekka:passwd:veryscret # # The is either passphrase or file path to the public key # file. # [AdminConnection] -10.2.1.199:priikone:pekka:passwd:veryscret +127.0.0.1:admin:admin:passwd:verysecret # # Configured server connections. @@@@ -173,6 +189,10 @@@@ # # Format: :::: # :: +# Example: 10.2.1.7:passwd:veryscret:706:1:1:0 +# 10.2.1.17:passwd:veryscret13:706:1:1:1 backup connection, that +# host will use this server +# as backup router. # # The is either passphrase or file path to the public key # file. If the connection is backup connection then set the ::::: # :::: # +# Example: 10.2.1.100:passwd:veryverysecret:706:1:1:1 +# 10.2.100.131:pubkey:/path/to/the/publickey:706:1:1:1 +# 10.2.100.100:pubkey:/path/to/the/publickey:706:1:1:0:10.2.1.6:706:1 # # The is either passphrase or file path to the public key # file. If you are the initiator of the connection then set the @@@@ -210,9 +229,6 @@@@ # If the backup router is in other cell then set it to value 0. # [RouterConnection] -#10.2.1.100:passwd:veryverysecret:706:1:1:1 -#10.2.100.131:pubkey:/path/to/the/publickey:706:1:1:1 -#10.2.100.100:pubkey:/path/to/the/publickey:706:1:1:0:10.2.1.6:706:1 # # Denied connections. @@@@ -220,22 +236,27 @@@@ # These connections are denied to connect our server. # # Format: :: +# Example: 10.2.1.99:0:Your connection has been denied # [DenyConnection] -#10.2.1.99:0:Your connection has been denied # # Message Of The Day # -# specify the text file containing the motd: +# Specify the text file containing the motd. # -#[motd] -#@@ETCDIR@@/motd.txt +# Format: +# Example: /usr/local/silc/etc/motd.txt +# +[motd] +@@ETCDIR@@/motd.txt # # Pid File # -# specify the pidfile where it will be written: +# Specify the pidfile where it will be written. # +# Format: +# Example: /var/run/silcd.pid [pid] -@@PIDFILE@@ +/var/run/silcd.pid @ 1.2 log @Update silc-server to 0.7.3. Patches sent by Lubomir Sedlacik in PR 15079. Changes in the silc-server package: - update to the silc-server package version 0.7.3 - patch-ab is no longer needed--it has been integratedinto distribution, patch-ac moved into its place - complete release notes can be found at: http://silcnet.org/txt/release-server.txt - complete changelog can be found at: http://silcnet.org/txt/changes-server.txt @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1.1.1 2001/11/30 23:33:34 hubertf Exp $ d3 2 a4 2 --- doc/example_silcd.conf.in.orig Thu Nov 29 21:23:19 2001 +++ doc/example_silcd.conf.in Sun Dec 9 23:47:33 2001 d59 1 a59 1 @@@@ -59,6 +63,7 @@@@ d63 1 a63 1 +# Example: silcd:silcd d66 4 a69 2 nobody:nobody @@@@ -67,22 +72,25 @@@@ d111 1 a111 1 @@@@ -107,12 +116,13 @@@@ d115 4 a118 1 +# Example: infologfile:/usr/local/silc/logs/silcd.log:10000 d121 6 a126 11 infologfile:@@LOGSDIR@@/silcd.log:10000 -#warninglogfile:@@LOGSDIR@@/silcd_warning.log:10000 -#errorlogfile:@@LOGSDIR@@/error.log:10000 -#fatallogfile:@@LOGSDIR@@/silcd_error.log: +warninglogfile:@@LOGSDIR@@/silcd_warning.log:10000 +errorlogfile:@@LOGSDIR@@/error.log:10000 +fatallogfile:@@LOGSDIR@@/silcd_error.log: # # Connection classes. @@@@ -121,6 +131,7 @@@@ d134 1 a134 1 @@@@ -130,6 +141,7 @@@@ d142 1 a142 1 @@@@ -141,12 +153,13 @@@@ d157 1 a157 1 @@@@ -158,6 +171,10 @@@@ d168 1 a168 1 @@@@ -165,10 +182,6 @@@@ d179 1 a179 1 @@@@ -181,6 +194,9 @@@@ d189 1 a189 1 @@@@ -195,9 +211,6 @@@@ d199 1 a199 1 @@@@ -205,22 +218,28 @@@@ d223 3 a225 3 -# Pid File +# Pidfile +# a227 1 -# specify the pidfile where it will be written: a229 1 # @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 31 a33 25 --- lib/Makefile.in.orig Wed Nov 7 20:16:45 2001 +++ lib/Makefile.in Sun Nov 11 20:23:05 2001 @@@@ -116,13 +116,12 @@@@ silcutil \ silcclient \ silcsftp \ - dotconf \ trq # zlib -SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp -DIST_SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp +SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcsftp +DIST_SUBDIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcsftp # SILC Library dirs SILCLIB_DIRS = \ @@@@ -134,8 +133,7 @@@@ silcske \ silcutil \ silcsftp \ - trq \ - dotconf + trq d35 41 d77 158 a234 1 # SILC Client Library dirs @ 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 @@