1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] AKILL *@* Lame IRCops Protection.
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.4.00.9910010957460.25961-100000%40hades.bleu.paganpaths.org">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000165.html">
11 <LINK REL=
"Next" HREF=
"000167.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] AKILL *@* Lame IRCops Protection.
</H1>
16 <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.9910010957460.25961-100000%40hades.bleu.paganpaths.org"
17 TITLE=
"[IRCServices] AKILL *@* Lame IRCops Protection.">gregk at netsport.org
19 <I>Fri Oct
1 09:
06:
03 PDT
1999</I>
21 <LI>Previous message:
<A HREF=
"000165.html">[IRCServices] AKILL *@* Lame IRCops Protection.
23 <LI>Next message:
<A HREF=
"000167.html">[IRCServices] AKILL *@* Lame IRCops Protection.
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#166">[ date ]
</a>
27 <a href=
"thread.html#166">[ thread ]
</a>
28 <a href=
"subject.html#166">[ subject ]
</a>
29 <a href=
"author.html#166">[ author ]
</a>
34 <PRE>So, lets say (as in my case) they do
"**@********
" or some other
35 variation? Would this code catch it?
38 On Fri,
1 Oct
1999, Kevin wrote:
40 ><i> Date: Fri,
1 Oct
1999 10:
03:
20 -
0500 (CDT)
41 </I>><i> From: Kevin
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">lebleu at prefer.net
</A>>
42 </I>><i> Reply-To:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ender.shadowfire.org
</A>
43 </I>><i> To:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ender.shadowfire.org
</A>
44 </I>><i> Subject: Re: [IRCServices] AKILL *@* Lame IRCops Protection.
47 </I>><i> On Fri,
1 Oct
1999, Jozenobio de Melo Brasil wrote:
49 </I>><i> > I has maked a good protection for services if lame ircops try
50 </I>><i> > akill *@*... this protection can be used on akick too.
52 </I>><i> > Thanks all... :)
54 </I>><i> > /* Lame IRCops Protection by Jozeph'
99 */
55 </I>><i> > if (s) {
57 </I>><i> > i =
0;
58 </I>><i> > while (*s) {
59 </I>><i> > if (*s != '*'
&& *s != '.')
62 </I>><i> Note: This line is indented wrong, s++ isn't dependent on the if
63 </I>><i> statement!
65 </I>><i> > if (i
<4) {
66 </I>><i> > wallops(s_OperServ,
"%s tried to akill add %s!
",
67 </I>><i> > u-
>nick, mask);
68 </I>><i> > return;
71 </I>><i> > /* End Lame IRCops Protection */
73 </I>><i> If I understand right, this looks for any non-wildcard characters in the
74 </I>><i> mask, and counts how many, which is good... but why not eliminate @ and !
75 </I>><i> as well, and make the test i
< 1 or
1 < 2? Of course, then there's the
76 </I>><i> question of what the shortest reasonable akill is... is akilling *@*.uk
77 </I>><i> reasonable? *@*.net? Maybe it should stay at i
< 4, but exclude the @
78 </I>><i> too, that way the shortest bans possible would be stuff like *@a*.net or
79 </I>><i> *@*.co.uk... perhaps even require
5 chars?
81 </I>><i> I think it would be good to add this patch, or perhaps a slight
82 </I>><i> modification of it, to services. Should log the attempt though, not just
83 </I>><i> wallop it, so that it can be verified later if no one with sufficient
84 </I>><i> authority is on when it happens. (e.g. only one irc op is on when they do
90 </I>><i> PaganPaths IRC Network - irc.paganpaths.org -
<A HREF=
"http://www.paganpaths.org/">http://www.paganpaths.org/
</A>
91 </I>><i> 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>>
92 </I>><i> If you're reading this you're part of the mass hallucination that is Kevin
94 </I>><i> Copyright
1999 Kevin the Blue
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">LeBleu at prefer.net
</A>>
95 </I>><i> 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>>
96 </I>><i> Wear a blue ribbon today to show your solidarity for freedom of speech on
97 </I>><i> the Internet!
99 </I>><i> ---------------------------------------------------------------
100 </I>><i> To unsubscribe, send email to
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org
</A>
101 </I>><i> with
"unsubscribe ircservices
" in the body, without the quotes.
104 ---------------------------------------------------------------
105 To unsubscribe, send email to
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org
</A>
106 with
"unsubscribe ircservices
" in the body, without the quotes.
114 <LI>Previous message:
<A HREF=
"000165.html">[IRCServices] AKILL *@* Lame IRCops Protection.
116 <LI>Next message:
<A HREF=
"000167.html">[IRCServices] AKILL *@* Lame IRCops Protection.
118 <LI> <B>Messages sorted by:
</B>
119 <a href=
"date.html#166">[ date ]
</a>
120 <a href=
"thread.html#166">[ thread ]
</a>
121 <a href=
"subject.html#166">[ subject ]
</a>
122 <a href=
"author.html#166">[ author ]
</a>