implement IAUTH client code to query a separate server before allowing
[ircu2.10.12-pk.git] / ChangeLog
index 44c72a6ae6d66053be0f81b433f3ab5193961c1c..dbdb0772387740d651aa168726a03536c2fb0a62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,462 @@
+2004-06-30  Michael Poole <mdpoole@troilus.org>
+
+       * doc/readme.iauth, include/ircd_auth.h, ircd/ircd_auth.c: New
+       files.
+
+       * doc/example.conf: Illustrate IAUTH configuration.
+
+       * include/client.h: Add fields to record IAUTH status.
+
+       * ircd/Makefile.in: Add ircd_auth.c to Makefile.
+
+       * ircd/ircd_lexer.l, ircd/ircd_parser.y: Add new IAUTH section.
+
+       * ircd/s_conf.c: Notify IAUTH code when reloading a configuration
+       so that an obsolete connection can be abandoned.
+
+       * ircd/s_misc.c: Report client exits via IAUTH.
+
+       * ircd/s_user.c: If IAUTH is active and a connecting user has not
+       been checked against it, interrogate the IAUTH server.
+
+2004-06-25  Michael Poole <mdpoole@troilus.org>
+
+       * configure.in: Check for crypt.h as well.
+
+       * configure: Regenerate.
+
+       * ircd/ircd_crypt_native.c: Move XOPEN defines earlier so they
+       affect the first includes of system headers.  Include crypt.h if
+       it is available.
+
+       * ircd/umkpasswd.c: Quash a gcc warning.
+       
+2004-06-23  Michael Poole <mdpoole@troilus.org>
+
+       * doc/Authors: Add contributors to ircu2.10.11 and myself.
+
+       * ircd/gline.c: Fix buglet in my forward port of Alex Badea's fix.
+
+       * configure.in: Add missing check for inttypes.h; remove obsolete
+       display of Head-in-sand, add display of epoll() engine.
+
+       * INSTALL, INSTALL_FR, doc/readme.cvs: Update descriptions of how
+       to use SourceForge's CVS server, from the u2.10.11 branch.
+
+2003-11-09 beware <steendijk@xs4all.nl>
+
+        * ircd/s_user.c: move assigning a numeric to a local client from
+       when nick is set, to when connection becomes client, to not waste
+       numerics.
+
+2004-06-08  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ircd/parse.c: don't let rank-and-file users escape HIS
+       limitations with /jupe...
+
+2004-06-18  Alex Badea  <decampos@users.sourceforge.net>
+
+       * ircd/gline.c (gline_lookup): only return a gline if it's
+       active
+
+       * ircd/s_conf.c (find_kill): don't check for active gline,
+       since gline_lookup does now
+
+2002-11-11  hikari <shadow@undernet.org>
+       * ircd/ircd.c: added call to irc_crypt_init() - someone hurry up and 
+       modularise :P
+
+       * ircd/ircd_xopen.c: removed, superseded by new crypto system.
+
+       * ircd/ircd_crypt.c: wrote scary ircd_crypt() interface function,
+       wrote ircd_crypt_mech_register() function, various other bits 
+       designed to create a near-pluggable crypto system for ircu.  currently
+       this code also loads the various mechanisms i've written code for.
+
+       * ircd/ircd_crypt_smd5.c: imported the crypt_md5 function from 
+       elsewhere, manipulated to suit ircu, returns a salted MD5 password.
+
+       * ircd/ircd_crypt_native.c: replaces the old ircd_xopen.c file,
+       generate a crypted password using the systems native crypt() function.
+
+       * ircd/ircd_crypt_plain.c: plain text crypt mechanism, should really
+       only be used for testing purposes.
+
+       * ircd/ircd_md5.c: main gubbins of the MD5 hashing code, lifted from
+       elsewhere, ircuified.
+
+       * ircd/umkpasswd.c: mkpasswd program for ircu.
+
+       * include/ircd_xopen.h: removed, superseded by new crypto system.
+
+       * include/ircd_crypt.h: external definitions for the new ircd_crypt()
+       function and definition of the ircd_crypt_mech structure for containing
+       crypto mechanism data.
+
+       * include/ircd_crypt_smd5.h: sundary definitions for the salted MD5
+       mechanism.
+
+       * include/ircd_crypt_native.h: sundary definitions for the native 
+       crypt() mechanism.
+
+       * include/ircd_crypt_plain.h: sundary definitions for the plain text
+       mechanism.
+
+       * include/umkpasswd.h: fluff for umkpasswd.
+
+2003-03-11  Landon Fuller (landonf) <landonf@sf.net>
+
+       * configure.in: allow ircu to build on OS X.
+
+2004-05-24  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_invite.c (m_invite): Include channel name in invitation
+       announcements.
+       (ms_invite): Likewise, and also fix a use-before-assignment bug in
+       them.
+
+2004-05-18  Michael Poole <mdpoole@troilus.org>
+
+       Announce invitations to other channel operators.
+
+       * include/ircd_features.h, ircd/ircd_features.c
+       (ANNOUNCE_INVITES): Add new boolean feature, default off.
+
+       * include/numeric.h, ircd/s_err.c (RPL_ISSUEDINVITE): Add new
+       reply.
+
+       * include/send.h, ircd/send.c (sendcmdto_channel_butserv_butone):
+       Add 'skip' parameter that is needed elsewhere.
+       (sendcmdto_channel_servers_butone): New function.
+
+       * ircd/channel.c, ircd/m_burst.c, ircd/m_kick.c, ircd/m_topic.c,
+       ircd/s_user.c: Add argument for 'skip' to calls to s_c_b_b.
+
+       * ircd/m_invite.c (m_invite, ms_invite): If ANNOUNCE_INVITES, send
+       the INVITE message to all interested servers, and send a numeric
+       to all local chanops.
+
+2004-05-18  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/res_adns.c (res_ourserver): Remove unused function.
+       (validate_name): Likewise.
+
+2004-05-17  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_features.h, ircd/ircd_features.c, ircd/s_debug.c:
+       Rip out feature settings related to oper privileges.
+
+       * include/client.h: Comment a few unexplained privileges.
+
+       * ircd/ircd_lexer.l: Rename privilege keywords to match their
+       names in code and /PRIVS output.  Add support for two "new"
+       privileges (FORCE_OPMODE, FORCE_LOCAL_OPMODE).
+
+       * include/class.h, ircd/client.c, ircd/ircd_parser.y,
+       ircd/m_oper.c: Replace the removed feature settings with
+       per-connection class operator privileges.
+
+       * doc/example.conf: Document the change.
+
+       * ircd/ircd_parser.y (portblock): Fix slight memory leak.
+
+2004-05-16  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Make this show the new NICKLEN default.
+
+2004-05-14  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ircd/ircd_features.c: per CFV-0243, NICKLEN default is increased
+       to 12
+
+2004-05-14  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_user.c: process account creation timestamp if present in
+       user mode portion of a N protocol message; add account creation
+       timestamp to outgoing N protocol messages if that timestamp is
+       non-zero
+
+       * ircd/m_account.c: process account creation timestamp if present
+       in AC protocol message
+
+       * include/struct.h: add account creation timestamp
+
+2004-05-16  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Document operator privilege settings.
+
+2004-05-16  Michael Poole <mdpoole@troilus.org>
+
+       Get rid of CONF_LOCOP; use PRIV_PROPAGATE instead.
+
+       * ircd/ircd_parser.y (invert): New variable.
+       (operlocal): Remove production.
+       (operpriv): Use "invert" variable.
+       (privtype): Add LOCAL alternative production.
+
+       * ircd/m_oper.c (m_oper): Remove references to CONF_LOCOP; replace
+       with CONF_OPERATOR or PRIV_PROPAGATE checks, as appropriate.
+
+       * ircd/s_conf.c (AuthorizationCheckResult, find_conf_exact):
+       Likewise.
+
+       * ircd/s_stats.c (report_array, statsinfo): Likewise.
+
+       * ircd/s_user.c (set_user_mode): Likewise.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * patches/diffs/astralnet.diff, patches/diffs/nocfv.diff: Remove
+       patches obsoleted by F: lines.
+
+       * patches/diffs/topicburst.diff: Remove patch that was integrated
+       into the main code.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-05 -MDP]
+
+       * ircd/m_whois.c: On remote whois, show +s local channels with a *
+       prefix to opers.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * include/gline.h, ircd/gline.c, ircd/s_err.c: Forward port a lot
+       of gline-related fixes from 2.10.11.  Things that work are due to
+       Kev, Isomer, Spike, hikari, and probably others; CVS makes it hard
+       to figure out who did what.  Any mistakes are mine.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-05 -MDP]
+
+       * ircd/s_misc.c, ircd/s_user.c: added numnick to SNO_CONNEXIT
+       messages (so you can match EXIT's to CONN's)
+
+2004-05-15  Reed Loden <reed@reedloden.com>
+
+       [Original ChangeLog date: 2003-05-01 -MDP]
+
+       * ircd/s_err.c: Added network to text and edited 001 a bit.
+
+       * ircd/s_user.c: Send network with 001.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_user.c (add_target): Move free target invite check...
+
+       * ircd/s_user.c (check_target_limit): to here, matching 2.10.11's
+       behavior.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-23 -MDP]
+
+       * ircd/s_user.c: Don't credit users with an extra attempt if they
+       are klined/glined, throttle them!
+
+2004-05-15  Jeekay <jeekay@netgamers.org>
+
+       [Original ChangeLog date: 2003-04-24 -MDP]
+
+       * ircd/s_user.c: Altered (K-lined) to depend on find_kill type
+
+2004-05-15  splidge <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2003-09-03 -MDP]
+
+       * ircd/s_user.c: Made hide_hostmask() not show bogus joins for
+       channels where the user is a zombie.
+
+2004-05-15  beware <steendijk@xs4all.nl>
+
+       [Original ChangeLog date: 2003-10-25 -MDP]
+       
+        * ircd/m_whois.c: Fixed /whois comma separated list with wildcards
+       cpu hog bug
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_conf.c (rehash): Call clear_quarantines on rehash since
+       2.10.11 does.  Show ident and IP for clients being killed by new
+       G-lines and K-lines.
+
+2004-05-15  hikari <shadow@undernet.org>
+
+       [Original ChangeLog date: 2003-06-27 -MDP]
+       
+       * ircd/ircd.c: After thought, update the next check time based on
+       when an unregistered client should expire.
+
+2004-05-15   hikari <shadow@undernet.org>
+
+       [Original ChangeLog date: 2003-06-22 -MDP]
+
+       * ircd/ircd.c: Fixed check_pings() - shouldn't be any problem with
+       clients not being able to connect anymore.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (can_join): Revert to using IsInvited() rather
+       than walking the list directly.
+       (modebuf_flush_int): Fix errant HEAD_IN_SAND_SNOTICES check to
+       use feature_bool(FEAT_HIS_SNOTICES) instead.
+
+2004-05-15  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2004-01-31 -MDP]
+
+       * ircd/channel.c (mode_parse_key): don't allow , in keys!
+
+2003-04-12  David Mansell (splidge) <splidge@sf.net>
+
+       [Original ChangeLog date: 2003-04-14 -MDP]
+
+       * ircd/channel.c: When keys and limits conflict on burst, the key
+       which is first alphabetically or the limit which is lower will be 
+       used by both servers. This matches pre-2.10.11 behaviour.  
+       Closes: (#713930)
+
+2004-05-15  David Mansell <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2002-12-28 -MDP]
+
+       * ircd/channel.c (mode_parse_limit): don't allow -l when no limit is
+       set, don't allow -l with negative parameter (or unsigned >2^31).
+2004-05-15  David Mansell <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2002-12-31 -MDP]
+
+       * ircd/m_burst.c (ms_burst): when kicking net riders, clear
+       invites too.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-04 -MDP]
+
+       * ircd/s_serv.c: Burst glines/jupes early
+
+2004-05-15  volta <volta2@gmx.de>
+
+       [Original ChangeLog date: 2003-04-26 -MDP]
+
+         * ircd/m_userip.c, ircd/m_userhost.c: Small fix, that
+         allows users to see their own ip & hostname. (Should solve
+         all problems with dcc)
+
+2004-05-15  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2003-06-13 -MDP]
+
+       * ircd/m_settime.c: it's supposed to be %ld, not %l
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2004-03-20 -MDP]
+
+       * ircd/m_invite.c: Disallow invites to non existant channels
+
+2004-05-15  David Mansell <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2003-04-26 -MDP]
+
+       * ircd/m_invite.c: let +k users invite into channels they aren't on.
+
+2004-05-15  hikari <shadow@undernet.org>
+
+       [Original ChangeLog date: 2003-07-13 -MDP]
+       
+       * ircd/IPcheck.c: Fixed (another) overflow problem in
+       ip_registry_check_local()
+
+       [Original ChangeLog date: 2003-06-29 -MDP]
+
+       * ircd/IPcheck.c: Fixed overflow problem in
+       ip_registry_connect_fail()
+
+2004-05-15 Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-05-02 -MDP]
+       
+       * ircd/IPcheck.c: Added assert()'s to check for underflow
+
+2004-05-15  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2003-11-22 -MDP]
+
+       * tools/wrapper.c: commit uid on chroot fix from ubra
+
+       * ircd/version.c.SH: fix generation generation
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-23 -MDP]
+       
+       * ircd/os_*.c, ircd/ircd_features.c: Default changing window sizes
+       to off.  if an admin is smart enough to understand these features
+       they can enable them manually.
+
+2004-05-15  splidge  <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2003-03-26 -MDP]
+
+       * ircd/include/ircd_features.h, include/ircd_osdep.h,
+         ircd/ircd_features.c, ircd/listener.c, ircd/os_bsd.c, 
+         ircd/os_generic.c, ircd/os_linux.c, ircd/os_openbsd.c
+         ircd/os_solaris.c, ircd/s_bsd.c: Patch to allow socket bufs to be 
+         altered via F: lines
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-18 -MDP]
+
+       * ircd/s_auth.c, ircd/res_libresolv.c, ircd/res_adns.c: Clean up
+       the preregistration subsystem allowing customisation of timers,
+       make the dns resolver stats oper only, and make it much more clear
+       what all the numbers are.
+
+2004-05-15  Spike <spike@undernet.org>
+
+       [Original ChangeLog date: 2003-11-23 -MDP]
+
+       * ircd/IPcheck.c: Make IPcheck constants configurable
+
+2004-05-14  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2003-11-22 -MDP]
+
+       * ircd/m_nick.c (m_nick): truncate the nickname to the minimum of
+       the maximum allowed length (NICKLEN) or the allowed nickname
+       length specified as the NICKLEN feature
+
+       * ircd/ircd_features.c: declare NICKLEN and set its default value
+       to 9
+
+       * include/supported.h: add MAXNICKLEN to ISUPPORT and do a little
+       rearranging...
+
+       * include/ircd_features.h: add NICKLEN feature
+
+       * include/ircd_defs.h (NICKLEN): raise max NICKLEN to 15
+
+       * doc/readme.features: document new NICKLEN feature
+
+       * doc/example.conf: list new NICKLEN F-line
+
+2004-05-14  Matthias Crauwels <ultimate_@wol.be>
+
+       [Original ChangeLog date: 2003-06-08 -MDP]
+       
+       * ircd/gline.c: fixed the counting bug in gline_memory_count
+       * ircd/jupe.c: fixed the counting bug in jupe_memory_count
+
+2004-05-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_mode.c (ms_mode): Do not always try to call
+       set_user_mode() when parv[1] is a channel name.
+
 2004-05-10  Michael Poole <mdpoole@troilus.org>
 
        Implement a per-connection-class default usermode option.
        * ircd/res_adns.c: included sys/types.h, for non-Linux
        headers
 
->>>>>>> 1.388
 2003-03-06  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * libs/dbprim: database primitives library, including