]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2007/005551.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2007 / 005551.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Services Protocol for InspIRCd 1.2
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Services%20Protocol%20for%20InspIRCd%201.2&In-Reply-To=47382f87.75670%40msgid.achurch.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="005550.html">
11 <LINK REL="Next" HREF="005552.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Services Protocol for InspIRCd 1.2</H1>
15 <B>Robin Burchell</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Services%20Protocol%20for%20InspIRCd%201.2&In-Reply-To=47382f87.75670%40msgid.achurch.org"
17 TITLE="[IRCServices] Services Protocol for InspIRCd 1.2">surreal.w00t at gmail.com
18 </A><BR>
19 <I>Mon Nov 12 03:03:18 PST 2007</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005550.html">[IRCServices] Services Protocol for InspIRCd 1.2
22 </A></li>
23 <LI>Next message: <A HREF="005552.html">[IRCServices] Services Protocol for InspIRCd 1.2
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5551">[ date ]</a>
27 <a href="thread.html#5551">[ thread ]</a>
28 <a href="subject.html#5551">[ subject ]</a>
29 <a href="author.html#5551">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>It probably wouldn't take (much) modification.
35
36 The way we quick-converted our source base over was more or less:
37 - Convert FindNick to find by UID if isdigit(*nick)
38 - Store UID in the user structure (you'll need to generate/store for
39 pseudoclients too, though, I guess. Though that code isn't too
40 complicated.)
41 - ???
42 - Profit!
43
44 That said, it may be a little more complex with services, depending on
45 how many functions are hardwired to send with nickname instead of UID.
46 As I recall, Services keeps a lot of these in core - when it would be
47 better served relegating some of the heavy lifting of formatting
48 messages, etc, to protocol modules.
49
50 Still. We'll wait and see, I guess. :)
51
52 On Nov 12, 2007 10:46 AM, Andrew Church &lt;<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>&gt; wrote:
53 &gt;<i> Hmm. This is certainly an interesting (and useful) feature, but it may
54 </I>&gt;<i> be incompatible with the design of Services, which assumes (among other
55 </I>&gt;<i> things) that prefixes and command targets are nicknames. I'll give it
56 </I>&gt;<i> some more thought when I have time, but I may not be able to support
57 </I>&gt;<i> this.
58 </I>&gt;<i>
59 </I>&gt;<i>
60 </I>&gt;<i> --Andrew Church
61 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
62 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
63 </I>&gt;<i>
64 </I>&gt;<i> &gt;To clarify exactly what this does..
65 </I>&gt;<i> &gt;
66 </I>&gt;<i> &gt;Each server has a unique ID (e.g. 000), and each user additionally has
67 </I>&gt;<i> &gt;their own ID (e.g. AAAAAA). The two are combined to make a unique
68 </I>&gt;<i> &gt;identifier which is then used network-wide for all server to server
69 </I>&gt;<i> &gt;traffic.
70 </I>&gt;<i> &gt;
71 </I>&gt;<i> &gt;e.g.
72 </I>&gt;<i> &gt;
73 </I>&gt;<i> &gt;:000AAAAAA KILL 001AAAAAA :spammer! get off the network
74 </I>&gt;<i> &gt;
75 </I>&gt;<i> &gt;instead of
76 </I>&gt;<i> &gt;:Admin KILL spammer :spammer! get off my network.
77 </I>&gt;<i> &gt;
78 </I>&gt;<i> &gt;Another example is that instead of KILLing users on nick collision, we
79 </I>&gt;<i> &gt;may simply force them to their UID. A useful feature for services
80 </I>&gt;<i> &gt;authors will be to do the same instead of rolling their own guest
81 </I>&gt;<i> &gt;nicks.
82 </I>&gt;<i> &gt;
83 </I>&gt;<i> &gt;Further discussion on what this is and examples of problems it solves
84 </I>&gt;<i> &gt;can be found at <A HREF="http://www.inspircd.org/wiki/Development/UID">http://www.inspircd.org/wiki/Development/UID</A>
85 </I>&gt;<i> &gt;
86 </I>&gt;<i> &gt;On Nov 11, 2007 1:22 PM, Craig Edwards &lt;<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">brain at winbot.co.uk</A>&gt; wrote:
87 </I>&gt;<i> &gt;&gt; Yes the 1.2 protocol is different to 1.1.
88 </I>&gt;<i> &gt;&gt; The 1.2 release isnt even due for beta until at least the new year,
89 </I>&gt;<i> &gt;&gt; there is no rush, however, please note that the 1.2 protocol uses UUID
90 </I>&gt;<i> &gt;&gt; for identifying clients. This prevents a whole boatload of race
91 </I>&gt;<i> &gt;&gt; conditions that plague irc, but makes it slightly difficult for services
92 </I>&gt;<i> &gt;&gt; authors. A hash that associates uuids with nicks and servers would be
93 </I>&gt;<i> &gt;&gt; required.
94 </I>&gt;<i> &gt;&gt;
95 </I>&gt;<i> &gt;&gt; Brain
96 </I>&gt;<i> &gt;&gt;
97 </I>&gt;<i> &gt;&gt;
98 </I>&gt;<i> &gt;&gt; Casey wrote:
99 </I>&gt;<i> &gt;&gt; &gt; Hi Andrew
100 </I>&gt;<i> &gt;&gt; &gt;
101 </I>&gt;<i> &gt;&gt; &gt; I haven't got InspIRCd 1.2 - it is being worked on.
102 </I>&gt;<i> &gt;&gt; &gt;
103 </I>&gt;<i> &gt;&gt; &gt; I would have thought the protocol would need to be updated for 1.2
104 </I>&gt;<i> &gt;&gt; &gt;
105 </I>&gt;<i> &gt;&gt; &gt;
106 </I>&gt;<i> &gt;&gt; &gt; - Casey
107 </I>&gt;<i> &gt;&gt; &gt;
108 </I>&gt;<i> &gt;&gt; &gt;
109 </I>&gt;<i> &gt;&gt; &gt;
110 </I>&gt;<i> &gt;&gt; &gt; Andrew Church wrote:
111 </I>&gt;<i> &gt;&gt; &gt;&gt;&gt; Will the Services Protocol for InspIRCd 1.2 be coming soon?
112 </I>&gt;<i> &gt;&gt; &gt;&gt;&gt;
113 </I>&gt;<i> &gt;&gt; &gt;&gt; Does the current protocol module not work with InspIRCd 1.2? If not,
114 </I>&gt;<i> &gt;&gt; &gt;&gt; I'll look into updating it.
115 </I>&gt;<i> &gt;&gt; &gt;&gt;
116 </I>&gt;<i> &gt;&gt; &gt;&gt; --Andrew Church
117 </I>&gt;<i> &gt;&gt; &gt;&gt; <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
118 </I>&gt;<i> &gt;&gt; &gt;&gt; <A HREF="http://achurch.org/">http://achurch.org/</A>
119 </I>&gt;<i> &gt;&gt; &gt;&gt; ------------------------------------------------------------------
120 </I>&gt;<i> &gt;&gt; &gt;&gt; To unsubscribe or change your subscription options, visit:
121 </I>&gt;<i> &gt;&gt; &gt;&gt; <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
122 </I>&gt;<i> &gt;&gt; &gt;&gt;
123 </I>&gt;<i> &gt;&gt; &gt; ------------------------------------------------------------------
124 </I>&gt;<i> &gt;&gt; &gt; To unsubscribe or change your subscription options, visit:
125 </I>&gt;<i> &gt;&gt; &gt; <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
126 </I>&gt;<i> &gt;&gt; ------------------------------------------------------------------
127 </I>&gt;<i> &gt;&gt; To unsubscribe or change your subscription options, visit:
128 </I>&gt;<i> &gt;&gt; <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
129 </I>&gt;<i> &gt;&gt;
130 </I>&gt;<i> &gt;------------------------------------------------------------------
131 </I>&gt;<i> &gt;To unsubscribe or change your subscription options, visit:
132 </I>&gt;<i> &gt;<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
133 </I>&gt;<i> ------------------------------------------------------------------
134 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
135 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
136 </I>&gt;<i>
137 </I></PRE>
138
139
140 <!--endarticle-->
141 <HR>
142 <P><UL>
143 <!--threads-->
144 <LI>Previous message: <A HREF="005550.html">[IRCServices] Services Protocol for InspIRCd 1.2
145 </A></li>
146 <LI>Next message: <A HREF="005552.html">[IRCServices] Services Protocol for InspIRCd 1.2
147 </A></li>
148 <LI> <B>Messages sorted by:</B>
149 <a href="date.html#5551">[ date ]</a>
150 <a href="thread.html#5551">[ thread ]</a>
151 <a href="subject.html#5551">[ subject ]</a>
152 <a href="author.html#5551">[ author ]</a>
153 </LI>
154 </UL>
155
156 </body></html>