summaryrefslogtreecommitdiff
path: root/chat/silc-server/patches/patch-ab
blob: ae04e9463fc20167901e22ef351843564e7f5270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
$NetBSD: patch-ab,v 1.6 2002/06/21 16:00:14 jschauma Exp $

--- 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 @@
 	#
 	# Server name (FQDN)
 	#
-	hostname = "lassi.kuo.fi.ssh.com";
+	hostname = "localhost";
 
 	#
 	# 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 @@
 	#
 	# Geographic location
 	#
-	Location = "Kuopio, Finland";
+	Location = "Generic City, Generic Country";
 
 	#
 	# Full admin name
@@ -191,8 +191,8 @@
 	# 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
@@ -205,7 +205,7 @@
 	#
 	# Specifies the text file displayed on client connection
 	#
-	#MotdFile = "@ETCDIR@/motd.txt";
+	MotdFile = "@ETCDIR@/motd.txt";
 
 	#
 	# Pid file
@@ -232,7 +232,7 @@
 	# 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
@@ -391,9 +391,9 @@
 # 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.key";
 };
@@ -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.
 #
-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
@@ -452,17 +452,17 @@
 # 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.key";
-	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.key";
+#	Params = "normal";
+#	Initiator = true;
+#	#BackupHost = "10.2.1.6";
+#	#BackupPort = 706;
+#	#BackupLocal = true;
+#};
 
 #
 # Denied connections