--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [IRCServices] AKILL *@* Lame IRCops Protection.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20AKILL%20%2A%40%2A%20Lame%20IRCops%20Protection.&In-Reply-To=Pine.LNX.4.00.9910011031290.5132-100000%40jozeph.globalmedia.com.br">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000163.html">
+ <LINK REL="Next" HREF="000166.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[IRCServices] AKILL *@* Lame IRCops Protection.</H1>
+ <B>Kevin</B>
+ <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20AKILL%20%2A%40%2A%20Lame%20IRCops%20Protection.&In-Reply-To=Pine.LNX.4.00.9910011031290.5132-100000%40jozeph.globalmedia.com.br"
+ TITLE="[IRCServices] AKILL *@* Lame IRCops Protection.">lebleu at prefer.net
+ </A><BR>
+ <I>Fri Oct 1 08:03:20 PDT 1999</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000163.html">[IRCServices] AKILL *@* Lame IRCops Protection.
+</A></li>
+ <LI>Next message: <A HREF="000166.html">[IRCServices] AKILL *@* Lame IRCops Protection.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#165">[ date ]</a>
+ <a href="thread.html#165">[ thread ]</a>
+ <a href="subject.html#165">[ subject ]</a>
+ <a href="author.html#165">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>
+On Fri, 1 Oct 1999, Jozenobio de Melo Brasil wrote:
+
+><i> I has maked a good protection for services if lame ircops try
+</I>><i> akill *@*... this protection can be used on akick too.
+</I>><i>
+</I>><i> Thanks all... :)
+</I>><i>
+</I>><i> /* Lame IRCops Protection by Jozeph'99 */
+</I>><i> if (s) {
+</I>><i> s++;
+</I>><i> i = 0;
+</I>><i> while (*s) {
+</I>><i> if (*s != '*' && *s != '.')
+</I>><i> i++;
+</I>><i> s++;
+</I>Note: This line is indented wrong, s++ isn't dependent on the if
+statement!
+><i> }
+</I>><i> if (i<4) {
+</I>><i> wallops(s_OperServ, "%s tried to akill add %s!",
+</I>><i> u->nick, mask);
+</I>><i> return;
+</I>><i> }
+</I>><i> }
+</I>><i> /* End Lame IRCops Protection */
+</I>
+If I understand right, this looks for any non-wildcard characters in the
+mask, and counts how many, which is good... but why not eliminate @ and !
+as well, and make the test i < 1 or 1 < 2? Of course, then there's the
+question of what the shortest reasonable akill is... is akilling *@*.uk
+reasonable? *@*.net? Maybe it should stay at i < 4, but exclude the @
+too, that way the shortest bans possible would be stuff like *@a*.net or
+*@*.co.uk... perhaps even require 5 chars?
+
+I think it would be good to add this patch, or perhaps a slight
+modification of it, to services. Should log the attempt though, not just
+wallop it, so that it can be verified later if no one with sufficient
+authority is on when it happens. (e.g. only one irc op is on when they do
+this...)
+
+--Kevin
+
+--
+PaganPaths IRC Network - irc.paganpaths.org - <A HREF="http://www.paganpaths.org/">http://www.paganpaths.org/</A>
+PPCR Pagan Internet Radio - <A HREF="<A HREF="http://www.paganpaths.org/radio/"">http://www.paganpaths.org/radio/"</A>><A HREF="http://www.paganpaths.org/radio/</A">http://www.paganpaths.org/radio/</A</A>>
+If you're reading this you're part of the mass hallucination that is Kevin
+the Blue.
+Copyright 1999 Kevin the Blue <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">LeBleu at prefer.net</A>>
+PGP public key at <A HREF="<A HREF="http://www.lebl.eu.org/~lebleu/mypublickey.asc"">http://www.lebl.eu.org/~lebleu/mypublickey.asc"</A>><A HREF="http://www.lebl.eu.org/~lebleu/mypublickey.asc</A">http://www.lebl.eu.org/~lebleu/mypublickey.asc</A</A>>
+Wear a blue ribbon today to show your solidarity for freedom of speech on
+the Internet!
+
+---------------------------------------------------------------
+To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
+with "unsubscribe ircservices" in the body, without the quotes.
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000163.html">[IRCServices] AKILL *@* Lame IRCops Protection.
+</A></li>
+ <LI>Next message: <A HREF="000166.html">[IRCServices] AKILL *@* Lame IRCops Protection.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#165">[ date ]</a>
+ <a href="thread.html#165">[ thread ]</a>
+ <a href="subject.html#165">[ subject ]</a>
+ <a href="author.html#165">[ author ]</a>
+ </LI>
+ </UL>
+
+</body></html>