ngircd-alex.git
15 years agoFixed handling of symbolic links as used in /etc/rc.X directories.
Alexander Barton [Wed, 1 Jun 2005 21:51:11 +0000 (21:51 +0000)]
Fixed handling of symbolic links as used in /etc/rc.X directories.

15 years agoadd FreeRes_stat(), wait for resolver timeout.
Florian Westphal [Wed, 1 Jun 2005 21:28:50 +0000 (21:28 +0000)]
add FreeRes_stat(), wait for resolver timeout.

15 years agominor cleanup
Florian Westphal [Sat, 28 May 2005 10:46:50 +0000 (10:46 +0000)]
minor cleanup

15 years agoHandle splint errors more gracefully.
Alexander Barton [Mon, 23 May 2005 00:11:15 +0000 (00:11 +0000)]
Handle splint errors more gracefully.

15 years agoDon't exit server if closing of a socket fails; instead ignore it and
Alexander Barton [Sun, 22 May 2005 23:55:57 +0000 (23:55 +0000)]
Don't exit server if closing of a socket fails; instead ignore it and
pray that this will be "the right thing" ...

15 years agoAdded version information to summary text.
Alexander Barton [Sat, 21 May 2005 21:34:47 +0000 (21:34 +0000)]
Added version information to summary text.

15 years agoReformatted and documented code of the first part of the IRC_NICK()
Alexander Barton [Tue, 17 May 2005 23:24:43 +0000 (23:24 +0000)]
Reformatted and documented code of the first part of the IRC_NICK()
function; and register WHOWAS entries on nickname changes, too.

15 years agoNew function Client_RegisterWhowas().
Alexander Barton [Tue, 17 May 2005 23:18:54 +0000 (23:18 +0000)]
New function Client_RegisterWhowas().

15 years agoImplemented IRC function "WHOWAS".
Alexander Barton [Mon, 16 May 2005 12:25:15 +0000 (12:25 +0000)]
Implemented IRC function "WHOWAS".

15 years agoNew functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.
Alexander Barton [Mon, 16 May 2005 12:24:31 +0000 (12:24 +0000)]
New functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.

15 years agoNew functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.
Alexander Barton [Mon, 16 May 2005 12:23:48 +0000 (12:23 +0000)]
New functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.

15 years agoNew defines MAX_WHOWAS and DEFAULT_WHOWAS.
Alexander Barton [Mon, 16 May 2005 12:22:32 +0000 (12:22 +0000)]
New defines MAX_WHOWAS and DEFAULT_WHOWAS.

15 years agoAway status texts set due to "a"-Modes received from other servers have
Alexander Barton [Sat, 14 May 2005 20:29:34 +0000 (20:29 +0000)]
Away status texts set due to "a"-Modes received from other servers have
been fixed: the status text of the server has been set instead of the
away status text of the client (most probably introduced by patch 1.36).

15 years agoRemove "doc/src" directory on "make distclean".
Alexander Barton [Wed, 27 Apr 2005 07:52:29 +0000 (07:52 +0000)]
Remove "doc/src" directory on "make distclean".

15 years agoAdded #include of "defines.h", necessary due to removal of the #include of
Alexander Barton [Wed, 27 Apr 2005 07:46:50 +0000 (07:46 +0000)]
Added #include of "defines.h", necessary due to removal of the #include of
"defines.h" in the client.h header file.

15 years agoReorder #includes, necessary due to removal of #include "defines.h" in
Alexander Barton [Wed, 27 Apr 2005 07:38:00 +0000 (07:38 +0000)]
Reorder #includes, necessary due to removal of #include "defines.h" in
the client.h header file.

15 years agoRemoved "invalid" #include of "defines.h" (don't include further header
Alexander Barton [Wed, 27 Apr 2005 07:36:25 +0000 (07:36 +0000)]
Removed "invalid" #include of "defines.h" (don't include further header
files from a header file!).

15 years agoAdded missing #include of "defines.h".
Alexander Barton [Wed, 27 Apr 2005 07:34:25 +0000 (07:34 +0000)]
Added missing #include of "defines.h".

15 years agoremoved Conn_UnsetOption() function. It was not used anymore.
Florian Westphal [Mon, 25 Apr 2005 18:37:16 +0000 (18:37 +0000)]
removed Conn_UnsetOption() function. It was not used anymore.
removed Conn_SetOption(). replaced its only call (in conn-zip.c) with Conn_OPTION_ADD() macro.

15 years agoremoved "my_connects" fd_set.
Florian Westphal [Sat, 23 Apr 2005 14:28:44 +0000 (14:28 +0000)]
removed "my_connects" fd_set.

15 years agoconn.h: option filed in CONNECTION struct is now UINT16.
Florian Westphal [Mon, 18 Apr 2005 21:08:31 +0000 (21:08 +0000)]
conn.h: option filed in CONNECTION struct is now UINT16.
conn-func.h: add accessor Macros

Conn_OPTION_ADD( conn, CONN_OPTION )
Conn_OPTION_DEL( conn, CONN_OPTION )
Conn_OPTION_ISSET( conn, CONN_OPTION )

To add, remove or test for a certain option field attribute (e.g. CONN_ISCLOSING)
These Macros should be used instead of accessing conn->options directly.

15 years agoCleaned up (and documented) the IRC_KILL() function.
Alexander Barton [Mon, 18 Apr 2005 15:44:39 +0000 (15:44 +0000)]
Cleaned up (and documented) the IRC_KILL() function.

15 years agofix spelling
Florian Westphal [Sat, 16 Apr 2005 20:50:03 +0000 (20:50 +0000)]
fix spelling

15 years agoadded kludge to make ngircd (with syslog) compile on mips-dec-ultrix4.5
Florian Westphal [Sat, 16 Apr 2005 09:31:30 +0000 (09:31 +0000)]
added kludge to make ngircd (with syslog) compile on mips-dec-ultrix4.5

15 years agouse strdup() to add oper hostname mask.
Florian Westphal [Sat, 16 Apr 2005 09:23:01 +0000 (09:23 +0000)]
use strdup() to add oper hostname mask.

15 years agoprivate strdup() implementation in case libc does not provide it.
Florian Westphal [Sat, 16 Apr 2005 09:20:53 +0000 (09:20 +0000)]
private strdup() implementation in case libc does not provide it.

15 years agos/malloc(x*y)/calloc(x,y)/
Florian Westphal [Sat, 16 Apr 2005 09:19:49 +0000 (09:19 +0000)]
s/malloc(x*y)/calloc(x,y)/

15 years agocheck for strdup()
Florian Westphal [Sat, 16 Apr 2005 07:26:44 +0000 (07:26 +0000)]
check for strdup()

15 years agoUsed a spellchecker :-)
Alexander Barton [Wed, 13 Apr 2005 21:40:49 +0000 (21:40 +0000)]
Used a spellchecker :-)

15 years agoFixed wrong location of "Doxyfile" ... argl.
Alexander Barton [Sat, 9 Apr 2005 18:29:30 +0000 (18:29 +0000)]
Fixed wrong location of "Doxyfile" ... argl.

15 years agoUse typedef instead of #define to declare the socklen_t type if needed.
Alexander Barton [Sat, 9 Apr 2005 18:27:16 +0000 (18:27 +0000)]
Use typedef instead of #define to declare the socklen_t type if needed.

15 years agoAdded "-unrecog" to splint command line.
Alexander Barton [Sat, 9 Apr 2005 18:23:37 +0000 (18:23 +0000)]
Added "-unrecog" to splint command line.

15 years agoTarget "lint": check whether splint command is available and suppress
Alexander Barton [Sat, 9 Apr 2005 12:30:55 +0000 (12:30 +0000)]
Target "lint": check whether splint command is available and suppress
warnings related to the used command line in the output.

15 years agoTwo new targets: "srcdoc" to generate Doxygen source documentation, and
Alexander Barton [Sat, 9 Apr 2005 12:27:40 +0000 (12:27 +0000)]
Two new targets: "srcdoc" to generate Doxygen source documentation, and
"xcode" to build ngIRCd using the Xcode command line tools on Mac OS X.

15 years agoAdded new target "srcdoc" to generate the Doxygen source documentation.
Alexander Barton [Sat, 9 Apr 2005 12:22:41 +0000 (12:22 +0000)]
Added new target "srcdoc" to generate the Doxygen source documentation.

15 years agoAdded the control file for the Doxygen source documentation system.
Alexander Barton [Sat, 9 Apr 2005 12:21:51 +0000 (12:21 +0000)]
Added the control file for the Doxygen source documentation system.

15 years agoNew build style "deployment", cleaned up options for build style
Alexander Barton [Sat, 9 Apr 2005 11:25:28 +0000 (11:25 +0000)]
New build style "deployment", cleaned up options for build style
"development" (enabled "ZeroLink") and fixed path of "ngircd.spec".

15 years agoDon't enable assert() calls when not ./configure'd with --enable-debug.
Alexander Barton [Wed, 30 Mar 2005 17:00:42 +0000 (17:00 +0000)]
Don't enable assert() calls when not ./configure'd with --enable-debug.

15 years agoDebine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.
Alexander Barton [Wed, 30 Mar 2005 16:37:02 +0000 (16:37 +0000)]
Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.

15 years agoWhen validationg the configuration file wait for a keypress only if both
Alexander Barton [Tue, 22 Mar 2005 18:57:08 +0000 (18:57 +0000)]
When validationg the configuration file wait for a keypress only if both
stdin and(!) stdout are valid tty's.

15 years agoUse tabulator, not 8 spaces ...
Alexander Barton [Mon, 21 Mar 2005 22:22:09 +0000 (22:22 +0000)]
Use tabulator, not 8 spaces ...

15 years agoFixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.
Alexander Barton [Mon, 21 Mar 2005 22:15:15 +0000 (22:15 +0000)]
Fixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.

15 years agoEnhanced configure script: now you can pass an (optional) search path
Alexander Barton [Sun, 20 Mar 2005 17:23:36 +0000 (17:23 +0000)]
Enhanced configure script: now you can pass an (optional) search path
to all --with-XXX parameters, e. g. "--with-ident=/opt/ident".

15 years agoConf_Test(): check if stdin (and not stdout...) is connected to a terminal.
Florian Westphal [Sun, 20 Mar 2005 15:00:25 +0000 (15:00 +0000)]
Conf_Test(): check if stdin (and not stdout...) is connected to a terminal.

15 years agochanged type of Conf_ListenPorts[] from "unsigned int" to UINT16.
Florian Westphal [Sun, 20 Mar 2005 13:54:06 +0000 (13:54 +0000)]
changed type of Conf_ListenPorts[] from "unsigned int" to UINT16.

15 years agoInit_Conn_Struct(): Zero structure using memset().
Florian Westphal [Sun, 20 Mar 2005 11:00:31 +0000 (11:00 +0000)]
Init_Conn_Struct(): Zero structure using memset().

15 years agoAdd notice about typedef removal and stdbool.h/inttypes.h
Florian Westphal [Sat, 19 Mar 2005 18:53:16 +0000 (18:53 +0000)]
Add notice about typedef removal and stdbool.h/inttypes.h

15 years agoRemove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
Florian Westphal [Sat, 19 Mar 2005 18:43:48 +0000 (18:43 +0000)]
Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
use stdbool.h / inttypes.h if available.

15 years agofix Config_Error_NaN prototype (first argument missed "const")
Florian Westphal [Sat, 19 Mar 2005 15:46:38 +0000 (15:46 +0000)]
fix Config_Error_NaN prototype (first argument missed "const")

15 years agoremoved unneeded log.h include.
Florian Westphal [Sat, 19 Mar 2005 14:50:59 +0000 (14:50 +0000)]
removed unneeded log.h include.

15 years agoAdded login of Florian ("fw") to AUTHORS list.
Alexander Barton [Sat, 19 Mar 2005 14:24:52 +0000 (14:24 +0000)]
Added login of Florian ("fw") to AUTHORS list.

15 years agoRemoved indentation of preprocessor statements in test for socklen_t.
Alexander Barton [Sat, 19 Mar 2005 14:09:32 +0000 (14:09 +0000)]
Removed indentation of preprocessor statements in test for socklen_t.

15 years agoFixed too long lines.
Alexander Barton [Tue, 15 Mar 2005 16:58:01 +0000 (16:58 +0000)]
Fixed too long lines.

15 years agoNew configuration option "OperServerMode".
Alexander Barton [Tue, 15 Mar 2005 16:56:16 +0000 (16:56 +0000)]
New configuration option "OperServerMode".

15 years agoNew function New_Res_Stat() to initialize RES_STAT structure.
Alexander Barton [Sat, 5 Mar 2005 12:57:14 +0000 (12:57 +0000)]
New function New_Res_Stat() to initialize RES_STAT structure.

15 years agoReduce the number of calls of strlen(). Idea by Florin Westphal.
Alexander Barton [Sat, 5 Mar 2005 11:44:01 +0000 (11:44 +0000)]
Reduce the number of calls of strlen(). Idea by Florin Westphal.

15 years agoAdded missing include of "match.h".
Alexander Barton [Thu, 3 Mar 2005 08:36:19 +0000 (08:36 +0000)]
Added missing include of "match.h".

15 years agoImplemented support for "secret channels" (channel mode "s").
Alexander Barton [Wed, 2 Mar 2005 16:35:10 +0000 (16:35 +0000)]
Implemented support for "secret channels" (channel mode "s").

15 years agoNew configuration option "Mask" for [Operator] sections to limit OPER command.
Alexander Barton [Wed, 2 Mar 2005 16:07:30 +0000 (16:07 +0000)]
New configuration option "Mask" for [Operator] sections to limit OPER command.

15 years agoClean up the mode handling code: remove redundant parts ...
Alexander Barton [Sun, 27 Feb 2005 20:09:44 +0000 (20:09 +0000)]
Clean up the mode handling code: remove redundant parts ...

15 years agoUpdated to latest strl{cat|cpy} code of rsync:
Alexander Barton [Sun, 27 Feb 2005 09:29:13 +0000 (09:29 +0000)]
Updated to latest strl{cat|cpy} code of rsync:
- Make sure that strlcpy() returns the right value when the bufsize is 0.
- Fixed a bug in strlcat() where it would not properly detect a no-change
  condition if called with an initial string longer than the specified
  size limit (due to an unsigned var's inability to go negative).
Patch by Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoAdded AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).
Alexander Barton [Mon, 21 Feb 2005 15:23:23 +0000 (15:23 +0000)]
Added AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).

15 years agoFixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).
Alexander Barton [Mon, 21 Feb 2005 09:48:50 +0000 (09:48 +0000)]
Fixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).

15 years agoEnable Pidfile /var/run/ircd/ngircd.pid
Alexander Barton [Mon, 14 Feb 2005 00:44:48 +0000 (00:44 +0000)]
Enable Pidfile /var/run/ircd/ngircd.pid

15 years agoAdded description for "PidFile", fixed description of "Ports".
Alexander Barton [Mon, 14 Feb 2005 00:42:41 +0000 (00:42 +0000)]
Added description for "PidFile", fixed description of "Ports".

15 years agoWhitespace fixes.
Alexander Barton [Fri, 11 Feb 2005 13:52:37 +0000 (13:52 +0000)]
Whitespace fixes.

15 years agoDon't play games with FILE* stdin/out/err, only touch "real" descriptors.
Alexander Barton [Thu, 10 Feb 2005 16:55:52 +0000 (16:55 +0000)]
Don't play games with FILE* stdin/out/err, only touch "real" descriptors.

15 years agoRenamed NGIRCd_FillVersion() to Fill_Version(); Code cleanups.
Alexander Barton [Thu, 10 Feb 2005 13:09:11 +0000 (13:09 +0000)]
Renamed NGIRCd_FillVersion() to Fill_Version(); Code cleanups.

15 years agoWrite "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
Alexander Barton [Thu, 10 Feb 2005 12:49:04 +0000 (12:49 +0000)]
Write "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
code ("--enable-debug") and running as daemon process.

15 years agoAdded a note about the change of the maximum password length.
Alexander Barton [Thu, 10 Feb 2005 08:20:09 +0000 (08:20 +0000)]
Added a note about the change of the maximum password length.

15 years agoDon't create version information string each time a client connects but
Alexander Barton [Wed, 9 Feb 2005 09:52:58 +0000 (09:52 +0000)]
Don't create version information string each time a client connects but
insetead on server startup. By Florian Westphal.

15 years agoAdded an empty /etc/ngircd/ngircd.motd to the packages. And ngircd.conf
Alexander Barton [Mon, 7 Feb 2005 23:09:31 +0000 (23:09 +0000)]
Added an empty /etc/ngircd/ngircd.motd to the packages. And ngircd.conf
becomes modified to enable the PID file (/var/run/ircd/ngircd.cond) and
to change the user and group to "irc".

15 years agoSet owner and group of /var/run/ircd to "irc:irc".
Alexander Barton [Mon, 7 Feb 2005 23:07:52 +0000 (23:07 +0000)]
Set owner and group of /var/run/ircd to "irc:irc".

15 years agoUpdated debian changelog file from branch-0-8-x ...
Alexander Barton [Mon, 7 Feb 2005 19:57:05 +0000 (19:57 +0000)]
Updated debian changelog file from branch-0-8-x ...

15 years agoMake sure that errno of fopen() isn't overwritten by the logging code.
Alexander Barton [Mon, 7 Feb 2005 19:31:34 +0000 (19:31 +0000)]
Make sure that errno of fopen() isn't overwritten by the logging code.

15 years agoNew configuration variable "PidFile", section "[Global]": if defined,
Alexander Barton [Fri, 4 Feb 2005 14:24:20 +0000 (14:24 +0000)]
New configuration variable "PidFile", section "[Global]": if defined,
the server writes its process ID (PID) to this file. Default: off.
Idea by Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agongIRCd 0.8.3.
Alexander Barton [Fri, 4 Feb 2005 14:21:35 +0000 (14:21 +0000)]
ngIRCd 0.8.3.

15 years agoUse ngt_TrimLastChr() where useful, by Florian Westphal.
Alexander Barton [Fri, 4 Feb 2005 13:15:38 +0000 (13:15 +0000)]
Use ngt_TrimLastChr() where useful, by Florian Westphal.

15 years agoAdd ngt_TrimLastChr() to header file. By Florian Westphal.
Alexander Barton [Fri, 4 Feb 2005 13:09:03 +0000 (13:09 +0000)]
Add ngt_TrimLastChr() to header file. By Florian Westphal.

15 years agoFixed a bug that could case a root exploit when the daemon is compiled
Alexander Barton [Thu, 3 Feb 2005 09:26:42 +0000 (09:26 +0000)]
Fixed a bug that could case a root exploit when the daemon is compiled
to do IDENT lookups and is logging to syslog. Bug discovered by CoKi,
<coki@nosystem.com.ar>, thanks a lot!
(http://www.nosystem.com.ar/advisories/advisory-11.txt)

15 years agoUpdated ChangeLog for 0.8.2.
Alexander Barton [Thu, 3 Feb 2005 09:11:43 +0000 (09:11 +0000)]
Updated ChangeLog for 0.8.2.

15 years agoUpdated config.sub and config.guess
Alexander Barton [Thu, 27 Jan 2005 00:15:53 +0000 (00:15 +0000)]
Updated config.sub and config.guess

15 years agoWe are in the year 2005 now! :-)
Alexander Barton [Wed, 26 Jan 2005 22:03:15 +0000 (22:03 +0000)]
We are in the year 2005 now! :-)

15 years agoFixed a buffer overflow that could cause the daemon to crash. Bug found
Alexander Barton [Wed, 26 Jan 2005 13:23:24 +0000 (13:23 +0000)]
Fixed a buffer overflow that could cause the daemon to crash. Bug found
by Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoUpdated list of contributors.
Alexander Barton [Wed, 26 Jan 2005 13:21:00 +0000 (13:21 +0000)]
Updated list of contributors.

15 years agoNew function ngt_TrimLastChr(), prototype by Florian Westphal.
Alexander Barton [Tue, 25 Jan 2005 16:16:48 +0000 (16:16 +0000)]
New function ngt_TrimLastChr(), prototype by Florian Westphal.

15 years agoFixed a typo in variable name ...
Alexander Barton [Mon, 24 Jan 2005 14:19:04 +0000 (14:19 +0000)]
Fixed a typo in variable name ...

15 years agoFixed a possible buffer underrun when reading the MOTD file. Thanks to
Alexander Barton [Mon, 24 Jan 2005 14:17:21 +0000 (14:17 +0000)]
Fixed a possible buffer underrun when reading the MOTD file. Thanks to
Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoCode cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>:
Alexander Barton [Thu, 20 Jan 2005 00:13:08 +0000 (00:13 +0000)]
Code cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>:
wrote functions for common error messages.

15 years agoCode cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>.
Alexander Barton [Thu, 20 Jan 2005 00:11:49 +0000 (00:11 +0000)]
Code cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoFixed detection of IRC lines which are too long to send. Detected by
Alexander Barton [Wed, 19 Jan 2005 23:33:53 +0000 (23:33 +0000)]
Fixed detection of IRC lines which are too long to send. Detected by
Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoFixed return values of our own implementation of strlcpy(). The code has
Alexander Barton [Tue, 18 Jan 2005 09:05:37 +0000 (09:05 +0000)]
Fixed return values of our own implementation of strlcpy(). The code has
been taken from rsync and they fixed it, but we didn't until today :-/

15 years agoTranslated source code comments.
Alexander Barton [Mon, 17 Jan 2005 13:14:36 +0000 (13:14 +0000)]
Translated source code comments.

15 years agoRaised the maximum length of passwords to 20 characters.
Alexander Barton [Mon, 17 Jan 2005 13:01:34 +0000 (13:01 +0000)]
Raised the maximum length of passwords to 20 characters.

15 years agoFixed typo: ports are separated by ",". Thanks to Florian Westphal.
Alexander Barton [Mon, 17 Jan 2005 12:51:17 +0000 (12:51 +0000)]
Fixed typo: ports are separated by ",". Thanks to Florian Westphal.

15 years agoFixed a memory leak when resizing the connection pool and realloc() failed.
Alexander Barton [Mon, 17 Jan 2005 11:57:39 +0000 (11:57 +0000)]
Fixed a memory leak when resizing the connection pool and realloc() failed.
Now we don't fall back to malloc(), which should be sane anyway.
Patch from Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoAdded URLs for stunnel.
Alexander Barton [Mon, 27 Dec 2004 01:11:40 +0000 (01:11 +0000)]
Added URLs for stunnel.

15 years agoAdded documentation for SSL support.
Alexander Barton [Mon, 27 Dec 2004 01:04:35 +0000 (01:04 +0000)]
Added documentation for SSL support.

15 years agoMake more clear that there can be more than one [Operator], [Server] and
Alexander Barton [Mon, 27 Dec 2004 00:55:06 +0000 (00:55 +0000)]
Make more clear that there can be more than one [Operator], [Server] and
[Channel] section in the configuration file.

15 years agoFixed wrong port number in example.
Alexander Barton [Mon, 27 Dec 2004 00:48:59 +0000 (00:48 +0000)]
Fixed wrong port number in example.