CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_11_06
Commit time: 2003-11-22 13:19:16 UTC

Modified files:
  Tag: u2_10_11_06
     ChangeLog ircd/s_user.c

Log message:

Author: Isomer <[EMAIL PROTECTED]>
Log message:

Make sure we throttle glined/klined users, don't give them a free connect
under any circumstance.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.129.2.20 ircu2.10/ChangeLog:1.290.2.129.2.21
--- ircu2.10/ChangeLog:1.290.2.129.2.20 Sat Nov 22 05:07:16 2003
+++ ircu2.10/ChangeLog  Sat Nov 22 05:19:04 2003
@@ -1,4 +1,8 @@
 2003-11-23 Isomer <[EMAIL PROTECTED]>
+       * ircd/s_user.c: Don't credit users with an extra attempt if they
+       are klined/glined, throttle them!
+
+2003-11-23 Isomer <[EMAIL PROTECTED]>
        * 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.
Index: ircu2.10/ircd/s_user.c
diff -u ircu2.10/ircd/s_user.c:1.52.2.16.2.4 ircu2.10/ircd/s_user.c:1.52.2.16.2.5
--- ircu2.10/ircd/s_user.c:1.52.2.16.2.4        Mon Nov 10 00:14:19 2003
+++ ircu2.10/ircd/s_user.c      Sat Nov 22 05:19:05 2003
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: s_user.c,v 1.52.2.16.2.4 2003/11/10 08:14:19 isomer Exp $
+ * $Id: s_user.c,v 1.52.2.16.2.5 2003/11/22 13:19:05 isomer Exp $
  */
 #include "config.h"
 
@@ -433,7 +433,6 @@
         && strcmp(cli_passwd(sptr), aconf->passwd))
     {
       ServerStats->is_ref++;
-      IPcheck_connect_fail(cli_ip(sptr));
       send_reply(sptr, ERR_PASSWDMISMATCH);
       return exit_client(cptr, sptr, &me, "Bad Password");
     }
@@ -443,7 +442,6 @@
      */
     if ((killreason=find_kill(sptr))) {
       ServerStats->is_ref++;
-      IPcheck_connect_fail(cli_ip(sptr));
       return exit_client(cptr, sptr, &me,
         killreason == -1 ? "K-lined" : "G-lined");
     }
----------------------- End of diff -----------------------

Reply via email to