]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2007/005333.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2007 / 005333.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Bug: Kick/ban loops
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Bug%3A%20Kick/ban%20loops&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="005320.html">
11 <LINK REL="Next" HREF="005343.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Bug: Kick/ban loops</H1>
15 <B>Andy Li</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Bug%3A%20Kick/ban%20loops&In-Reply-To="
17 TITLE="[IRCServices] Bug: Kick/ban loops">andycandy212 at gmail.com
18 </A><BR>
19 <I>Sat Aug 11 19:41:35 PDT 2007</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005320.html">[IRCServices] Services 5.1pre4 released
22 </A></li>
23 <LI>Next message: <A HREF="005343.html">[IRCServices] Bug: Kick/ban loops
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5333">[ date ]</a>
27 <a href="thread.html#5333">[ thread ]</a>
28 <a href="subject.html#5333">[ subject ]</a>
29 <a href="author.html#5333">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>I was playing around with an irc server and I found 2 ways to place a
35 user in a kickban loop:
36 1) placing +e ban exceptions using the extban type ~c:#channel, where
37 it is supported, on ircds such as Unreal.
38 example:
39 * Me sets mode: +e ~c:#otherchan
40 * ChanServ sets mode: +b *!*@localhost
41 * Test was kicked by ChanServ (AKICK by Me (User has been banned from
42 the channel))
43 * Test (<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">adfy at hmm-FC8857E1</A>) has joined #chan
44 * Test was kicked by ChanServ (AKICK by Me (User has been banned from
45 the channel))
46 * Test (<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">adfy at hmm-FC8857E1</A>) has joined #chan
47 * Test was kicked by ChanServ (AKICK by Me (User has been banned from
48 the channel))
49 etc.
50
51 My suggestion: match ~c: extbans against all channels that a user is
52 on before they are kicked
53
54 2) Joining a forbidden/suspended channel and then setting an +e
55 exception quickly by either sending the 2 commands into the same
56 packet so that they are processed before services can kick them, or
57 sending the 2 cmds quickly enough so that the lag between services/the
58 network makes services unable to kick the user before he does it,
59 either with an mirc script or some other script. This could be done
60 by:
61 a program, eg send_cmd (&quot;JOIN #somechan\nMODE #somechan +e *!*@*&quot;);
62 or typing //raw join #chan $crlf mode #chan +e *!*@* in mirc.
63 eg:
64
65 -&gt; Server: join #test \n mode #test +e *!*@*
66 * Now talking in #test
67 * Test sets mode: +e *!*@*
68 * ChanServ (<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">services at services.hi2u.net</A>) has joined #test
69 * ChanServ sets mode: +b *!*@*
70 * You were kicked by ChanServ (This channel may not be used.)
71 * Attempting to rejoin channel #test
72 * You were kicked by ChanServ (This channel may not be used.)
73 * Attempting to rejoin channel #test
74 etc.
75 This could be solved by checking for matching excepts before kicking a
76 user from a forbidden chan, or enabling ChanServ to stay permenantly
77 inside a forbidden/susp'd chan until it is usable again with
78 CSInhabit.
79
80 These two methods can be easily used to harass or flood other users
81 off of irc, and, if done on a large enough scale, crash services
82 and/or the network.
83 A warning should also be placed in the manual warning people who add
84 extbans to their ircd to also enable proper checking in the services.
85 </PRE>
86
87
88
89 <!--endarticle-->
90 <HR>
91 <P><UL>
92 <!--threads-->
93 <LI>Previous message: <A HREF="005320.html">[IRCServices] Services 5.1pre4 released
94 </A></li>
95 <LI>Next message: <A HREF="005343.html">[IRCServices] Bug: Kick/ban loops
96 </A></li>
97 <LI> <B>Messages sorted by:</B>
98 <a href="date.html#5333">[ date ]</a>
99 <a href="thread.html#5333">[ thread ]</a>
100 <a href="subject.html#5333">[ subject ]</a>
101 <a href="author.html#5333">[ author ]</a>
102 </LI>
103 </UL>
104
105 </body></html>