2009-11-02 16:05:39 +00:00
|
|
|
[general]
|
|
|
|
|
|
|
|
; domains: string: Comma separated list of domains serviced by the server
|
|
|
|
; This parameter is required
|
|
|
|
;domains=
|
|
|
|
|
|
|
|
; dialback_secret: string: Dialback key to be used when authenticating with foreign domains
|
|
|
|
; A random one will be generated if missing
|
|
|
|
;dialback_secret=
|
|
|
|
|
|
|
|
; restricted_resources: string: Comma separated list of restricted resource names
|
|
|
|
; Users won't be allowed to use these resources or any other resource name starting
|
|
|
|
; with it
|
|
|
|
;restricted_resources=
|
|
|
|
|
|
|
|
; s2s_tlsrequired: boolean: Stream encryption is required on all server to server streams
|
|
|
|
; Defaults to no
|
|
|
|
;s2s_tlsrequired=
|
|
|
|
|
2010-02-18 12:21:28 +00:00
|
|
|
; s2s_offerfeatures: boolean: Offer RFC 3920 version 1 and features on incoming
|
|
|
|
; server to server streams requesting it
|
|
|
|
; This option is ignored on streams not advertising version 1 in stream start
|
|
|
|
; If set to 'no' this parameter will override any other stream encryption option
|
|
|
|
; Defaults to yes
|
|
|
|
;s2s_offerfeatures=
|
|
|
|
|
2009-11-02 16:05:39 +00:00
|
|
|
; c2s_tlsrequired: boolean: Stream encryption is required on all client to server streams
|
|
|
|
; Defaults to no
|
|
|
|
;c2s_tlsrequired=
|
|
|
|
|
2009-11-13 11:36:05 +00:00
|
|
|
; c2s_allowunsecureplainauth: boolean: Allow user plain password authentication on
|
|
|
|
; unsecured stream
|
|
|
|
; Defaults to no
|
|
|
|
;c2s_allowunsecureplainauth=
|
|
|
|
|
|
|
|
; c2s_oldstyleauth: boolean: Enable old style (XEP 0078) user authentication
|
|
|
|
; Defaults to yes
|
|
|
|
;c2s_oldstyleauth=
|
|
|
|
|
2009-11-02 16:05:39 +00:00
|
|
|
; stream_readbuffer: integer: The length of the stream read buffer
|
|
|
|
; Defaults to 8192 if missing or invalid. Minimum allowed value is 1024
|
|
|
|
;stream_readbuffer=8192
|
|
|
|
|
|
|
|
; stream_parsermaxbuffer: integer: The maximum length of an incomplete xml allowed
|
|
|
|
; in a stream parser's buffer
|
|
|
|
; Defaults to 8192 if missing or invalid. Minimum allowed value is 1024
|
|
|
|
;stream_parsermaxbuffer=8192
|
|
|
|
|
|
|
|
; stream_restartcount: integer: The maximum value for stream restart counter
|
|
|
|
; Defaults to 2 if missing or invalid
|
|
|
|
; Minimum allowed value is 1, maximum allowed value is 10
|
|
|
|
;stream_restartcount=2
|
|
|
|
|
|
|
|
; stream_restartupdateinterval: integer: The interval, in milliseconds, to increase a
|
|
|
|
; stream's current restart counter (not exceeding the stream_restartcount value)
|
|
|
|
; Defaults to 15000 if missing or invalid
|
|
|
|
; Minimum allowed value is 5000, maximum allowed value is 300000
|
|
|
|
;stream_restartupdateinterval=15000
|
|
|
|
|
|
|
|
; stream_starttimeout: integer: The interval, in milliseconds, allowed for a remote
|
|
|
|
; party to send the stream start tag
|
2011-02-25 10:53:23 +00:00
|
|
|
; Defaults to 20000 if missing or invalid
|
|
|
|
; Minimum allowed value is 10000, maximum allowed value is 60000
|
|
|
|
;stream_starttimeout=20000
|
2009-11-02 16:05:39 +00:00
|
|
|
|
|
|
|
; stream_setuptimeout: integer: Overall stream setup interval in milliseconds. The timer
|
|
|
|
; will stop when the stream is authenticated
|
2011-02-25 09:58:56 +00:00
|
|
|
; Defaults to 120000 if missing or invalid
|
2011-02-25 12:21:04 +00:00
|
|
|
; Minimum allowed value is 60000, maximum allowed value is 600000
|
2011-02-25 09:58:56 +00:00
|
|
|
;stream_setuptimeout=120000
|
2009-11-02 16:05:39 +00:00
|
|
|
|
|
|
|
; stream_connecttimeout: integer: The interval, in milliseconds, allowed for an
|
2011-03-03 13:02:29 +00:00
|
|
|
; outgoing stream to make a TCP connection to a remote host
|
2011-02-25 09:58:56 +00:00
|
|
|
; Defaults to 60000 if missing or invalid
|
|
|
|
; Minimum allowed value is 1000, maximum allowed value is 120000
|
|
|
|
;stream_connecttimeout=60000
|
2009-11-02 16:05:39 +00:00
|
|
|
|
2011-03-03 13:02:29 +00:00
|
|
|
; stream_srvtimeout: integer: The timeout interval, in milliseconds, for SRV query
|
|
|
|
; Defaults to 30000 if missing or invalid
|
|
|
|
; Minimum allowed value is 10000, maximum allowed value is 120000
|
|
|
|
;stream_srvtimeout=30000
|
|
|
|
|
2009-11-10 15:56:07 +00:00
|
|
|
; stream_idletimeout: integer: The interval, in milliseconds, allowed for a
|
|
|
|
; server to server stream to be idle
|
|
|
|
; Defaults to 3600000 (1h) if missing or invalid
|
|
|
|
; Minimum allowed value is 600000 (10min), maximum allowed value is 21600000 (6h)
|
|
|
|
;stream_idletimeout=3600000
|
|
|
|
|
2009-11-02 16:05:39 +00:00
|
|
|
; entitycaps: boolean: Enable entity capabilities cache.
|
|
|
|
; If enabled entity capabilities will be requested and cached each time a presence
|
|
|
|
; stanza is received
|
|
|
|
; Defaults to enable
|
|
|
|
;entitycaps=enable
|
|
|
|
|
2011-08-29 14:09:32 +00:00
|
|
|
; entitycaps_file: string: Entity capabilities cache file
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; If the file changes on reload entity capabilities will be saved in the new
|
|
|
|
; location, the old file will not be deleted
|
|
|
|
; Defaults to 'jabberentitycaps.xml' located in current configuration directory
|
|
|
|
;entitycaps_file=
|
|
|
|
|
2009-11-09 14:01:47 +00:00
|
|
|
; workers: integer: The number of worker threads processing stanzas received by streams
|
|
|
|
; Minimum allowed value is 1, maximum allowed value is 10
|
|
|
|
; Defaults to 1
|
|
|
|
;workers=1
|
|
|
|
|
|
|
|
; worker_priority: string: Worker threads priority
|
|
|
|
; Allowed values: lowest, low, normal, high, highest
|
|
|
|
; Defaults to normal
|
|
|
|
;worker_priority=normal
|
|
|
|
|
2010-03-03 09:51:02 +00:00
|
|
|
; dump_iq: boolean: Dump the iq stanza in a 'data' parameter of dispatched jabber.iq messages
|
|
|
|
; Defaults to no
|
|
|
|
;dump_iq=no
|
|
|
|
|
2010-07-16 11:11:50 +00:00
|
|
|
; compression_formats: string: Comma separated list of supported compression formats
|
|
|
|
; This parameter configures the formats to be offered on incoming streams
|
|
|
|
; This parameter is not applied on reload
|
|
|
|
; Set it to empty string to disable stream compression on incoming streams
|
|
|
|
; Defaults to zlib if missing
|
|
|
|
;compression_formats=zlib
|
|
|
|
|
2011-02-23 12:40:40 +00:00
|
|
|
; authcluster: boolean: True to authenticate incoming cluster stream requests
|
|
|
|
; If enabled, an user.auth message will be enqueued to request authentication
|
|
|
|
; If disabled, cluster streams will be automatically accepted
|
|
|
|
; Defaults to disable
|
|
|
|
;authcluster=disable
|
|
|
|
|
2009-11-02 16:05:39 +00:00
|
|
|
; printxml: boolean/string: Print sent/received XML data to output if debug
|
|
|
|
; level is at least 9
|
|
|
|
; Allowed values are boolean values or 'verbose' string
|
|
|
|
; If verbose is specified, XML elements' children, attributes or text will be
|
|
|
|
; shown on separate lines
|
|
|
|
; Defaults to no
|
|
|
|
;printxml=no
|
|
|
|
|
|
|
|
|
|
|
|
;[listener name]
|
|
|
|
; This section configures a connection listener
|
|
|
|
; This section may repeat to configure more listeners
|
2010-09-16 08:46:04 +00:00
|
|
|
; Section name must start with 'listener' keyword folowed by a space (not TAB) character
|
|
|
|
; E.g. for a listener named 'serverconn' the section name must be 'listener serverconn'
|
2009-11-02 16:05:39 +00:00
|
|
|
|
|
|
|
; enable: boolean: Enable or disable this listener
|
|
|
|
; Defaults to false if missing or invalid
|
|
|
|
;enable=
|
|
|
|
|
|
|
|
; type: string: The type of the expected incoming connection
|
|
|
|
; This parameter is required
|
|
|
|
; Allowed values:
|
|
|
|
; c2s Client to server connection
|
|
|
|
; s2s Server to server connection
|
2009-11-04 14:29:28 +00:00
|
|
|
; comp External component connection
|
2009-11-02 16:05:39 +00:00
|
|
|
;type=
|
|
|
|
|
|
|
|
; address: string: IP address to listen
|
|
|
|
; Listen on all available interfaces if empty or invalid
|
|
|
|
;address=
|
|
|
|
|
|
|
|
; port: integer: The port to listen
|
|
|
|
; These are the default values for some known types (only if this parameter is missing)
|
|
|
|
; c2s 5222
|
|
|
|
; s2s 5269
|
2009-11-13 11:36:05 +00:00
|
|
|
; There is no default value for external component listeners or c2s SSL listeners
|
2009-11-02 16:05:39 +00:00
|
|
|
;port=
|
|
|
|
|
|
|
|
; backlog: integer: Maximum length of the queue of pending connections
|
|
|
|
; Set it to 0 for system maximum
|
|
|
|
; Defaults to 5 if missing or invalid
|
|
|
|
;backlog=5
|
2009-11-13 11:36:05 +00:00
|
|
|
|
|
|
|
; sslcontext: string: The SSL context of a c2s listener using encryption
|
|
|
|
; The context will be used to encrypt the socket before starting a new stream
|
|
|
|
; This parameter is ignored if type is not c2s
|
|
|
|
;sslcontext=
|
|
|
|
|