]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/1999/000167.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 1999 / 000167.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] AKILL *@* Lame IRCops Protection.
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <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.3.96.991001090516.3707B-100000%40netsport">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000166.html">
11 <LINK REL="Next" HREF="000168.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] AKILL *@* Lame IRCops Protection.</H1>
15 <B>Jozenobio de Melo Brasil</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20AKILL%20%2A%40%2A%20Lame%20IRCops%20Protection.&In-Reply-To=Pine.LNX.3.96.991001090516.3707B-100000%40netsport"
17 TITLE="[IRCServices] AKILL *@* Lame IRCops Protection.">jozeph at globalmedia.com.br
18 </A><BR>
19 <I>Fri Oct 1 10:06:03 PDT 1999</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000166.html">[IRCServices] AKILL *@* Lame IRCops Protection.
22 </A></li>
23 <LI>Next message: <A HREF="000168.html">[IRCServices] AKILL *@* Lame IRCops Protection.
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#167">[ date ]</a>
27 <a href="thread.html#167">[ thread ]</a>
28 <a href="subject.html#167">[ subject ]</a>
29 <a href="author.html#167">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hello,
35
36 &gt;<i> So, lets say (as in my case) they do &quot;**@********&quot; or some other
37 </I>&gt;<i> variation? Would this code catch it?
38 </I>
39 Yes, it's don't add any akill *@*, or **@**, or *@***** or all
40 examples with using BAD AKILL! :)
41
42 Thanks,
43 Jozeph
44
45 &gt;<i>
46 </I>&gt;<i>
47 </I>&gt;<i> On Fri, 1 Oct 1999, Kevin wrote:
48 </I>&gt;<i>
49 </I>&gt;<i> &gt; Date: Fri, 1 Oct 1999 10:03:20 -0500 (CDT)
50 </I>&gt;<i> &gt; From: Kevin &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">lebleu at prefer.net</A>&gt;
51 </I>&gt;<i> &gt; Reply-To: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ender.shadowfire.org</A>
52 </I>&gt;<i> &gt; To: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ender.shadowfire.org</A>
53 </I>&gt;<i> &gt; Subject: Re: [IRCServices] AKILL *@* Lame IRCops Protection.
54 </I>&gt;<i> &gt;
55 </I>&gt;<i> &gt;
56 </I>&gt;<i> &gt; On Fri, 1 Oct 1999, Jozenobio de Melo Brasil wrote:
57 </I>&gt;<i> &gt;
58 </I>&gt;<i> &gt; &gt; I has maked a good protection for services if lame ircops try
59 </I>&gt;<i> &gt; &gt; akill *@*... this protection can be used on akick too.
60 </I>&gt;<i> &gt; &gt;
61 </I>&gt;<i> &gt; &gt; Thanks all... :)
62 </I>&gt;<i> &gt; &gt;
63 </I>&gt;<i> &gt; &gt; /* Lame IRCops Protection by Jozeph'99 */
64 </I>&gt;<i> &gt; &gt; if (s) {
65 </I>&gt;<i> &gt; &gt; s++;
66 </I>&gt;<i> &gt; &gt; i = 0;
67 </I>&gt;<i> &gt; &gt; while (*s) {
68 </I>&gt;<i> &gt; &gt; if (*s != '*' &amp;&amp; *s != '.')
69 </I>&gt;<i> &gt; &gt; i++;
70 </I>&gt;<i> &gt; &gt; s++;
71 </I>&gt;<i> &gt; Note: This line is indented wrong, s++ isn't dependent on the if
72 </I>&gt;<i> &gt; statement!
73 </I>&gt;<i> &gt; &gt; }
74 </I>&gt;<i> &gt; &gt; if (i&lt;4) {
75 </I>&gt;<i> &gt; &gt; wallops(s_OperServ, &quot;%s tried to akill add %s!&quot;,
76 </I>&gt;<i> &gt; &gt; u-&gt;nick, mask);
77 </I>&gt;<i> &gt; &gt; return;
78 </I>&gt;<i> &gt; &gt; }
79 </I>&gt;<i> &gt; &gt; }
80 </I>&gt;<i> &gt; &gt; /* End Lame IRCops Protection */
81 </I>&gt;<i> &gt;
82 </I>&gt;<i> &gt; If I understand right, this looks for any non-wildcard characters in the
83 </I>&gt;<i> &gt; mask, and counts how many, which is good... but why not eliminate @ and !
84 </I>&gt;<i> &gt; as well, and make the test i &lt; 1 or 1 &lt; 2? Of course, then there's the
85 </I>&gt;<i> &gt; question of what the shortest reasonable akill is... is akilling *@*.uk
86 </I>&gt;<i> &gt; reasonable? *@*.net? Maybe it should stay at i &lt; 4, but exclude the @
87 </I>&gt;<i> &gt; too, that way the shortest bans possible would be stuff like *@a*.net or
88 </I>&gt;<i> &gt; *@*.co.uk... perhaps even require 5 chars?
89 </I>&gt;<i> &gt;
90 </I>&gt;<i> &gt; I think it would be good to add this patch, or perhaps a slight
91 </I>&gt;<i> &gt; modification of it, to services. Should log the attempt though, not just
92 </I>&gt;<i> &gt; wallop it, so that it can be verified later if no one with sufficient
93 </I>&gt;<i> &gt; authority is on when it happens. (e.g. only one irc op is on when they do
94 </I>&gt;<i> &gt; this...)
95 </I>&gt;<i> &gt;
96 </I>&gt;<i> &gt; --Kevin
97 </I>&gt;<i> &gt;
98 </I>&gt;<i> &gt; --
99 </I>&gt;<i> &gt; PaganPaths IRC Network - irc.paganpaths.org - <A HREF="http://www.paganpaths.org/">http://www.paganpaths.org/</A>
100 </I>&gt;<i> &gt; PPCR Pagan Internet Radio - &lt;A HREF=&quot;<A HREF="http://www.paganpaths.org/radio/&quot;">http://www.paganpaths.org/radio/&quot;</A>&gt;<A HREF="http://www.paganpaths.org/radio/&lt;/A">http://www.paganpaths.org/radio/&lt;/A</A>&gt;
101 </I>&gt;<i> &gt; If you're reading this you're part of the mass hallucination that is Kevin
102 </I>&gt;<i> &gt; the Blue.
103 </I>&gt;<i> &gt; Copyright 1999 Kevin the Blue &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">LeBleu at prefer.net</A>&gt;
104 </I>&gt;<i> &gt; PGP public key at &lt;A HREF=&quot;<A HREF="http://www.lebl.eu.org/~lebleu/mypublickey.asc&quot;">http://www.lebl.eu.org/~lebleu/mypublickey.asc&quot;</A>&gt;<A HREF="http://www.lebl.eu.org/~lebleu/mypublickey.asc&lt;/A">http://www.lebl.eu.org/~lebleu/mypublickey.asc&lt;/A</A>&gt;
105 </I>&gt;<i> &gt; Wear a blue ribbon today to show your solidarity for freedom of speech on
106 </I>&gt;<i> &gt; the Internet!
107 </I>&gt;<i> &gt;
108 </I>&gt;<i> &gt; ---------------------------------------------------------------
109 </I>&gt;<i> &gt; To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
110 </I>&gt;<i> &gt; with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
111 </I>&gt;<i> &gt;
112 </I>&gt;<i>
113 </I>&gt;<i> ---------------------------------------------------------------
114 </I>&gt;<i> To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
115 </I>&gt;<i> with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
116 </I>&gt;<i>
117 </I>
118 ---------------------------------------------------------------
119 To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
120 with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
121
122 </PRE>
123
124 <!--endarticle-->
125 <HR>
126 <P><UL>
127 <!--threads-->
128 <LI>Previous message: <A HREF="000166.html">[IRCServices] AKILL *@* Lame IRCops Protection.
129 </A></li>
130 <LI>Next message: <A HREF="000168.html">[IRCServices] AKILL *@* Lame IRCops Protection.
131 </A></li>
132 <LI> <B>Messages sorted by:</B>
133 <a href="date.html#167">[ date ]</a>
134 <a href="thread.html#167">[ thread ]</a>
135 <a href="subject.html#167">[ subject ]</a>
136 <a href="author.html#167">[ author ]</a>
137 </LI>
138 </UL>
139
140 </body></html>