-
Notifications
You must be signed in to change notification settings - Fork 0
/
sbbs.ini
298 lines (280 loc) · 9.65 KB
/
sbbs.ini
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
; $Id: sbbs.ini,v 1.71 2015/10/04 23:58:30 deuce Exp $
; Synchronet BBS Initialization File
; $SBBSCTRL/sbbs.$HOSTNAME.ini, if it exists, will be loaded instead of sbbs.ini.
; sbbs[.exe] command-line options, if specified, will override these settings.
; See http://wiki.synchro.net/config:sbbs.ini for more details on format and supported values
[Global]
; Override system address for this instance (optional):
Hostname=
; IP address of network interface to bind to (defaults to ANY/ALL interfaces):
Interface=
; Override the SBBSCTRL environment variable (optional):
CtrlDirectory=
; Override the default system "temp" directory (optional):
; If you do override this, do NOT use the system-wide temp dir (ie: /tmp or
; windows\temp... use a subdirectory. Synchronet assumes it is the only user
; of this temp dir.
TempDirectory=
; Increase this value to decrease semaphore file checking frequency (actually an interval):
SemFileCheckFrequency=2 ; seconds
; Set the number of times a bind will be attempted for each port.
; increase this if you get errors binding to ports on reloads
BindRetryCount=2
; Delay between bind retries
BindRetryDelay=15
; Highest log level to actually log/print (ignore all higher/less-severe log entries):
; This log level may be overridden for each server/service
; Supported log levels in decreasing severity (ala syslog):
; Emergency, Alert, Critical, Error, Warning, Notice, Informational, Debugging
LogLevel=Informational
; JavaScript values can be specified here *and* in server-specific sections
; JavaScript values specified in server-specific sections will over-ride the global values
; Maximum allocation of memory per JS run-time:
JavaScriptMaxBytes = 8M
; Maximum stack size per JS context:
JavaScriptContextStack = 16K
; Maximum number of ticks (100ms) before auto-termination of script:
JavaScriptTimeLimit = 864000
; Garbage Collection interval (in ticks):
JavaScriptGcInterval = 100
; Time-slice yield interval (in ticks):
JavaScriptYieldInterval = 10000
; Comma-separated list of load paths (relative to exec or mods directories):
JavaScriptLoadPath = load
; Failed login-attempt tracking, throttling, logging, and filtering:
LoginAttemptDelay = 5000
LoginAttemptThrottle = 1000
LoginAttemptHackThreshold = 10
LoginAttemptFilterThreshold = 0
[BBS] Terminal Server
; Set to 'false' to disable Telnet/Rlogin/Event server:
AutoStart=true
; Set to IP address of network interface (or blank for default):
TelnetInterface=
RLoginInterface=
SSHInterface=
; TCP port for Telnet server:
TelnetPort=2323
; TCP port for RLogin server:
RLoginPort=513
; TCP port for Secure Shell (SSH) server:
SSHPort=2222
; This server handles this range of BBS nodes:
; LastNode should not be higher than the number of nodes configured in SCFG->Nodes
FirstNode=1
LastNode=4
; Windows only:
; Increase this value to decrease the frequency of forced CPU time-slice yields in DOS externals:
; NOTE: this configuration knob has been *moved* to YieldInterval in exec/sbbsexec.ini
; ExternalYield=10
; Sound (*.wav) files to play on specific events:
AnswerSound=
HangupSound=
; Unix only:
; Must install install/termcap or terminfo to use the following TERM setting:
ExternalTermANSI=ansi-bbs
ExternalTermDumb=dumb
; To change the default dosemu/doscmd path, uncomment and set:
DOSemuPath=/usr/bin/dosemu
; At what size to send the current output buffer regardless of timeout
; ie: Send output whenever there are at least this many bytes waiting.
; This should definately not be higher than the MTU.
;
; On Linux and BSD (Any platform which supports the TCP_MAXSEG socket opt)
; This can (and probably should) be set to zero to automagically set the
; highwater mark to the MSS and ensure no single call to send() is larger
; than this.
OutbufHighwaterMark=1024
; Timout to wait for output buffer to fill (Milliseconds)
; If there is ANY data in the output buffer after waiting this long, send
; immediately.
; The faster your system, the lower this can be.
; If this value is too low, remote connections will see many small updates and
; the connection will appear to be slow while displaying menus.
; If this value is too high, remote connections will appear to be choppy,
; and echoing will seem slow (ie: When entering a message, your text
; will appear on your screen in chunks)
; Frobbing this value can provide hours of pointless entertainment.
OutbufDrainTimeout=20
; Supported options (separated with |):
; XTRN_MINIMIZED
; AUTO_LOGON
; DEBUG_TELNET
; SYSOP_AVAILABLE
; ALLOW_SSH
; ALLOW_RLOGIN
; NO_QWK_EVENTS
; NO_TELNET_GA
; NO_EVENTS
; NO_HOST_LOOKUP
; NO_RECYCLE
; GET_IDENT
; NO_JAVASCRIPT
; NO_DOS
; MUTE
Options = XTRN_MINIMIZED | SYSOP_AVAILABLE | ALLOW_SSH
[Mail] SMTP/POP3 Mail Server
AutoStart=false
MaxClients=10
MaxInactivity=120
Interface=
LinesPerYield=10
MaxDeliveryAttempts=50
MaxRecipients=100
MaxMsgSize=20MB
MaxMsgsWaiting=100
RescanFrequency=3600
SMTPPort=25
SubmissionPort=587
POP3Port=110
DefaultCharset=IBM437
DefaultUser=sysop
DNSBlacklistHeader=X-DNSBL
DNSBlacklistSubject=SPAM
RelayServer=
RelayPort=25
; The following 2 keys are used if the RelayServer requires authentication (SMTP AUTH)
; Must also set one of the RELAY_AUTH options
RelayUsername=
RelayPassword=
DNSServer=
POP3Sound=
InboundSound=
OutboundSound=
ConnectTimeout=30
; Supported options (separated with |):
; DEBUG_RX_HEADER - Log header fields of received mail messages
; DEBUG_RX_BODY - Leave body text of received mail messages in temp directory forever
; ALLOW_POP3 - Enable the POP3 server
; DEBUG_TX - Log all transmissions sent to remote clients/servers
; DEBUG_RX_RSP - Log responses received from remote clients/servers
; RELAY_TX - Use external SMTP relay server for sending mail
; DEBUG_POP3 - Log details from POP3 sessions
; ALLOW_RX_BY_NUMBER - Allow mail received by user number (e.g. "1@yourbbs.com")
; NO_NOTIFY - Do not send telegrams on mew email receipt
; ALLOW_SYSOP_ALIASES - Receive mail sent to built-in sysop aliases (i.e. "sysop" and "postmaster")
; USE_SUBMISSION_PORT - Listen on the "MSA" service port for mail submissions
; NO_HOST_LOOKUP - Do not look-up hostnames of connected clients
; USE_TCP_DNS - Use TCP (instead of UDP) for DNS MX record queries
; NO_SENDMAIL - Disable sendmail thread
; ALLOW_RELAY - Allow authenticated users to relay mail
; SMTP_AUTH_VIA_IP - Authenticate SMTP users via IP address
; DNSBL_REFUSE - Refuse mail session from blacklisted IPs
; DNSBL_IGNORE - Ignore (pretend to receive) mail from blacklisted IPs
; DNSBL_BADUSER - Report recipient failure for mail from blacklisted IPs
; DNSBL_CHKRECVHDRS - Check all "Received" header fields for blacklisted IPs
; DNSBL_THROTTLE - Throttle mail sessions from blacklisted IPs
; DNSBL_SPAMHASH - Calculate and store hashes of messages (SPAM) from blacklisted IPs
; SEND_INTRANSIT - Send mail even when flaggeed as 'in-transit'
; RELAY_AUTH_PLAIN - Use PLAIN SMTP authentication when relaying mail
; RELAY_AUTH_LOGIN - Use LOGIN SMTP authentication when relaying mail
; RELAY_AUTH_CRAM_MD5 - Use CRAM MD5 SMTP authentication when relaying mail
; NO_AUTO_EXEMPT - Don't automatically DNSBL-exempt recipient e-mail addresses
; NO_RECYCLE - Don't allow server recycles
; MUTE - Don't play sound files
Options=ALLOW_POP3
[FTP] FTP Server
AutoStart=false
Port=21
MaxClients=10
MaxInactivity=300
QwkTimeout=600
Interface=
; Passive transfer settings to work-around broken/stupid firewall/NAT devices
; see docs/tcpip_faq.html for details
; the LOOKUP_PASV_IP option can be useful for dynamic IPs
PasvIpAddress=0.0.0.0
PasvPortLow=1024
PasvPortHigh=65535
; Sound/wave files to play on specific events (Windows only):
AnswerSound=
HangupSound=
HackAttemptSound=
; Dynamically generated index files
IndexFileName=00index
HtmlIndexFile=00index.html
HtmlIndexScript=ftp-html.js
; Supported options (separated with |):
; DEBUG_RX
; DEBUG_DATA
; INDEX_FILE
; DEBUG_TX
; ALLOW_QWK
; NO_LOCAL_FSYS
; DIR_FILES
; KEEP_TEMP_FILES
; HTML_INDEX_FILE
; LOOKUP_PASV_IP
; NO_HOST_LOOKUP
; NO_RECYCLE
; NO_JAVASCRIPT
; MUTE
Options=INDEX_FILE | HTML_INDEX_FILE | ALLOW_QWK
[Web] Web (HTTP) Server
AutoStart=true
Interface=
Port=8080
TLSInterface=
TLSPort=8443
MaxClients=150
RootDirectory=../web/root
ErrorDirectory=error
IndexFileNames=index.html,index.ssjs,index.xjs
CGIDirectory=cgi-bin
CGIExtensions=.cgi
DefaultCGIContent=text/plain
Authentication=Digest,Basic
JavaScriptExtension=.ssjs
MaxInactivity=120
MaxCgiInactivity=120
; Sets the base name of the HTTP access log files,
; the current date and ".log" are appended.
; Set to empty string to use default value ("../data/logs/http-")
; Only created/appended if the HTTP_LOGGING option flag is enabled
HttpLogFile=
; Supported options (separated with |):
; DEBUG_RX
; DEBUG_TX
; VIRTUAL_HOSTS
; NO_CGI
; HTTP_LOGGING
; NO_HOST_LOOKUP
; NO_RECYCLE
; GET_IDENT
; NO_JAVASCRIPT
; MUTE
; ALLOW_TLS
Options=NO_HOST_LOOKUP | ALLOW_TLS
[Services]
AutoStart=true
; Override the global/default values here:
Interface=
AnswerSound=
HangupSound=
; Supported options (separated with |):
; NO_HOST_LOOKUP
; MUTE
Options=NO_HOST_LOOKUP
[UNIX]
; User/group name to run as
;User=admin
;Group=wheel
; Run in background:
Daemonize=False
; File to create/write-to with process identifier (when daemonized)
PidFile=/var/run/sbbs.pid
; System log (syslog) facility to use (when daemonized)
; 1 = LOCAL1
; 2 = LOCAL2
; .
; .
; .
; S = Use standard facilities - be sure you understand the
; consequences of enabling this!
; man syslog.conf(5) for more information.
; Defaults to using the USER facility.
LogFacility=User
; syslog identity to use (when daemonized)
LogIdent=synchronet
; Default file creation mask:
umask=077