Alexander Barton
4d0b03b423
Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.
2005-03-30 16:37:02 +00:00
Alexander Barton
f6df13d5f8
When validationg the configuration file wait for a keypress only if both
...
stdin and(!) stdout are valid tty's.
2005-03-22 18:57:08 +00:00
Alexander Barton
f56a1bdf20
Use tabulator, not 8 spaces ...
2005-03-21 22:22:09 +00:00
Alexander Barton
9dfcc6504e
Fixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.
2005-03-21 22:15:15 +00:00
Alexander Barton
a822153309
Enhanced configure script: now you can pass an (optional) search path
...
to all --with-XXX parameters, e. g. "--with-ident=/opt/ident".
2005-03-20 17:23:36 +00:00
Florian Westphal
49f5a4d454
Conf_Test(): check if stdin (and not stdout...) is connected to a terminal.
2005-03-20 15:00:25 +00:00
Florian Westphal
326607eea1
changed type of Conf_ListenPorts[] from "unsigned int" to UINT16.
2005-03-20 13:54:06 +00:00
Florian Westphal
bfba1f37ed
Init_Conn_Struct(): Zero structure using memset().
2005-03-20 11:00:31 +00:00
Florian Westphal
374f90f392
Add notice about typedef removal and stdbool.h/inttypes.h
2005-03-19 18:53:16 +00:00
Florian Westphal
8adff59223
Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
...
use stdbool.h / inttypes.h if available.
2005-03-19 18:43:48 +00:00
Florian Westphal
27d93d7d8c
fix Config_Error_NaN prototype (first argument missed "const")
2005-03-19 15:46:38 +00:00
Florian Westphal
8a2ed0a75f
removed unneeded log.h include.
2005-03-19 14:50:59 +00:00
Alexander Barton
5fdd5be12b
Added login of Florian ("fw") to AUTHORS list.
2005-03-19 14:24:52 +00:00
Alexander Barton
795802f2b0
Removed indentation of preprocessor statements in test for socklen_t.
2005-03-19 14:09:32 +00:00
Alexander Barton
1869766331
Fixed too long lines.
2005-03-15 16:58:01 +00:00
Alexander Barton
1d08d51e2e
New configuration option "OperServerMode".
2005-03-15 16:56:16 +00:00
Alexander Barton
5e929effca
New function New_Res_Stat() to initialize RES_STAT structure.
2005-03-05 12:57:14 +00:00
Alexander Barton
e618041168
Reduce the number of calls of strlen(). Idea by Florin Westphal.
2005-03-05 11:44:01 +00:00
Alexander Barton
e7f8782831
Added missing include of "match.h".
2005-03-03 08:36:19 +00:00
Alexander Barton
4ef172d603
Implemented support for "secret channels" (channel mode "s").
2005-03-02 16:35:10 +00:00
Alexander Barton
490c9d04d7
New configuration option "Mask" for [Operator] sections to limit OPER command.
2005-03-02 16:07:30 +00:00
Alexander Barton
8579b2a1e5
Clean up the mode handling code: remove redundant parts ...
2005-02-27 20:09:44 +00:00
Alexander Barton
3da942e237
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>.
2005-02-27 09:29:13 +00:00
Alexander Barton
bcb6cf3ffa
Added AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).
2005-02-21 15:23:23 +00:00
Alexander Barton
972b07ff29
Fixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).
2005-02-21 09:48:50 +00:00
Alexander Barton
ba19fb8ff4
Enable Pidfile /var/run/ircd/ngircd.pid
2005-02-14 00:44:48 +00:00
Alexander Barton
8d8b133bdf
Added description for "PidFile", fixed description of "Ports".
2005-02-14 00:42:41 +00:00
Alexander Barton
ec30cd4e5f
Whitespace fixes.
2005-02-11 13:52:37 +00:00
Alexander Barton
f2fbf206b6
Don't play games with FILE* stdin/out/err, only touch "real" descriptors.
2005-02-10 16:55:52 +00:00
Alexander Barton
1fdd5478c6
Renamed NGIRCd_FillVersion() to Fill_Version(); Code cleanups.
2005-02-10 13:09:11 +00:00
Alexander Barton
9537542647
Write "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
...
code ("--enable-debug") and running as daemon process.
2005-02-10 12:49:04 +00:00
Alexander Barton
0993ff81bb
Added a note about the change of the maximum password length.
2005-02-10 08:20:09 +00:00
Alexander Barton
894cd2cd68
Don't create version information string each time a client connects but
...
insetead on server startup. By Florian Westphal.
2005-02-09 09:52:58 +00:00
Alexander Barton
c16d1b03aa
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".
2005-02-07 23:09:31 +00:00
Alexander Barton
451315643f
Set owner and group of /var/run/ircd to "irc:irc".
2005-02-07 23:07:52 +00:00
Alexander Barton
d77182e7a6
Updated debian changelog file from branch-0-8-x ...
2005-02-07 19:57:05 +00:00
Alexander Barton
8edeed8418
Make sure that errno of fopen() isn't overwritten by the logging code.
2005-02-07 19:31:34 +00:00
Alexander Barton
112102b10c
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>.
2005-02-04 14:24:20 +00:00
Alexander Barton
ae63ed04c5
ngIRCd 0.8.3.
2005-02-04 14:21:35 +00:00
Alexander Barton
85acb82469
Use ngt_TrimLastChr() where useful, by Florian Westphal.
2005-02-04 13:15:38 +00:00
Alexander Barton
51d09fb4f7
Add ngt_TrimLastChr() to header file. By Florian Westphal.
2005-02-04 13:09:03 +00:00
Alexander Barton
8308c170db
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 )
2005-02-03 09:26:42 +00:00
Alexander Barton
07fe19889b
Updated ChangeLog for 0.8.2.
2005-02-03 09:11:43 +00:00
Alexander Barton
0c293ae988
Updated config.sub and config.guess
2005-01-27 00:15:53 +00:00
Alexander Barton
18c92d9de7
We are in the year 2005 now! :-)
2005-01-26 22:03:15 +00:00
Alexander Barton
2440ed080c
Fixed a buffer overflow that could cause the daemon to crash. Bug found
...
by Florian Westphal, <westphal@foo.fh-furtwangen.de>.
2005-01-26 13:23:24 +00:00
Alexander Barton
669da58715
Updated list of contributors.
2005-01-26 13:21:00 +00:00
Alexander Barton
39f1ddd9d0
New function ngt_TrimLastChr(), prototype by Florian Westphal.
2005-01-25 16:16:48 +00:00
Alexander Barton
34e912d9f2
Fixed a typo in variable name ...
2005-01-24 14:19:04 +00:00
Alexander Barton
44172a8c7f
Fixed a possible buffer underrun when reading the MOTD file. Thanks to
...
Florian Westphal, <westphal@foo.fh-furtwangen.de>.
2005-01-24 14:17:21 +00:00