Florian Westphal
|
a09034563a
|
predefined channels MUST start with '#', but this is not very intuitive,
since # is also used as a comment character in ngircd.conf. Thus
we prefix the name with '#' if it is missing.
|
2006-11-20 19:32:07 +00:00 |
Alexander Barton
|
5b35b101f2
|
Fixed validation of server names containing digits.
|
2006-11-10 10:05:00 +00:00 |
Florian Westphal
|
058d3085a9
|
New configuration option "PredefChannelsOnly": if set, make
all JOINs to-non existants channel return ERR_BANNEDFROMCHAN_MSG,
restricting users to those channels defined in the config file.
|
2006-11-05 13:03:46 +00:00 |
Alexander Barton
|
4e02bdc322
|
Update info text of local server after re-reading configuration.
|
2006-10-03 10:59:40 +00:00 |
Alexander Barton
|
f1f94f07e1
|
Validate "ServerName" variable.
|
2006-07-23 16:42:45 +00:00 |
Alexander Barton
|
dd3a3bc603
|
Use some more specific data types (e. g. pid_t vs. int), make "SPLint" happy :-)
|
2006-05-10 21:24:01 +00:00 |
Florian Westphal
|
a17745d6d7
|
Make connid same as connection fd.
|
2006-02-08 15:20:21 +00:00 |
Alexander Barton
|
0570e13cac
|
Minor whitespace fixes.
|
2005-11-21 16:31:30 +00:00 |
Alexander Barton
|
bc09a3e487
|
Changed Handle_Write() to not close sockets itself but to call Conn_Close.
|
2005-10-11 19:29:23 +00:00 |
Alexander Barton
|
ff218617db
|
gcc 4: "warning: declaration of 'dup' shadows a global declaration".
|
2005-09-24 17:06:54 +00:00 |
Florian Westphal
|
0aae3ec5d7
|
Mostly formatting; changes needed for SSL merge
|
2005-09-10 23:42:12 +00:00 |
Florian Westphal
|
dd3d2e2c39
|
Complain if MyPassword starts with ':'. (Reported by Ben Korvemaker)
|
2005-09-02 13:58:52 +00:00 |
Florian Westphal
|
9275dc4dc4
|
reformatted Handle_SERVER()
|
2005-09-02 13:50:52 +00:00 |
Alexander Barton
|
77f54693ef
|
Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
|
2005-07-31 20:13:07 +00:00 |
Florian Westphal
|
51ccb5928a
|
internal changes needed for future ssl support
|
2005-07-29 09:29:47 +00:00 |
Florian Westphal
|
84706af7fe
|
topic no longer limited to 127 chars (now only limited by protocol)
|
2005-07-28 16:23:55 +00:00 |
Florian Westphal
|
987559e46d
|
change Handle_OPERATOR() formatting
|
2005-07-17 18:58:04 +00:00 |
Florian Westphal
|
70facb7f6e
|
made a few config options unsigned.
|
2005-07-11 14:11:35 +00:00 |
Florian Westphal
|
579fce1831
|
remove FD_SETSIZE check (now in io_* functions)
|
2005-07-07 18:46:46 +00:00 |
Florian Westphal
|
aec535c8b6
|
s/sprintf/snprintf
|
2005-06-17 19:16:53 +00:00 |
Florian Westphal
|
77faf14b29
|
use strdup() to add oper hostname mask.
|
2005-04-16 09:23:01 +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 |
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
|
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 |
Alexander Barton
|
1d08d51e2e
|
New configuration option "OperServerMode".
|
2005-03-15 16:56:16 +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
|
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
|
a6d7fb8739
|
Code cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>:
wrote functions for common error messages.
|
2005-01-20 00:13:08 +00:00 |
Alexander Barton
|
c1f32e8214
|
Made ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and
most probably other older C compilers on other systems.
|
2004-10-20 13:47:32 +00:00 |
Alexander Barton
|
1e692e5890
|
Fixed wrong variable names in output of "ngircd --configtest".
|
2004-09-24 18:00:40 +00:00 |
Alexander Barton
|
7281b8dd4d
|
New "chroot" feature (from Benjamin Pineau), introducing new configuration
variables "ChrootDir" and "MotdPhrase".
|
2004-05-07 11:19:20 +00:00 |
Alexander Barton
|
cdb694aeb3
|
Added #include for strings.h and added some casts to remove compiler warnings.
|
2004-01-17 03:17:00 +00:00 |
Alexander Barton
|
05170bc94c
|
Fixed error messages related to server name configuration; updated
sample configuration file. (from 0.7.x)
|
2003-12-19 14:32:59 +00:00 |
Alexander Barton
|
2981fe9eb7
|
New configuration option "MaxConnectionsIP".
|
2003-11-05 21:41:01 +00:00 |
Alexander Barton
|
e33ab90379
|
New configuration option "Listen" to bind the server to a specific ip.
|
2003-09-11 12:05:28 +00:00 |
Alexander Barton
|
e541da2a8f
|
"ServerName" is checked better now: a dot (".") is required.
|
2003-04-29 12:36:09 +00:00 |
Alexander Barton
|
0e01a37a69
|
Fixed --configtest: there is no variable "ServerPwd", it's "Password".
|
2003-04-27 11:46:52 +00:00 |
Alexander Barton
|
a061668b1a
|
Added implicit initialisation of "i" in Conf_GetServer to workaround a egcs
2.91.66 bug which claims that this valiable could be used uninitialized.
|
2003-04-21 11:06:07 +00:00 |
Alexander Barton
|
0b91df05e0
|
Fixed spelling mistake :-)
|
2003-04-20 23:09:43 +00:00 |
Alexander Barton
|
62796722f1
|
Changed all PACKAGE's to PACKAGE_NAME and all VERSION's to PACKAGE_VERSION.
|
2003-03-31 15:54:21 +00:00 |
Alexander Barton
|
02a22611be
|
Clean up duplicate servers correctly.
|
2003-03-27 01:21:38 +00:00 |
Alexander Barton
|
281f7583f5
|
- New functions Conf_EnableServer(), Conf_DisableServer() and Conf_AddServer().
- Changed "once"-server-config-flag into a generic flag.
|
2002-12-31 16:12:50 +00:00 |
Alexander Barton
|
a2544e496c
|
- Cleaned up handling of server configuration structures.
|
2002-12-30 00:01:42 +00:00 |
Alexander Barton
|
695631b298
|
- replaced a lot of strcpy() calls with strlcpy() which is more secure.
|
2002-12-26 17:04:54 +00:00 |
Alexander Barton
|
6626395c88
|
- replaced a lot of strcat() calls with strlcat() which is more secure.
|
2002-12-26 16:48:14 +00:00 |
Alexander Barton
|
0ced4181b0
|
- replaced all strncpy()'s and strncat()'s with strlcpy() and strlcat().
|
2002-12-26 16:25:43 +00:00 |
Alexander Barton
|
3c738ed46d
|
- definition of CONFIG_FILE and MOTD_FILE is now compatible with -Wtraditional.
|
2002-12-26 13:17:56 +00:00 |
Alexander Barton
|
3a811ef563
|
- Validate_Config(): removed unused variable "i".
|
2002-12-18 02:53:36 +00:00 |