]>
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.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="000167.html"> | |
11 | <LINK REL="Next" HREF="000169.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] AKILL *@* Lame IRCops Protection.</H1> | |
15 | <B>Andrew Kempe</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.9910010957460.25961-100000%40hades.bleu.paganpaths.org" | |
17 | TITLE="[IRCServices] AKILL *@* Lame IRCops Protection.">andrewk at icon.co.za | |
18 | </A><BR> | |
19 | <I>Fri Oct 1 13:33:01 PDT 1999</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="000167.html">[IRCServices] AKILL *@* Lame IRCops Protection. | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="000169.html">[IRCServices] Channel Successor | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#168">[ date ]</a> | |
27 | <a href="thread.html#168">[ thread ]</a> | |
28 | <a href="subject.html#168">[ subject ]</a> | |
29 | <a href="author.html#168">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>This is a general reply to this thread.... | |
35 | ||
36 | I've implemented a system whereby Services is configured to look for a | |
37 | certain number of periods (".") in the akill mask. If the mask is too | |
38 | general, and has fewer than the required periods, the mask is rejected. | |
39 | ||
40 | I'll probably also check if the mask is globally matching one (i.e. matches | |
41 | everything) and reject it too. | |
42 | ||
43 | This will only be available in the next major release of IRC Services - ETA | |
44 | is currently a month or two. | |
45 | ||
46 | Andrew | |
47 | ||
48 | (back to the books, exams and large quantities of coffee) | |
49 | ||
50 | ><i> -----Original Message----- | |
51 | </I>><i> From: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">owner-ircservices at ender.shadowfire.org</A> | |
52 | </I>><i> [mailto:<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">owner-ircservices at ender.shadowfire.org</A>]On Behalf Of Kevin | |
53 | </I>><i> Sent: 01 October 1999 17:03 | |
54 | </I>><i> To: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ender.shadowfire.org</A> | |
55 | </I>><i> Subject: Re: [IRCServices] AKILL *@* Lame IRCops Protection. | |
56 | </I>><i> | |
57 | </I>><i> | |
58 | </I>><i> | |
59 | </I>><i> On Fri, 1 Oct 1999, Jozenobio de Melo Brasil wrote: | |
60 | </I>><i> | |
61 | </I>><i> > I has maked a good protection for services if lame ircops try | |
62 | </I>><i> > akill *@*... this protection can be used on akick too. | |
63 | </I>><i> > | |
64 | </I>><i> > Thanks all... :) | |
65 | </I>><i> > | |
66 | </I>><i> > /* Lame IRCops Protection by Jozeph'99 */ | |
67 | </I>><i> > if (s) { | |
68 | </I>><i> > s++; | |
69 | </I>><i> > i = 0; | |
70 | </I>><i> > while (*s) { | |
71 | </I>><i> > if (*s != '*' && *s != '.') | |
72 | </I>><i> > i++; | |
73 | </I>><i> > s++; | |
74 | </I>><i> Note: This line is indented wrong, s++ isn't dependent on the if | |
75 | </I>><i> statement! | |
76 | </I>><i> > } | |
77 | </I>><i> > if (i<4) { | |
78 | </I>><i> > wallops(s_OperServ, "%s tried to akill add %s!", | |
79 | </I>><i> > u->nick, mask); | |
80 | </I>><i> > return; | |
81 | </I>><i> > } | |
82 | </I>><i> > } | |
83 | </I>><i> > /* End Lame IRCops Protection */ | |
84 | </I>><i> | |
85 | </I>><i> If I understand right, this looks for any non-wildcard characters in the | |
86 | </I>><i> mask, and counts how many, which is good... but why not eliminate @ and ! | |
87 | </I>><i> as well, and make the test i < 1 or 1 < 2? Of course, then there's the | |
88 | </I>><i> question of what the shortest reasonable akill is... is akilling *@*.uk | |
89 | </I>><i> reasonable? *@*.net? Maybe it should stay at i < 4, but exclude the @ | |
90 | </I>><i> too, that way the shortest bans possible would be stuff like *@a*.net or | |
91 | </I>><i> *@*.co.uk... perhaps even require 5 chars? | |
92 | </I>><i> | |
93 | </I>><i> I think it would be good to add this patch, or perhaps a slight | |
94 | </I>><i> modification of it, to services. Should log the attempt though, not just | |
95 | </I>><i> wallop it, so that it can be verified later if no one with sufficient | |
96 | </I>><i> authority is on when it happens. (e.g. only one irc op is on when they do | |
97 | </I>><i> this...) | |
98 | </I>><i> | |
99 | </I>><i> --Kevin | |
100 | </I>><i> | |
101 | </I>><i> -- | |
102 | </I>><i> PaganPaths IRC Network - irc.paganpaths.org - <A HREF="<A HREF="http://www.paganpaths.org/"">http://www.paganpaths.org/"</A>><A HREF="http://www.paganpaths.org/</A">http://www.paganpaths.org/</A</A>> | |
103 | </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>> | |
104 | </I>><i> If you're reading this you're part of the mass hallucination that is Kevin | |
105 | </I>><i> the Blue. | |
106 | </I>><i> Copyright 1999 Kevin the Blue <<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">LeBleu at prefer.net</A>> | |
107 | </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>> | |
108 | </I>><i> Wear a blue ribbon today to show your solidarity for freedom of speech on | |
109 | </I>><i> the Internet! | |
110 | </I>><i> | |
111 | </I>><i> --------------------------------------------------------------- | |
112 | </I>><i> To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A> | |
113 | </I>><i> with "unsubscribe ircservices" in the body, without the quotes. | |
114 | </I>><i> | |
115 | </I> | |
116 | --------------------------------------------------------------- | |
117 | To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A> | |
118 | with "unsubscribe ircservices" in the body, without the quotes. | |
119 | ||
120 | </PRE> | |
121 | ||
122 | <!--endarticle--> | |
123 | <HR> | |
124 | <P><UL> | |
125 | <!--threads--> | |
126 | <LI>Previous message: <A HREF="000167.html">[IRCServices] AKILL *@* Lame IRCops Protection. | |
127 | </A></li> | |
128 | <LI>Next message: <A HREF="000169.html">[IRCServices] Channel Successor | |
129 | </A></li> | |
130 | <LI> <B>Messages sorted by:</B> | |
131 | <a href="date.html#168">[ date ]</a> | |
132 | <a href="thread.html#168">[ thread ]</a> | |
133 | <a href="subject.html#168">[ subject ]</a> | |
134 | <a href="author.html#168">[ author ]</a> | |
135 | </LI> | |
136 | </UL> | |
137 | ||
138 | </body></html> |