paul [Sun, 4 Mar 2007 14:27:00 +0000 (14:27 +0000)]
Merged revisions 122-126 via svnmerge from
https://svn.quakenet.org/svn/quakenet/ircu/trunk
........
r125 | paul | 2007-03-03 16:34:37 +0000 (Sat, 03 Mar 2007) | 56 lines
+2007-02-28 Michael Poole <redacted>
+
+ * ircd/os_generic.c (sockaddr_from_irc): Zero out socket address
+ before setting family, and regardless of whether we have an
+ irc_sockaddr template.
+
+2007-02-25 Michael Poole <redacted>
+
+ * doc/example.conf: Document new options for General block.
+
+ * include/res.h (clear_nameservers): Declare new function.
+ (add_nameserver): Declare previously static function.
+
+ * include/s_bsd.h (VirtualHost_dns_v4): Declare.
+ (VirtualHost_dns_v6): Likewise.
+
+ * ircd/ircd_lexer.l (DNS): Recognize new token.
+
+ * ircd/ircd_parser.y (DNS): Declare new token.
+ (generalitem): Allow new items for dns vhost(s) and dns servers.
+ (generaldnsvhost): New production.
+ (generaldnsserver): New production.
+
+ * ircd/ircd_res.c (VirtualHost_dns_v4): New variable.
+ (VirtualHost_dns_v6): Likewise.
+ (clear_nameservers): New function.
+ (restart_resolver): Scan specified servers so we only try to open
+ DNS client sockets that we need.
+
+ * ircd/ircd_reslib.c (irc_nscount): Remove redundant initializer.
+ (irc_res_init): Only read the resolver config file if there are no
+ nameservers provided.
+ (add_nameserver): Make non-static. Remove off-by-one check
+ against IRCD_MAXNS.
+
+ * ircd/s_conf.c (read_configuration_file): Clear nameserver list
+ before reading the config file.
+
+2007-01-27 Jeannot Langlois <redacted>
+
+ * doc/example.conf (Features): Illustrate URLREG feature.
+
+ * doc/readme.features (URLREG): Define new feature.
+
+ * include/ircd_features.h (Feature): Add FEAT_URLREG.
+
+ * ircd/ircd_features.c (features): Set the default value.
+
+ * ircd/m_join.c (m_join): For ERR_NEEDREGGEDNICK, include the
+ URLREG value as a format argument.
+
+ * ircd/s_err.c (replyTable): Update ERR_NEEDREGGEDNICK
+ appropriately.
+
........
paul [Sat, 3 Mar 2007 16:34:00 +0000 (16:34 +0000)]
+2007-02-28 Michael Poole <redacted>
+
+ * ircd/os_generic.c (sockaddr_from_irc): Zero out socket address
+ before setting family, and regardless of whether we have an
+ irc_sockaddr template.
+
+2007-02-25 Michael Poole <redacted>
+
+ * doc/example.conf: Document new options for General block.
+
+ * include/res.h (clear_nameservers): Declare new function.
+ (add_nameserver): Declare previously static function.
+
+ * include/s_bsd.h (VirtualHost_dns_v4): Declare.
+ (VirtualHost_dns_v6): Likewise.
+
+ * ircd/ircd_lexer.l (DNS): Recognize new token.
+
+ * ircd/ircd_parser.y (DNS): Declare new token.
+ (generalitem): Allow new items for dns vhost(s) and dns servers.
+ (generaldnsvhost): New production.
+ (generaldnsserver): New production.
+
+ * ircd/ircd_res.c (VirtualHost_dns_v4): New variable.
+ (VirtualHost_dns_v6): Likewise.
+ (clear_nameservers): New function.
+ (restart_resolver): Scan specified servers so we only try to open
+ DNS client sockets that we need.
+
+ * ircd/ircd_reslib.c (irc_nscount): Remove redundant initializer.
+ (irc_res_init): Only read the resolver config file if there are no
+ nameservers provided.
+ (add_nameserver): Make non-static. Remove off-by-one check
+ against IRCD_MAXNS.
+
+ * ircd/s_conf.c (read_configuration_file): Clear nameserver list
+ before reading the config file.
+
+2007-01-27 Jeannot Langlois <redacted>
+
+ * doc/example.conf (Features): Illustrate URLREG feature.
+
+ * doc/readme.features (URLREG): Define new feature.
+
+ * include/ircd_features.h (Feature): Add FEAT_URLREG.
+
+ * ircd/ircd_features.c (features): Set the default value.
+
+ * ircd/m_join.c (m_join): For ERR_NEEDREGGEDNICK, include the
+ URLREG value as a format argument.
+
+ * ircd/s_err.c (replyTable): Update ERR_NEEDREGGEDNICK
+ appropriately.
+
slug [Sat, 27 Jan 2007 00:36:00 +0000 (00:36 +0000)]
Add +M channel mode, prevents multi-target (well, channel) messages and notices.
NOTE: the notice behaviour in all of our current +N/+C/+c/+M code does not follow the RFC! This should be corrected but I've left the code consistent.
paul [Tue, 23 Jan 2007 21:16:00 +0000 (21:16 +0000)]
Merged revisions 110-113 via svnmerge from
https://svn.quakenet.org/svn/quakenet/ircu/trunk
........
r112 | paul | 2007-01-21 12:51:16 +0000 (Sun, 21 Jan 2007) | 2 lines
.09 release
........
r113 | paul | 2007-01-23 21:09:35 +0000 (Tue, 23 Jan 2007) | 26 lines
Sync some post .09 changes (Specifically the +D-D one) for our user in .09+snircd
+2007-01-22 Michael Poole <redacted>
+ * ircd/channel.c (find_delayed_joins): New function.
+ (modebuf_flush): Handle +D-D and related cases.
+ (mode_parse_mode): It is too early to handle +D here, so don't.
+ (CheckDelayedJoins): Use find_delayed_joins().
+
+
+2007-01-22 Michael Poole <redacted>
+
+ * doc/example.conf: Fix potentially confusing comment about ip
+ mask syntax.
+
+2007-01-22 Michael Poole <redacted>
+
+ * INSTALL: Mention source directory naming; update the reference
+ to the config file converter (hah); update CVS directions.
+
+2007-01-22 Michael Poole <redacted>
+
+ * include/supported.h: Move parameters from FEATURES1 to FEATURES2
+ so that neither ISUPPORT line has more than 15 parameters. (Some
+ clients are picky about this.)
........
paul [Tue, 23 Jan 2007 21:09:00 +0000 (21:09 +0000)]
Sync some post .09 changes (Specifically the +D-D one) for our user in .09+snircd
+2007-01-22 Michael Poole <redacted>
+ * ircd/channel.c (find_delayed_joins): New function.
+ (modebuf_flush): Handle +D-D and related cases.
+ (mode_parse_mode): It is too early to handle +D here, so don't.
+ (CheckDelayedJoins): Use find_delayed_joins().
+
+
+2007-01-22 Michael Poole <redacted>
+
+ * doc/example.conf: Fix potentially confusing comment about ip
+ mask syntax.
+
+2007-01-22 Michael Poole <redacted>
+
+ * INSTALL: Mention source directory naming; update the reference
+ to the config file converter (hah); update CVS directions.
+
+2007-01-22 Michael Poole <redacted>
+
+ * include/supported.h: Move parameters from FEATURES1 to FEATURES2
+ so that neither ISUPPORT line has more than 15 parameters. (Some
+ clients are picky about this.)
paul [Sun, 14 Jan 2007 23:19:00 +0000 (23:19 +0000)]
a) revert part of 97->103 change as that functionality was already incldued.
b) fix showing network server <> irc operator in /check for network services.
paul [Wed, 18 Oct 2006 17:57:00 +0000 (18:57 +0100)]
In .11, Both realusername and username exists - where realusername is pre-sethost, and contains the ident/user when connecting.In register_user, we setup realusername from username then call find_kill to look for glines.
In .12, this behaviour changes as follows:
* register_user is split between preregister_user and register_user
* find_kill is called within preregister_user.
* Before this patch, register_user sets realusername which is too late.
Patch does:
* remove strncpy from register_user
* put strncpy into preregister_user
* put strncpy into iauthcmd_done stuff (which we dont use anyway atm)
* add the strncpy into iauth_close (which we dont use anyway)
paul [Mon, 7 Aug 2006 16:54:00 +0000 (17:54 +0100)]
Add gline_lookup_badchan, replacing gline_find in badchan. This deals with the case where gline_find aborts on an inactive gline. gline_lookup for host glines deals with this case, gline_Find returns any gline.
In gline.c, always loop+call match over the channels. This deals with the case where an oper wishes to gline a channel containing a * or other similar character - as we only call find_channel, for a channel called #foo*, you would gline #foo\* which is not what find_channel expects. Albeit, this code will be more intensive then the previous version.