]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
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.4.00.9910011031290.5132-100000%40jozeph.globalmedia.com.br"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="000163.html"> | |
11 | <LINK REL="Next" HREF="000166.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] AKILL *@* Lame IRCops Protection.</H1> | |
15 | <B>Kevin</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.4.00.9910011031290.5132-100000%40jozeph.globalmedia.com.br" | |
17 | TITLE="[IRCServices] AKILL *@* Lame IRCops Protection.">lebleu at prefer.net | |
18 | </A><BR> | |
19 | <I>Fri Oct 1 08:03:20 PDT 1999</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="000163.html">[IRCServices] AKILL *@* Lame IRCops Protection. | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="000166.html">[IRCServices] AKILL *@* Lame IRCops Protection. | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#165">[ date ]</a> | |
27 | <a href="thread.html#165">[ thread ]</a> | |
28 | <a href="subject.html#165">[ subject ]</a> | |
29 | <a href="author.html#165">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE> | |
35 | On Fri, 1 Oct 1999, Jozenobio de Melo Brasil wrote: | |
36 | ||
37 | ><i> I has maked a good protection for services if lame ircops try | |
38 | </I>><i> akill *@*... this protection can be used on akick too. | |
39 | </I>><i> | |
40 | </I>><i> Thanks all... :) | |
41 | </I>><i> | |
42 | </I>><i> /* Lame IRCops Protection by Jozeph'99 */ | |
43 | </I>><i> if (s) { | |
44 | </I>><i> s++; | |
45 | </I>><i> i = 0; | |
46 | </I>><i> while (*s) { | |
47 | </I>><i> if (*s != '*' && *s != '.') | |
48 | </I>><i> i++; | |
49 | </I>><i> s++; | |
50 | </I>Note: This line is indented wrong, s++ isn't dependent on the if | |
51 | statement! | |
52 | ><i> } | |
53 | </I>><i> if (i<4) { | |
54 | </I>><i> wallops(s_OperServ, "%s tried to akill add %s!", | |
55 | </I>><i> u->nick, mask); | |
56 | </I>><i> return; | |
57 | </I>><i> } | |
58 | </I>><i> } | |
59 | </I>><i> /* End Lame IRCops Protection */ | |
60 | </I> | |
61 | If I understand right, this looks for any non-wildcard characters in the | |
62 | mask, and counts how many, which is good... but why not eliminate @ and ! | |
63 | as well, and make the test i < 1 or 1 < 2? Of course, then there's the | |
64 | question of what the shortest reasonable akill is... is akilling *@*.uk | |
65 | reasonable? *@*.net? Maybe it should stay at i < 4, but exclude the @ | |
66 | too, that way the shortest bans possible would be stuff like *@a*.net or | |
67 | *@*.co.uk... perhaps even require 5 chars? | |
68 | ||
69 | I think it would be good to add this patch, or perhaps a slight | |
70 | modification of it, to services. Should log the attempt though, not just | |
71 | wallop it, so that it can be verified later if no one with sufficient | |
72 | authority is on when it happens. (e.g. only one irc op is on when they do | |
73 | this...) | |
74 | ||
75 | --Kevin | |
76 | ||
77 | -- | |
78 | PaganPaths IRC Network - irc.paganpaths.org - <A HREF="http://www.paganpaths.org/">http://www.paganpaths.org/</A> | |
79 | 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>> | |
80 | If you're reading this you're part of the mass hallucination that is Kevin | |
81 | the Blue. | |
82 | Copyright 1999 Kevin the Blue <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">LeBleu at prefer.net</A>> | |
83 | 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>> | |
84 | Wear a blue ribbon today to show your solidarity for freedom of speech on | |
85 | the Internet! | |
86 | ||
87 | --------------------------------------------------------------- | |
88 | To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A> | |
89 | with "unsubscribe ircservices" in the body, without the quotes. | |
90 | ||
91 | </PRE> | |
92 | ||
93 | <!--endarticle--> | |
94 | <HR> | |
95 | <P><UL> | |
96 | <!--threads--> | |
97 | <LI>Previous message: <A HREF="000163.html">[IRCServices] AKILL *@* Lame IRCops Protection. | |
98 | </A></li> | |
99 | <LI>Next message: <A HREF="000166.html">[IRCServices] AKILL *@* Lame IRCops Protection. | |
100 | </A></li> | |
101 | <LI> <B>Messages sorted by:</B> | |
102 | <a href="date.html#165">[ date ]</a> | |
103 | <a href="thread.html#165">[ thread ]</a> | |
104 | <a href="subject.html#165">[ subject ]</a> | |
105 | <a href="author.html#165">[ author ]</a> | |
106 | </LI> | |
107 | </UL> | |
108 | ||
109 | </body></html> |