mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
Minor fixes in listeners options list
This commit is contained in:
parent
2a99af8cce
commit
650966ce2c
@ -677,12 +677,12 @@ Handles c2s connections.<BR>
|
|||||||
<TT>zlib</TT>
|
<TT>zlib</TT>
|
||||||
</DD><DT CLASS="dt-description"><B><TT>ejabberd_s2s_in</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>ejabberd_s2s_in</TT></B></DT><DD CLASS="dd-description">
|
||||||
Handles incoming s2s connections.<BR>
|
Handles incoming s2s connections.<BR>
|
||||||
Options: <TT>max_stanza_size</TT>
|
Options: <TT>max_stanza_size</TT>, <TT>shaper</TT>
|
||||||
</DD><DT CLASS="dt-description"><B><TT>ejabberd_service</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>ejabberd_service</TT></B></DT><DD CLASS="dd-description">
|
||||||
Interacts with an <A HREF="http://www.ejabberd.im/tutorials-transports">external component</A>
|
Interacts with an <A HREF="http://www.ejabberd.im/tutorials-transports">external component</A>
|
||||||
(as defined in the Jabber Component Protocol (<A HREF="http://xmpp.org/extensions/xep-0114.html">XEP-0114</A>).<BR>
|
(as defined in the Jabber Component Protocol (<A HREF="http://xmpp.org/extensions/xep-0114.html">XEP-0114</A>).<BR>
|
||||||
Options: <TT>access</TT>, <TT>hosts</TT>, <TT>max_fsm_queue</TT>,
|
Options: <TT>access</TT>, <TT>hosts</TT>, <TT>max_fsm_queue</TT>,
|
||||||
<TT>shaper</TT>, <TT>service_check_from</TT>
|
<TT>service_check_from</TT>, <TT>shaper</TT>
|
||||||
</DD><DT CLASS="dt-description"><B><TT>ejabberd_stun</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>ejabberd_stun</TT></B></DT><DD CLASS="dd-description">
|
||||||
Handles STUN Binding requests as defined in
|
Handles STUN Binding requests as defined in
|
||||||
<A HREF="http://tools.ietf.org/html/rfc5389">RFC 5389</A>.<BR>
|
<A HREF="http://tools.ietf.org/html/rfc5389">RFC 5389</A>.<BR>
|
||||||
@ -702,13 +702,10 @@ grow to. This should be increased if the server is going to handle
|
|||||||
lots of new incoming connections as they may be dropped if there is
|
lots of new incoming connections as they may be dropped if there is
|
||||||
no space in the queue (and ejabberd was not able to accept them
|
no space in the queue (and ejabberd was not able to accept them
|
||||||
immediately). Default value is 5.
|
immediately). Default value is 5.
|
||||||
|
</DD><DT CLASS="dt-description"><B><TT>captcha</TT></B></DT><DD CLASS="dd-description">
|
||||||
|
Simple web page that allows a user to fill a CAPTCHA challenge (see section <A HREF="#captcha">3.1.8</A>).
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{certfile, Path}</TT></B></DT><DD CLASS="dd-description"> Full path to a file containing the default SSL certificate.
|
</DD><DT CLASS="dt-description"><B><TT>{certfile, Path}</TT></B></DT><DD CLASS="dd-description"> Full path to a file containing the default SSL certificate.
|
||||||
To define a certificate file specific for a given domain, use the global option <TT>domain_certfile</TT>.
|
To define a certificate file specific for a given domain, use the global option <TT>domain_certfile</TT>.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{service_check_from, true|false}</TT></B></DT><DD CLASS="dd-description">
|
|
||||||
This option can be used with <TT>ejabberd_service</TT> only. It is
|
|
||||||
used to disable control on the from field on packets send by an
|
|
||||||
external components. The option can be either <TT>true</TT> or
|
|
||||||
<TT>false</TT>. The default value is <TT>true</TT> which conforms to <A HREF="http://xmpp.org/extensions/xep-0114.html">XEP-0114</A>.
|
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{hosts, [Hostname, ...], [HostOption, ...]}</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>{hosts, [Hostname, ...], [HostOption, ...]}</TT></B></DT><DD CLASS="dd-description">
|
||||||
The external Jabber component that connects to this <TT>ejabberd_service</TT>
|
The external Jabber component that connects to this <TT>ejabberd_service</TT>
|
||||||
can serve one or more hostnames.
|
can serve one or more hostnames.
|
||||||
@ -718,8 +715,6 @@ when attempt to connect to ejabberd: <TT>{password, Secret}</TT>.
|
|||||||
Note that you cannot define in a single <TT>ejabberd_service</TT> components of
|
Note that you cannot define in a single <TT>ejabberd_service</TT> components of
|
||||||
different services: add an <TT>ejabberd_service</TT> for each service,
|
different services: add an <TT>ejabberd_service</TT> for each service,
|
||||||
as seen in an example below.
|
as seen in an example below.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>captcha</TT></B></DT><DD CLASS="dd-description">
|
|
||||||
Simple web page that allows a user to fill a CAPTCHA challenge (see section <A HREF="#captcha">3.1.8</A>).
|
|
||||||
</DD><DT CLASS="dt-description"><B><TT>http_bind</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>http_bind</TT></B></DT><DD CLASS="dd-description">
|
||||||
This option enables HTTP Binding (<A HREF="http://xmpp.org/extensions/xep-0124.html">XEP-0124</A> and <A HREF="http://xmpp.org/extensions/xep-0206.html">XEP-0206</A>) support. HTTP Bind
|
This option enables HTTP Binding (<A HREF="http://xmpp.org/extensions/xep-0124.html">XEP-0124</A> and <A HREF="http://xmpp.org/extensions/xep-0206.html">XEP-0206</A>) support. HTTP Bind
|
||||||
enables access via HTTP requests to <TT>ejabberd</TT> from behind firewalls which
|
enables access via HTTP requests to <TT>ejabberd</TT> from behind firewalls which
|
||||||
@ -764,7 +759,7 @@ Default value: ’undefined’.
|
|||||||
</DD><DT CLASS="dt-description"><B><TT>{max_stanza_size, Size}</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>{max_stanza_size, Size}</TT></B></DT><DD CLASS="dd-description">
|
||||||
This option specifies an
|
This option specifies an
|
||||||
approximate maximum size in bytes of XML stanzas. Approximate,
|
approximate maximum size in bytes of XML stanzas. Approximate,
|
||||||
because it is calculated with the precision of one block of readed
|
because it is calculated with the precision of one block of read
|
||||||
data. For example <CODE>{max_stanza_size, 65536}</CODE>. The default
|
data. For example <CODE>{max_stanza_size, 65536}</CODE>. The default
|
||||||
value is <TT>infinity</TT>. Recommended values are 65536 for c2s
|
value is <TT>infinity</TT>. Recommended values are 65536 for c2s
|
||||||
connections and 131072 for s2s connections. s2s max stanza size
|
connections and 131072 for s2s connections. s2s max stanza size
|
||||||
@ -776,10 +771,13 @@ For example, if you want <TT>mod_foo</TT> to serve the URIs that start with <TT>
|
|||||||
and you also want <TT>mod_http_bind</TT> to serve the URIs <TT>/http-bind/</TT>,
|
and you also want <TT>mod_http_bind</TT> to serve the URIs <TT>/http-bind/</TT>,
|
||||||
use this option: <TT>{request_handlers, [{["a", "b"], mod_foo}, {["http-bind"], mod_http_bind}]}</TT>
|
use this option: <TT>{request_handlers, [{["a", "b"], mod_foo}, {["http-bind"], mod_http_bind}]}</TT>
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{service_check_from, true|false}</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>{service_check_from, true|false}</TT></B></DT><DD CLASS="dd-description">
|
||||||
By enabling this option, <TT>ejabberd</TT> allows the component to send packets with any arbitrary domain in the ’from’ attribute.
|
|
||||||
Note that <A HREF="http://xmpp.org/extensions/xep-0114.html">XEP-0114</A> requires that the domain must match the hostname of the component.
|
This option can be used with <TT>ejabberd_service</TT> only.
|
||||||
Only enable this option if you are completely sure you need to enable it.
|
<A HREF="http://xmpp.org/extensions/xep-0114.html">XEP-0114</A> requires that the domain must match the hostname of the component.
|
||||||
Default value: false.
|
If this option is set to <TT>false</TT>, <TT>ejabberd</TT> will allow the component
|
||||||
|
to send stanzas with any arbitrary domain in the ’from’ attribute.
|
||||||
|
Only use this option if you are completely sure about it.
|
||||||
|
The default value is <TT>true</TT>, to be compliant with <A HREF="http://xmpp.org/extensions/xep-0114.html">XEP-0114</A>.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{shaper, none|ShaperName}</TT></B></DT><DD CLASS="dd-description"> This option defines a
|
</DD><DT CLASS="dt-description"><B><TT>{shaper, none|ShaperName}</TT></B></DT><DD CLASS="dd-description"> This option defines a
|
||||||
shaper for the port (see section <A HREF="#shapers">3.1.6</A>). The default value
|
shaper for the port (see section <A HREF="#shapers">3.1.6</A>). The default value
|
||||||
is <TT>none</TT>.
|
is <TT>none</TT>.
|
||||||
|
@ -804,12 +804,12 @@ The available modules, their purpose and the options allowed by each one are:
|
|||||||
\texttt{zlib}
|
\texttt{zlib}
|
||||||
\titem{\texttt{ejabberd\_s2s\_in}}
|
\titem{\texttt{ejabberd\_s2s\_in}}
|
||||||
Handles incoming s2s connections.\\
|
Handles incoming s2s connections.\\
|
||||||
Options: \texttt{max\_stanza\_size}
|
Options: \texttt{max\_stanza\_size}, \texttt{shaper}
|
||||||
\titem{\texttt{ejabberd\_service}}
|
\titem{\texttt{ejabberd\_service}}
|
||||||
Interacts with an \footahref{http://www.ejabberd.im/tutorials-transports}{external component}
|
Interacts with an \footahref{http://www.ejabberd.im/tutorials-transports}{external component}
|
||||||
(as defined in the Jabber Component Protocol (\xepref{0114}).\\
|
(as defined in the Jabber Component Protocol (\xepref{0114}).\\
|
||||||
Options: \texttt{access}, \texttt{hosts}, \texttt{max\_fsm\_queue},
|
Options: \texttt{access}, \texttt{hosts}, \texttt{max\_fsm\_queue},
|
||||||
\texttt{shaper}, \texttt{service\_check\_from}
|
\texttt{service\_check\_from}, \texttt{shaper}
|
||||||
\titem{\texttt{ejabberd\_stun}}
|
\titem{\texttt{ejabberd\_stun}}
|
||||||
Handles STUN Binding requests as defined in
|
Handles STUN Binding requests as defined in
|
||||||
\footahref{http://tools.ietf.org/html/rfc5389}{RFC 5389}.\\
|
\footahref{http://tools.ietf.org/html/rfc5389}{RFC 5389}.\\
|
||||||
@ -833,13 +833,10 @@ This is a detailed description of each option allowed by the listening modules:
|
|||||||
lots of new incoming connections as they may be dropped if there is
|
lots of new incoming connections as they may be dropped if there is
|
||||||
no space in the queue (and ejabberd was not able to accept them
|
no space in the queue (and ejabberd was not able to accept them
|
||||||
immediately). Default value is 5.
|
immediately). Default value is 5.
|
||||||
|
\titem{captcha} \ind{options!http-captcha}
|
||||||
|
Simple web page that allows a user to fill a CAPTCHA challenge (see section \ref{captcha}).
|
||||||
\titem{\{certfile, Path\}} Full path to a file containing the default SSL certificate.
|
\titem{\{certfile, Path\}} Full path to a file containing the default SSL certificate.
|
||||||
To define a certificate file specific for a given domain, use the global option \term{domain\_certfile}.
|
To define a certificate file specific for a given domain, use the global option \term{domain\_certfile}.
|
||||||
\titem{\{service\_check\_from, true|false\}} \ind{options!service\_check\_from}
|
|
||||||
This option can be used with \term{ejabberd\_service} only. It is
|
|
||||||
used to disable control on the from field on packets send by an
|
|
||||||
external components. The option can be either \term{true} or
|
|
||||||
\term{false}. The default value is \term{true} which conforms to \xepref{0114}.
|
|
||||||
\titem{\{hosts, [Hostname, ...], [HostOption, ...]\}} \ind{options!hosts}
|
\titem{\{hosts, [Hostname, ...], [HostOption, ...]\}} \ind{options!hosts}
|
||||||
The external Jabber component that connects to this \term{ejabberd\_service}
|
The external Jabber component that connects to this \term{ejabberd\_service}
|
||||||
can serve one or more hostnames.
|
can serve one or more hostnames.
|
||||||
@ -849,8 +846,6 @@ This is a detailed description of each option allowed by the listening modules:
|
|||||||
Note that you cannot define in a single \term{ejabberd\_service} components of
|
Note that you cannot define in a single \term{ejabberd\_service} components of
|
||||||
different services: add an \term{ejabberd\_service} for each service,
|
different services: add an \term{ejabberd\_service} for each service,
|
||||||
as seen in an example below.
|
as seen in an example below.
|
||||||
\titem{captcha} \ind{options!http-captcha}
|
|
||||||
Simple web page that allows a user to fill a CAPTCHA challenge (see section \ref{captcha}).
|
|
||||||
\titem{http\_bind} \ind{options!http\_bind}\ind{protocols!XEP-0206: HTTP Binding}\ind{JWChat}\ind{web-based XMPP client}
|
\titem{http\_bind} \ind{options!http\_bind}\ind{protocols!XEP-0206: HTTP Binding}\ind{JWChat}\ind{web-based XMPP client}
|
||||||
This option enables HTTP Binding (\xepref{0124} and \xepref{0206}) support. HTTP Bind
|
This option enables HTTP Binding (\xepref{0124} and \xepref{0206}) support. HTTP Bind
|
||||||
enables access via HTTP requests to \ejabberd{} from behind firewalls which
|
enables access via HTTP requests to \ejabberd{} from behind firewalls which
|
||||||
@ -903,7 +898,7 @@ This is a detailed description of each option allowed by the listening modules:
|
|||||||
\titem{\{max\_stanza\_size, Size\}}
|
\titem{\{max\_stanza\_size, Size\}}
|
||||||
\ind{options!max\_stanza\_size}This option specifies an
|
\ind{options!max\_stanza\_size}This option specifies an
|
||||||
approximate maximum size in bytes of XML stanzas. Approximate,
|
approximate maximum size in bytes of XML stanzas. Approximate,
|
||||||
because it is calculated with the precision of one block of readed
|
because it is calculated with the precision of one block of read
|
||||||
data. For example \verb|{max_stanza_size, 65536}|. The default
|
data. For example \verb|{max_stanza_size, 65536}|. The default
|
||||||
value is \term{infinity}. Recommended values are 65536 for c2s
|
value is \term{infinity}. Recommended values are 65536 for c2s
|
||||||
connections and 131072 for s2s connections. s2s max stanza size
|
connections and 131072 for s2s connections. s2s max stanza size
|
||||||
@ -915,10 +910,13 @@ This is a detailed description of each option allowed by the listening modules:
|
|||||||
and you also want \term{mod\_http\_bind} to serve the URIs \term{/http-bind/},
|
and you also want \term{mod\_http\_bind} to serve the URIs \term{/http-bind/},
|
||||||
use this option: \term{\{request\_handlers, [\{["a", "b"], mod\_foo\}, \{["http-bind"], mod\_http\_bind\}]\}}
|
use this option: \term{\{request\_handlers, [\{["a", "b"], mod\_foo\}, \{["http-bind"], mod\_http\_bind\}]\}}
|
||||||
\titem{\{service\_check\_from, true|false\}}
|
\titem{\{service\_check\_from, true|false\}}
|
||||||
By enabling this option, \ejabberd{} allows the component to send packets with any arbitrary domain in the 'from' attribute.
|
\ind{options!service\_check\_from}
|
||||||
Note that \xepref{0114} requires that the domain must match the hostname of the component.
|
This option can be used with \term{ejabberd\_service} only.
|
||||||
Only enable this option if you are completely sure you need to enable it.
|
\xepref{0114} requires that the domain must match the hostname of the component.
|
||||||
Default value: false.
|
If this option is set to \term{false}, \ejabberd{} will allow the component
|
||||||
|
to send stanzas with any arbitrary domain in the 'from' attribute.
|
||||||
|
Only use this option if you are completely sure about it.
|
||||||
|
The default value is \term{true}, to be compliant with \xepref{0114}.
|
||||||
\titem{\{shaper, none|ShaperName\}} \ind{options!shaper}This option defines a
|
\titem{\{shaper, none|ShaperName\}} \ind{options!shaper}This option defines a
|
||||||
shaper for the port (see section~\ref{shapers}). The default value
|
shaper for the port (see section~\ref{shapers}). The default value
|
||||||
is \term{none}.
|
is \term{none}.
|
||||||
|
Loading…
Reference in New Issue
Block a user