+2007-12-17 Badlop <badlop@process-one.net>
+
+ * doc/guide.tex: Remove 'ssl' option from documentation and
+ configuration load (EJAB-461)
+ * src/ejabberd_listener.erl: Likewise
+
+ * src/msgs/cs.msg: Small typo (thanks to Lukas Polivka alias
+ Spike411)
+
+ * src/ejabberd.cfg.example: Small change in order of options
+
2007-12-15 Badlop <badlop@process-one.net>
* src/mod_irc/iconv.erl: Changed order of handle_info
clause (EJAB-290)
- * src/stringprep/stringprep.erl: Likesise
+ * src/stringprep/stringprep.erl: Likewise
* src/eldap/eldap.erl: Removed handle_sync_event clause because it
is never called (EJAB-290)
\end{verbatim}
\end{itemize}
-\subsection{Listened Sockets}
+\subsection{Listening Ports}
\label{listened}
\ind{options!listen}
\begin{tabular}{|l|l|p{87mm}|}
\hline \texttt{ejabberd\_c2s}& Description& Handles c2s connections.\\
\cline{2-3} & Options& \texttt{access}, \texttt{certfile}, \texttt{inet6},
- \texttt{ip}, \texttt{max\_stanza\_size}, \texttt{shaper}, \texttt{ssl},
+ \texttt{ip}, \texttt{max\_stanza\_size}, \texttt{shaper},
\texttt{starttls}, \texttt{starttls\_required}, \texttt{tls},
\texttt{zlib}\\
\hline \texttt{ejabberd\_s2s\_in}& Description& Handles incoming s2s
\titem{\{shaper, <access rule>\}} \ind{options!shaper}This option defines a
shaper for the port (see section~\ref{shapers}). The default value
is \term{none}.
- \titem{ssl} \ind{options!ssl}\ind{SSL}This option specifies that traffic on
- the port will be encrypted using SSL. You should also set the
- \option{certfile} option. It is recommended to use the \term{tls} option
- instead of this one.
\titem{starttls} \ind{options!starttls}\ind{STARTTLS}This option
specifies that STARTTLS encryption is available on connections to the port.
You should also set the \option{certfile} option.
%%{5223, ejabberd_c2s, [
%% {access, c2s},
%% {shaper, c2s_shaper},
- %% tls, {certfile, "/path/to/ssl.pem"},
+ %% {certfile, "/path/to/ssl.pem"}, tls,
%% {max_stanza_size, 65536}
%% ]},
start(Port, Module, Opts) ->
+ SSLError = "There is a problem with your ejabberd configuration file: the option 'ssl' for listening sockets is no longer available. To get SSL encryption use the option 'tls'.",
case lists:keysearch(ssl, 1, Opts) of
- {value, {ssl, SSLOpts}} ->
- {ok, proc_lib:spawn_link(?MODULE, init_ssl,
- [Port, Module, Opts, SSLOpts])};
+ {value, {ssl, _SSLOpts}} ->
+ %%{ok, proc_lib:spawn_link(?MODULE, init_ssl,
+ %% [Port, Module, Opts, SSLOpts])};
+ ?ERROR_MSG(SSLError, []),
+ {error, SSLError};
_ ->
case lists:member(ssl, Opts) of
true ->
- {ok, proc_lib:spawn_link(?MODULE, init_ssl,
- [Port, Module, Opts, []])};
+ %%{ok, proc_lib:spawn_link(?MODULE, init_ssl,
+ %% [Port, Module, Opts, []])};
+ ?ERROR_MSG(SSLError, []),
+ {error, SSLError};
false ->
{ok, proc_lib:spawn_link(?MODULE, init,
[Port, Module, Opts])}
{"Specified nickname is already registered", "Zadaná přezdívka je již zaregistrována"}.
% mod_muc/mod_muc_room.erl
-{" has set the subject to: ", "změnil(a) téma na: "}.
+{" has set the subject to: ", " změnil(a) téma na: "}.
{"You need an x:data capable client to configure room", "Ke konfiguraci místnosti potřebujete klienta podporujícího x:data"}.
{"Configuration for ", "Konfigurace pro "}.
{"Room title", "Název místnosti"}.