]> jfr.im git - irc.git/blame - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2001.txt
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2001.txt
CommitLineData
3bd189cb
JR
1From dropper at softhome.net Fri Jan 26 06:57:28 2001
2From: dropper at softhome.net (Levent OZVEREN)
3Date: Sat Oct 23 23:09:11 2004
4Subject: [Ircservices-coding] subscribe dropper@softhome.net
5Message-ID: <001c01c087a8$52a870c0$a591bad5@m4l7l9>
6
7
8
9
10From andy at strugglers.net Sat Jan 27 04:18:06 2001
11From: andy at strugglers.net (Andy Smith)
12Date: Sat Oct 23 23:09:11 2004
13Subject: [Ircservices-coding] akill sanity checking
14Message-ID: <q7657tofm70rnp7cehtj2nll68anr1ebb0@4ax.com>
15
16Hi,
17
18There's a FIXME in the ADD section of do_akill from akill.c regarding
19wanting a better way to check for an insane akill mask. I've found the
20following idea useful:
21
22 for (i = strlen(mask) - 1;
23 i > 0 && mask[i] != '@'; i--) {
24 if (! strchr("*?.", mask[i])) {
25 nonwild++;
26 }
27 }
28
29 if (AkillWildThresh && nonwild < AkillWildThresh) {
30 notice_lang(s_OperServ, u,
31 OPER_AKILL_MASK_TOO_GENERAL);
32 return;
33 }
34
35i.e. it counts from right to left in the mask checking how many characters
36there are which don't match '?', '*' or '.'. AkillWildThresh would be a
37config option, an example setting of 4 would prevent the following akills:
38
39*@*
40*@?*
41*@*?com
42*@*.com
43
44but would allow akills such as:
45
46*@*a.com
47*@foobar*
48
49Works for me, and is nicely configurable.
50
51--
52Andy Smith <andy@strugglers.net>
53
54
55From andy at strugglers.net Mon Jan 29 15:01:34 2001
56From: andy at strugglers.net (Andy Smith)
57Date: Sat Oct 23 23:09:11 2004
58Subject: [Ircservices-coding] Re: [IRCServices] Services 4.5pre0 released
59In-Reply-To: <3a74b222.15614@prima-lan.net>
60References: <3a74b222.15614@prima-lan.net>
61Message-ID: <u7ja7t8g3p9g2neuhf51d6cs4poc7ks8bu@4ax.com>
62
63On Mon, 29 Jan 2001 08:57:09 JST, achurch@achurch.org (Andrew Church) wrote:
64
65> Services 4.5pre0 has been released, and can be downloaded from:
66>
67>ftp://ftp.esper.net/ircservices/ircservices-4.5pre0.tar.gz
68
69> * Support for the DALnet Bahamut server has been improved. Note that
70> only versions 1.4.1 and later are supported (support for earlier
71> versions has been dropped).
72
73Please note that if you are using Bahamut and ircservices-4.5 then the
74ChanServ UNBAN command may not work correctly, due to this bug in Bahamut:
75
76http://ircd-devel.dal.net/jitterbug/jitterbug.cgi/incoming?id=806;expression=del_banid;user=guest
77
78Bahamut's support for SVSMODE -b only works by chance on FreeBSD, and fails
79on Linux and probably other platforms. The result is that you see the ban
80being lifted but in reality it is still there.
81
82If you don't mind editing the code of your ircd then a quick fix is very
83simple, just read the above bug report.
84
85That also explains why Dalnet's own ChanServ UNBAN command has stopped
86working for users of twisted.* and tsunami.*.
87
88--
89Andy Smith <andy@strugglers.net>
90
91
92From andrewk at icon.co.za Thu Feb 1 00:22:09 2001
93From: andrewk at icon.co.za (Andrew Kempe)
94Date: Sat Oct 23 23:09:11 2004
95Subject: [IRCServices-Coding] test
96Message-ID: <075e01c08c28$11d0c910$9c011ac4@africa.didata.local>
97
98
99
100
101From andrewk at icon.co.za Thu Feb 1 00:27:45 2001
102From: andrewk at icon.co.za (Andrew Kempe)
103Date: Sat Oct 23 23:09:11 2004
104Subject: [IRCServices-Coding] New Mailing List Software
105Message-ID: <076601c08c28$da429130$9c011ac4@africa.didata.local>
106
107The ircservices-coding mailing list has been upgraded to mailman too.
108
109Please post to this list using ircservices-coding@ircservices.za.net from
110now on. You can get support for the mailing list from:
111http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
112
113To unsubscribe mail ircservices-coding-request@ircservices.za.net with
114UNSUBSCRIBE in the subject of the email.
115
116Later, Andrew
117
118
119
120From ctackett at pirchplace.com Thu Mar 29 20:47:35 2001
121From: ctackett at pirchplace.com (C. Tackett)
122Date: Sat Oct 23 23:09:11 2004
123Subject: [IRCServices Coding] ChanServ Question
124Message-ID: <5.0.2.1.0.20010329234619.00a43dd0@scican.net>
125
126Heya Folks!
127
128I have a question :-)
129
130How do you I get the ChanServ to join the channel when an IRCop asks to
131bring it in?
132I just want the IRCops to have that power no one else..
133
134If this can be done I would love to know!
135
136
137Regards,
138
139Chris Tackett - ctackett@pirchplace.com
140The Pirch Place - http://www.PirchPlace.com
141The Internet's Leading Pirch Community
142
143-------------- next part --------------
144An HTML attachment was scrubbed...
145URL: http://lists.ircservices.za.net/pipermail/ircservices-coding/attachments/20010329/feff835d/attachment.html
146From jpinto17 at visteon.com Thu Mar 29 22:58:03 2001
147From: jpinto17 at visteon.com (Pinto, Joao luis (J.M.))
148Date: Sat Oct 23 23:09:11 2004
149Subject: [IRCServices Coding] ChanServ Question
150Message-ID: <200103300658.f2U6wLX17595@dymwsm09.mailwatch.com>
151
152Just
153/OperServ raw :ChanServ JOIN #Chan
154anyway you should not play with raw command, unless you know what you are
155doing.
156
157Lamego@PTlink.net
158PTlink Tech Admin
159http://www.ptlink.net
160
161-----Original Message-----
162From: C. Tackett [mailto:ctackett@pirchplace.com]
163Sent: 30 March 2001 05:48
164To: ircservices-coding@ircservices.za.net
165Subject: [IRCServices Coding] ChanServ Question
166
167
168Heya Folks!
169
170I have a question :-)
171
172How do you I get the ChanServ to join the channel when an IRCop asks to
173bring it in?
174I just want the IRCops to have that power no one else..
175
176If this can be done I would love to know!
177
178
179Regards,
180
181Chris Tackett - ctackett@pirchplace.com
182The Pirch Place - http://www.PirchPlace.com
183The Internet's Leading Pirch Community
184
185
186
187From achurch at achurch.org Thu Dec 13 23:22:05 2001
188From: achurch at achurch.org (Andrew Church)
189Date: Sat Oct 23 23:09:11 2004
190Subject: [IRCServices Coding] Version 5.0 alpha release available
191Message-ID: <3c18b9d4.67533@achurch.org>
192
193 Well, it's taken a while, but Services 5.0 has finally begun to take a
194reasonable shape (other than "completely jumbled and in little teensy bits")
195and I've decided to release a public alpha test version.
196
197 Before you all start jumping for joy, bear in mind that this is an
198ALPHA TEST VERSION--this means that it is known to have bugs, and quite a
199few of them, and is absolutely NOT for use on a production network. About
200the only thing that should work is compiling, and I won't even guarantee
201that. DO NOT DOWNLOAD THIS VERSION unless you intend to help find (and
202fix!) bugs, or translate the new language files. If I get any complaints
203about an alpha release being broken, causing problems on someone's network,
204or anything like that, I won't release any more alpha versions, and you'll
205just have to wait longer.
206
207 Furthermore, all discussion on the 5.0 alpha release should go to this
208list, ircservices-coding. Discussion (except possibly feature requests, if
209I'm in a good mood) about the alpha release on this list will NOT be
210tolerated, and offenders may be forcibly removed from the list.
211
212 If you still want to download the alpha version, visit the Services
213home page (http://www.ircservices.za.net/) for information. (I won't post
214a download link here because (1) it will change as versions go up, or if I
215take it down entirely, and (2) I want people to see the warnings I put up
216before downloading it.)
217
218 Also, I'll be busy or out of town with year-end activities for most of
219the rest of the year, so I may not be able to respond quickly to mail;
220please be patient, as always.
221
222 --Andrew Church
223 achurch@achurch.org
224 http://achurch.org/
225
226From mark at mhetherington.demon.co.uk Thu Dec 13 14:42:45 2001
227From: mark at mhetherington.demon.co.uk (Mark Hetherington)
228Date: Sat Oct 23 23:09:11 2004
229Subject: [IRCServices Coding] Services 5
230Message-ID: <NFBBKFAFGLNBHGEDBKDMMEGACHAA.mark@mhetherington.demon.co.uk>
231
232Firstly, thanks to Andrew for releasing the alpha version. Hopefully he will
233not feel that he has to later remove this opportunity.
234
235A few early questions that maybe Andrew or the Alpha team might be able to
236comment on.
237
2381) Do we have any idea on time scale for development beyond alpha? I
239understand that it is a difficult question to answer given RL committments
240but based on work so far and this extended open test hopefully highlighting
241major issues quite quickly, might make it easier to provide an estimate.
242
2432) Despite the warning not to run the alpha on a production network, it does
244seem to be the best place to run it since it will give a much more realistic
245test of the code. It is also very tempting to upgrade :) To this end, are
246there specific known issues at this time with the current build that would
247make it completely impractical to run on a small production network? The
248"knownbugs" file does not seem to have anything specific to Services 5 and
249nothing serious mentioned either way but those who have already had chance
250to play with Services 5 may have a good idea of things that would make it
251unsuitable for risking in a production environment.
252
2533) At present we seem to be restricted to the mailing list for bug reporting
254and discussion which makes the process qyute closed. Has there been any
255thought given to providing some kind of online tracking system which would
256both show what bugs are currently known and their status? Maybe something on
257sourceforge or similar system would suffice.
258
2594) I was wondering about the reasons for AJOIN being included in Services 5.
260It seems to place an overhead on NickServ that has been handled by many IRC
261clients for a number of years. Even clients which do not specifically
262support it, but that implement perform can easily provide AJOIN
263functionality. Any client supporting scripting could easily manage an AJOIN
264list. A number of clients support dynamic AJOIN lists by offering to
265remember hannels that a user uses on a regular basis.
266
267Since part of the ethos behind IRC Services development is not to perform
268tasks that really belong in IRCd or in clients or could be scripted, it
269seems odd that firstly this system has been implemented and secondly it is
270enabled in a default configuration.
271
272Is there something specific that I am missing about this services managed
273auto join list which makes it preferable to the existing client code which
274already performs this task?
275
276
277Anyway, back to play around with the source some more.
278
279Mark.
280
281
282From beng at nc.rr.com Thu Dec 13 15:04:37 2001
283From: beng at nc.rr.com (Ben Goldstein)
284Date: Sat Oct 23 23:09:11 2004
285Subject: [IRCServices Coding] Alpha compile error
286Message-ID: <005a01c1842a$8a36e1f0$0300a8c0@asi200>
287
288gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -I../.. -c set.c -o
289set.o
290set.c: In function `do_set_timezone':
291set.c:487: wrong type argument to unary minus
292set.c:447: warning: `j' might be used uninitialized in this function
293
294487: j = ngi->timezone*60 - (-timezone);
295
296I'm not sure what this is even doing, I havn't dug into the code. But it
297doesn't seem that "timezone" alone is the correct var you meant to use here.
298
299-- Ben Goldstein (beng@nc.rr.com)
300
301bash-2.05$ uname -a
302FreeBSD raider 4.4-20010827-RC2 FreeBSD 4.4-20010827-RC2 #4: Fri Nov 16
30314:57:04 EST 2001 root@raider:/usr/obj/usr/src/sys/BG1 i386
304bash-2.05$ gmake -ver
305GNU Make version 3.79, by Richard Stallman and Roland McGrath.
306Built for i386-unknown-freebsdelf4.4
307Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
308 Free Software Foundation, Inc.
309This is free software; see the source for copying conditions.
310There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
311PARTICULAR PURPOSE.
312
313Report bugs to <bug-make@gnu.org>.
314
315
316
317From griever at t2n.org Thu Dec 13 17:53:11 2001
318From: griever at t2n.org (Finny Merrill)
319Date: Sat Oct 23 23:09:11 2004
320Subject: [IRCServices Coding] REHASH help
321Message-ID: <Pine.LNX.4.33.0112131952340.28410-100000@linux.ircd-net.org>
322
323the restricted to services admins line has a tab char at the end.
324
325
326
327From zogg at pcisys.net Thu Dec 13 18:36:16 2001
328From: zogg at pcisys.net (Ryan Riley)
329Date: Sat Oct 23 23:09:11 2004
330Subject: [IRCServices Coding] v5.0a7 - sline module
331Message-ID: <3C1965A0.3000409@pcisys.net>
332
333I just grabbed a copy of Alpha7 for a night of fun testing, but I've run
334into an issue. I did the standard install, modified the 2 example
335configs to fit my needs, and I get this on startup:
336[irc@zogg bin]$ ./services -nofork
337[Dec 13 21:30:09 2001] Services 5.0a7 starting up
338[Dec 13 21:30:09 2001] modules.conf:180: Unknown directive `LogMaxUsers'
339[Dec 13 21:30:09 2001] modules.conf:226: Unknown directive `WallGetpass'
340[Dec 13 21:30:09 2001] modules.conf:233: Unknown directive `WallSetpass'
341[Dec 13 21:30:09 2001] modules: Unable to load module `operserv/sline':
342/home/irc/devel/services/bin/lib/modules/operserv/sline.so: undefined
343symbol: protocol_features
344[Dec 13 21:30:09 2001] FATAL: Error loading modules, aborting
345
346That undefined symbol error doesn't pass by me as being a good thing, so
347I figured I'd mention it here.
348I've tried commenting out all of the operserv/sline references in
349modules.conf, but it attempts to load it anyway. (I haven't taken a
350dive into the source yet to figure out how the new module system works,
351so this could very well be normal.)
352I'm on a RedHat 7.1 machine if that makes a difference.
353
354Thanks
355Ryan Riley
356
357
358
359From grenday288 at geocities.com Thu Dec 13 20:36:09 2001
360From: grenday288 at geocities.com (Josh)
361Date: Sat Oct 23 23:09:11 2004
362Subject: [IRCServices Coding] Alpha compile error
363In-Reply-To: <005a01c1842a$8a36e1f0$0300a8c0@asi200>
364Message-ID: <3C192D59.13694.1989660C@localhost>
365
366On 13 Dec 2001, at 18:04, Ben Goldstein wrote:
367
368change like 487 in set.c to
369 j = (ngi->timezone*60 - u->ngi->timezone);
370Im pretty sure thats not what its suppose to be but its only for
371timestamp stuff and still compiles (didnt try running it yet).
372
373> gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -I../.. -c set.c -o
374> set.o
375> set.c: In function `do_set_timezone':
376> set.c:487: wrong type argument to unary minus
377> set.c:447: warning: `j' might be used uninitialized in this function
378>
379> 487: j = ngi->timezone*60 - (-timezone);
380>
381> I'm not sure what this is even doing, I havn't dug into the code. But it
382> doesn't seem that "timezone" alone is the correct var you meant to use here.
383>
384> -- Ben Goldstein (beng@nc.rr.com)
385>
386> bash-2.05$ uname -a
387> FreeBSD raider 4.4-20010827-RC2 FreeBSD 4.4-20010827-RC2 #4: Fri Nov 16
388> 14:57:04 EST 2001 root@raider:/usr/obj/usr/src/sys/BG1 i386
389> bash-2.05$ gmake -ver
390> GNU Make version 3.79, by Richard Stallman and Roland McGrath.
391> Built for i386-unknown-freebsdelf4.4
392> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
393> Free Software Foundation, Inc.
394> This is free software; see the source for copying conditions.
395> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
396> PARTICULAR PURPOSE.
397>
398> Report bugs to <bug-make@gnu.org>.
399>
400>
401> ------------------------------------------------------------------
402> To unsubscribe or change your subscription options, visit:
403> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
404
405
406-------------------------------------
407-- Josh Kirkorian [aka Poison-X]
408-- Administrator - irc.insiderz.net
409
410C Code. C code run. Run, code, run...
411Segmentation fault (core dumped).. aww shit
412
413From andrewk at isdial.net Thu Dec 13 22:41:19 2001
414From: andrewk at isdial.net (Andrew Kempe)
415Date: Sat Oct 23 23:09:11 2004
416Subject: [IRCServices Coding] Services 5
417References: <NFBBKFAFGLNBHGEDBKDMMEGACHAA.mark@mhetherington.demon.co.uk>
418Message-ID: <004901c1846a$56734800$9c011ac4@africa.didata.local>
419
420> 3) At present we seem to be restricted to the mailing list for bug
421reporting
422> and discussion which makes the process qyute closed. Has there been any
423> thought given to providing some kind of online tracking system which would
424> both show what bugs are currently known and their status? Maybe something
425on
426> sourceforge or similar system would suffice.
427
428I setup a very basic source forge project for services a while back, but
429have not been maintaining it. If Andrew is willing to use SF for bug
430tracking, I'm more than willing to start maintaining the project there. But
431it's up to Andrew, as he's the one who will be updating what has been
432changed/fixed.
433
434Andrew
435
436
437From rg at tcslon.com Fri Dec 14 01:07:59 2001
438From: rg at tcslon.com (Russell Garrett)
439Date: Sat Oct 23 23:09:11 2004
440Subject: [IRCServices Coding] Services 5
441In-Reply-To: <004901c1846a$56734800$9c011ac4@africa.didata.local>
442Message-ID: <NDBBLDHKLKMANPGMACIGCEKLCMAA.rg@tcslon.com>
443
444Just first comments on this:
445
446For an alpha, it looks great, I would put it on my (small) production
447network would it be for a rather annoying bug:
448
449IRCServices 5 seems to have a few problems shutting down... on one of
450my servers, it dumped 16Mb of "Server Segfaulting" messages to the
451log before dying, and on the second attempt dumped a similar amount
452to SNotices (granted it gave my test network a good load test ;) On
453my other server, it sapped up all the CPU, and required a reboot. (I
454was stopping services both by /squitting and by SIGTERM).
455
456Other than that, I love it :) The mailing features look pretty swish,
457and although I haven't looked at the modules much, it looks good.
458
459Keep up the good work,
460
461
462Russ Garrett (russ@garrett.co.uk)
463
464
465From achurch at achurch.org Fri Dec 14 18:43:37 2001
466From: achurch at achurch.org (Andrew Church)
467Date: Sat Oct 23 23:09:11 2004
468Subject: [IRCServices Coding] Services 5
469Message-ID: <3c19ca25.04274@achurch.org>
470
471 Looks like this didn't get through the first time, so:
472
4731) No, because I have no clue how many bugs will turn up ;) At this point
474I'm tempted to say beta in February and stable release in April or so, but
475I have absolutely no basis for saying that, so don't quote me on it.
476
4772) The notice is intended more for lamers who say "ooh it's version 5!" and
478rush to download it. Feel free to use it on your production network, as
479long as you take responsibility for any problems it causes. There aren't
480too many major issues right now that I can think of, but it's the ones I
481haven't found yet that worry me more. (One major issue I do know of is
482that rehashing modules.conf doesn't work yet and could easily break
483things.)
484
4853) Not really, mostly because it would be a pain to set up and manage.
486I may set something up once 5.0 has gone stable, but until then it's just
487too much to deal with. And I want absolutely nothing to do with the
488piece-of-shit-formerly-known-as-Sourceforge.
489
4904) For autojoin in particular, it was pointed out to me that not everyone
491always accesses IRC from the same computer, which would make client
492settings irrelevant. In general, though, with the module system, I'm a bit
493more lenient in terms of what I'll let in, since you can just disable
494modules you don't need. (And the reason for almost everything being
495enabled in the default config is so you'll all test them for me. ;) Some
496will probably be disabled in beta/final releases.)
497
498 --Andrew Church
499 achurch@achurch.org
500 http://achurch.org/
501
502>Firstly, thanks to Andrew for releasing the alpha version. Hopefully he will
503>not feel that he has to later remove this opportunity.
504>
505>A few early questions that maybe Andrew or the Alpha team might be able to
506>comment on.
507>
508>1) Do we have any idea on time scale for development beyond alpha? I
509>understand that it is a difficult question to answer given RL committments
510>but based on work so far and this extended open test hopefully highlighting
511>major issues quite quickly, might make it easier to provide an estimate.
512>
513>2) Despite the warning not to run the alpha on a production network, it does
514>seem to be the best place to run it since it will give a much more realistic
515>test of the code. It is also very tempting to upgrade :) To this end, are
516>there specific known issues at this time with the current build that would
517>make it completely impractical to run on a small production network? The
518>"knownbugs" file does not seem to have anything specific to Services 5 and
519>nothing serious mentioned either way but those who have already had chance
520>to play with Services 5 may have a good idea of things that would make it
521>unsuitable for risking in a production environment.
522>
523>3) At present we seem to be restricted to the mailing list for bug reporting
524>and discussion which makes the process qyute closed. Has there been any
525>thought given to providing some kind of online tracking system which would
526>both show what bugs are currently known and their status? Maybe something on
527>sourceforge or similar system would suffice.
528>
529>4) I was wondering about the reasons for AJOIN being included in Services 5.
530>It seems to place an overhead on NickServ that has been handled by many IRC
531>clients for a number of years. Even clients which do not specifically
532>support it, but that implement perform can easily provide AJOIN
533>functionality. Any client supporting scripting could easily manage an AJOIN
534>list. A number of clients support dynamic AJOIN lists by offering to
535>remember hannels that a user uses on a regular basis.
536>
537>Since part of the ethos behind IRC Services development is not to perform
538>tasks that really belong in IRCd or in clients or could be scripted, it
539>seems odd that firstly this system has been implemented and secondly it is
540>enabled in a default configuration.
541>
542>Is there something specific that I am missing about this services managed
543>auto join list which makes it preferable to the existing client code which
544>already performs this task?
545>
546>
547>Anyway, back to play around with the source some more.
548>
549>Mark.
550>
551>------------------------------------------------------------------
552>To unsubscribe or change your subscription options, visit:
553>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
554
555From jpinto17 at visteon.com Fri Dec 14 03:57:50 2001
556From: jpinto17 at visteon.com (Pinto, Joao luis (J.M.))
557Date: Sat Oct 23 23:09:11 2004
558Subject: [IRCServices Coding] Services 5
559Message-ID: <200112141157.fBEBvrn13721@dymwsm11.mailwatch.com>
560
561I hope other people don't know so much about ircservices as you know about
562sourceforge. You probably wouldn't like to see your project named as
563piece-of-shit-formerly-known-as-irc-services.
564
565>3) Not really, mostly because it would be a pain to set up and manage.
566>I may set something up once 5.0 has gone stable, but until then it's just
567>too much to deal with. And I want absolutely nothing to do with the
568>piece-of-shit-formerly-known-as-Sourceforge.
569
570Joao Pinto
571Lamego@PTlink.net
572
573
574-----Original Message-----
575From: achurch@achurch.org [mailto:achurch@achurch.org]
576Sent: 14 December 2001 09:44
577To: ircservices-coding@ircservices.za.net
578Subject: Re: [IRCServices Coding] Services 5
579
580
581 Looks like this didn't get through the first time, so:
582
5831) No, because I have no clue how many bugs will turn up ;) At this point
584I'm tempted to say beta in February and stable release in April or so, but
585I have absolutely no basis for saying that, so don't quote me on it.
586
5872) The notice is intended more for lamers who say "ooh it's version 5!" and
588rush to download it. Feel free to use it on your production network, as
589long as you take responsibility for any problems it causes. There aren't
590too many major issues right now that I can think of, but it's the ones I
591haven't found yet that worry me more. (One major issue I do know of is
592that rehashing modules.conf doesn't work yet and could easily break
593things.)
594
5953) Not really, mostly because it would be a pain to set up and manage.
596I may set something up once 5.0 has gone stable, but until then it's just
597too much to deal with. And I want absolutely nothing to do with the
598piece-of-shit-formerly-known-as-Sourceforge.
599
6004) For autojoin in particular, it was pointed out to me that not everyone
601always accesses IRC from the same computer, which would make client
602settings irrelevant. In general, though, with the module system, I'm a bit
603more lenient in terms of what I'll let in, since you can just disable
604modules you don't need. (And the reason for almost everything being
605enabled in the default config is so you'll all test them for me. ;) Some
606will probably be disabled in beta/final releases.)
607
608 --Andrew Church
609 achurch@achurch.org
610 http://achurch.org/
611
612>Firstly, thanks to Andrew for releasing the alpha version. Hopefully he
613will
614>not feel that he has to later remove this opportunity.
615>
616>A few early questions that maybe Andrew or the Alpha team might be able to
617>comment on.
618>
619>1) Do we have any idea on time scale for development beyond alpha? I
620>understand that it is a difficult question to answer given RL committments
621>but based on work so far and this extended open test hopefully highlighting
622>major issues quite quickly, might make it easier to provide an estimate.
623>
624>2) Despite the warning not to run the alpha on a production network, it
625does
626>seem to be the best place to run it since it will give a much more
627realistic
628>test of the code. It is also very tempting to upgrade :) To this end, are
629>there specific known issues at this time with the current build that would
630>make it completely impractical to run on a small production network? The
631>"knownbugs" file does not seem to have anything specific to Services 5 and
632>nothing serious mentioned either way but those who have already had chance
633>to play with Services 5 may have a good idea of things that would make it
634>unsuitable for risking in a production environment.
635>
636>3) At present we seem to be restricted to the mailing list for bug
637reporting
638>and discussion which makes the process qyute closed. Has there been any
639>thought given to providing some kind of online tracking system which would
640>both show what bugs are currently known and their status? Maybe something
641on
642>sourceforge or similar system would suffice.
643>
644>4) I was wondering about the reasons for AJOIN being included in Services
6455.
646>It seems to place an overhead on NickServ that has been handled by many IRC
647>clients for a number of years. Even clients which do not specifically
648>support it, but that implement perform can easily provide AJOIN
649>functionality. Any client supporting scripting could easily manage an AJOIN
650>list. A number of clients support dynamic AJOIN lists by offering to
651>remember hannels that a user uses on a regular basis.
652>
653>Since part of the ethos behind IRC Services development is not to perform
654>tasks that really belong in IRCd or in clients or could be scripted, it
655>seems odd that firstly this system has been implemented and secondly it is
656>enabled in a default configuration.
657>
658>Is there something specific that I am missing about this services managed
659>auto join list which makes it preferable to the existing client code which
660>already performs this task?
661>
662>
663>Anyway, back to play around with the source some more.
664>
665>Mark.
666>
667>------------------------------------------------------------------
668>To unsubscribe or change your subscription options, visit:
669>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
670------------------------------------------------------------------
671To unsubscribe or change your subscription options, visit:
672http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
673
674From Georges at Berscheid.lu Fri Dec 14 05:06:05 2001
675From: Georges at Berscheid.lu (Georges Berscheid)
676Date: Sat Oct 23 23:09:11 2004
677Subject: [IRCServices Coding] Version 5 (feature request)
678Message-ID: <3C19F93D.D937F198@Berscheid.lu>
679
680Hi,
681
6821. what about adding a command to dynamically load/unload modules
683without having to restart/rehash services (e.g. /operserv
684loadmod|unloadmod <modulename>) ?
6852. would it be possible to add an include function for modules.conf so
686each module (evt. coming in a package) could have its own config file.
6873. a dynamic way to include language files for modules would also be
688great, instead of having to insert your module-specific strings to a .l
689file and recompiling the whole stuff.
690
691Greetings
692
693Georges
694
695
696From achurch at achurch.org Sat Dec 15 00:02:16 2001
697From: achurch at achurch.org (Andrew Church)
698Date: Sat Oct 23 23:09:11 2004
699Subject: [IRCServices Coding] Services 5
700Message-ID: <3c1a14fb.04335@achurch.org>
701
702>I hope other people don't know so much about ircservices as you know about
703>sourceforge. You probably wouldn't like to see your project named as
704>piece-of-shit-formerly-known-as-irc-services.
705
706 Everyone's entitled to their opinions, and I suspect someone with that
707opinion wouldn't be using it in the first place so I'd never have to deal
708with them anyway.
709
710 --Andrew Church
711 achurch@achurch.org
712 http://achurch.org/
713
714>>3) Not really, mostly because it would be a pain to set up and manage.
715>>I may set something up once 5.0 has gone stable, but until then it's just
716>>too much to deal with. And I want absolutely nothing to do with the
717>>piece-of-shit-formerly-known-as-Sourceforge.
718>
719>Joao Pinto
720>Lamego@PTlink.net
721>
722>
723>-----Original Message-----
724>From: achurch@achurch.org [mailto:achurch@achurch.org]
725>Sent: 14 December 2001 09:44
726>To: ircservices-coding@ircservices.za.net
727>Subject: Re: [IRCServices Coding] Services 5
728>
729>
730> Looks like this didn't get through the first time, so:
731>
732>1) No, because I have no clue how many bugs will turn up ;) At this point
733>I'm tempted to say beta in February and stable release in April or so, but
734>I have absolutely no basis for saying that, so don't quote me on it.
735>
736>2) The notice is intended more for lamers who say "ooh it's version 5!" and
737>rush to download it. Feel free to use it on your production network, as
738>long as you take responsibility for any problems it causes. There aren't
739>too many major issues right now that I can think of, but it's the ones I
740>haven't found yet that worry me more. (One major issue I do know of is
741>that rehashing modules.conf doesn't work yet and could easily break
742>things.)
743>
744>3) Not really, mostly because it would be a pain to set up and manage.
745>I may set something up once 5.0 has gone stable, but until then it's just
746>too much to deal with. And I want absolutely nothing to do with the
747>piece-of-shit-formerly-known-as-Sourceforge.
748>
749>4) For autojoin in particular, it was pointed out to me that not everyone
750>always accesses IRC from the same computer, which would make client
751>settings irrelevant. In general, though, with the module system, I'm a bit
752>more lenient in terms of what I'll let in, since you can just disable
753>modules you don't need. (And the reason for almost everything being
754>enabled in the default config is so you'll all test them for me. ;) Some
755>will probably be disabled in beta/final releases.)
756>
757> --Andrew Church
758> achurch@achurch.org
759> http://achurch.org/
760>
761>>Firstly, thanks to Andrew for releasing the alpha version. Hopefully he
762>will
763>>not feel that he has to later remove this opportunity.
764>>
765>>A few early questions that maybe Andrew or the Alpha team might be able to
766>>comment on.
767>>
768>>1) Do we have any idea on time scale for development beyond alpha? I
769>>understand that it is a difficult question to answer given RL committments
770>>but based on work so far and this extended open test hopefully highlighting
771>>major issues quite quickly, might make it easier to provide an estimate.
772>>
773>>2) Despite the warning not to run the alpha on a production network, it
774>does
775>>seem to be the best place to run it since it will give a much more
776>realistic
777>>test of the code. It is also very tempting to upgrade :) To this end, are
778>>there specific known issues at this time with the current build that would
779>>make it completely impractical to run on a small production network? The
780>>"knownbugs" file does not seem to have anything specific to Services 5 and
781>>nothing serious mentioned either way but those who have already had chance
782>>to play with Services 5 may have a good idea of things that would make it
783>>unsuitable for risking in a production environment.
784>>
785>>3) At present we seem to be restricted to the mailing list for bug
786>reporting
787>>and discussion which makes the process qyute closed. Has there been any
788>>thought given to providing some kind of online tracking system which would
789>>both show what bugs are currently known and their status? Maybe something
790>on
791>>sourceforge or similar system would suffice.
792>>
793>>4) I was wondering about the reasons for AJOIN being included in Services
794>5.
795>>It seems to place an overhead on NickServ that has been handled by many IRC
796>>clients for a number of years. Even clients which do not specifically
797>>support it, but that implement perform can easily provide AJOIN
798>>functionality. Any client supporting scripting could easily manage an AJOIN
799>>list. A number of clients support dynamic AJOIN lists by offering to
800>>remember hannels that a user uses on a regular basis.
801>>
802>>Since part of the ethos behind IRC Services development is not to perform
803>>tasks that really belong in IRCd or in clients or could be scripted, it
804>>seems odd that firstly this system has been implemented and secondly it is
805>>enabled in a default configuration.
806>>
807>>Is there something specific that I am missing about this services managed
808>>auto join list which makes it preferable to the existing client code which
809>>already performs this task?
810>>
811>>
812>>Anyway, back to play around with the source some more.
813>>
814>>Mark.
815>>
816>>------------------------------------------------------------------
817>>To unsubscribe or change your subscription options, visit:
818>>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
819>------------------------------------------------------------------
820>To unsubscribe or change your subscription options, visit:
821>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
822>------------------------------------------------------------------
823>To unsubscribe or change your subscription options, visit:
824>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
825
826From achurch at achurch.org Sat Dec 15 00:04:56 2001
827From: achurch at achurch.org (Andrew Church)
828Date: Sat Oct 23 23:09:11 2004
829Subject: [IRCServices Coding] Version 5 (feature request)
830Message-ID: <3c1a15c3.04346@achurch.org>
831
832 All of these are things I've been thinking about, but either haven't
833gotten around to implementing yet or have decided to hold off on for the
834next version. With regard to language files in particular, I haven't come
835up with a good implementation yet for per-module language strings, but I
836figure that at least initially, people who contribute modules will do so
837with one language only (their own) so it's not that big of a deal.
838
839 --Andrew Church
840 achurch@achurch.org
841 http://achurch.org/
842
843>Hi,
844>
845>1. what about adding a command to dynamically load/unload modules
846>without having to restart/rehash services (e.g. /operserv
847>loadmod|unloadmod <modulename>) ?
848>2. would it be possible to add an include function for modules.conf so
849>each module (evt. coming in a package) could have its own config file.
850>3. a dynamic way to include language files for modules would also be
851>great, instead of having to insert your module-specific strings to a .l
852>file and recompiling the whole stuff.
853>
854>Greetings
855>
856>Georges
857>
858>------------------------------------------------------------------
859>To unsubscribe or change your subscription options, visit:
860>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
861
862From mark at mhetherington.demon.co.uk Fri Dec 14 07:51:22 2001
863From: mark at mhetherington.demon.co.uk (Mark Hetherington)
864Date: Sat Oct 23 23:09:11 2004
865Subject: [IRCServices Coding] v5.0a7 - sline module
866In-Reply-To: <3C1965A0.3000409@pcisys.net>
867Message-ID: <NFBBKFAFGLNBHGEDBKDMOEGNCHAA.mark@mhetherington.demon.co.uk>
868
869Had similar problems myself. After some digging, it seems the reason for the
870'unknown directives' is that they are stored in the table for the main
871configuration (services.conf parser init.c) rather than the module
872configuration (modules.conf parser operserv/main.c) so when parsing the
873operserv directives, the configuration parser has no access to their
874definitions. The configuration reoutine seems to ignore errors such as this
875so ultimately it should not stop services coming online, but I will result
876in those directives being ignored.
877
878Maybe the message should be altered to 'Ignored unknown directive %s' or
879'Unknown directive %s ignored'
880
881It may be a rather trivial cut/paste to address the issue but I have not
882investigated this any further at this time.
883
884The sline problem you have experienced suggests you have not loaded a
885protocol for services. Check services.conf and add in an appropriate
886LoadModule protocol/protocolname. See the comments in that section for
887information.
888
889
890Mark.
891
892> -----Original Message-----
893> From: ircservices-coding-admin@ircservices.za.net
894> [mailto:ircservices-coding-admin@ircservices.za.net]On Behalf Of Ryan
895> Riley
896> Sent: 14 December 2001 02:36
897> To: IRCServices-Coding@ircservices.za.net
898> Subject: [IRCServices Coding] v5.0a7 - sline module
899>
900>
901> I just grabbed a copy of Alpha7 for a night of fun testing, but I've run
902> into an issue. I did the standard install, modified the 2 example
903> configs to fit my needs, and I get this on startup:
904> [irc@zogg bin]$ ./services -nofork
905> [Dec 13 21:30:09 2001] Services 5.0a7 starting up
906> [Dec 13 21:30:09 2001] modules.conf:180: Unknown directive `LogMaxUsers'
907> [Dec 13 21:30:09 2001] modules.conf:226: Unknown directive `WallGetpass'
908> [Dec 13 21:30:09 2001] modules.conf:233: Unknown directive `WallSetpass'
909> [Dec 13 21:30:09 2001] modules: Unable to load module `operserv/sline':
910> /home/irc/devel/services/bin/lib/modules/operserv/sline.so: undefined
911> symbol: protocol_features
912> [Dec 13 21:30:09 2001] FATAL: Error loading modules, aborting
913>
914> That undefined symbol error doesn't pass by me as being a good thing, so
915> I figured I'd mention it here.
916> I've tried commenting out all of the operserv/sline references in
917> modules.conf, but it attempts to load it anyway. (I haven't taken a
918> dive into the source yet to figure out how the new module system works,
919> so this could very well be normal.)
920> I'm on a RedHat 7.1 machine if that makes a difference.
921>
922> Thanks
923> Ryan Riley
924>
925>
926> ------------------------------------------------------------------
927> To unsubscribe or change your subscription options, visit:
928> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
929
930
931From griever at t2n.org Fri Dec 14 11:55:40 2001
932From: griever at t2n.org (Finny Merrill)
933Date: Sat Oct 23 23:09:11 2004
934Subject: [IRCServices Coding] Services 5
935In-Reply-To: <NDBBLDHKLKMANPGMACIGCEKLCMAA.rg@tcslon.com>
936Message-ID: <Pine.LNX.4.33.0112141355220.31857-100000@linux.ircd-net.org>
937
938On Fri, 14 Dec 2001, Russell Garrett wrote:
939
940> Just first comments on this:
941>
942> For an alpha, it looks great, I would put it on my (small) production
943> network would it be for a rather annoying bug:
944>
945> IRCServices 5 seems to have a few problems shutting down... on one of
946> my servers, it dumped 16Mb of "Server Segfaulting" messages to the
947> log before dying, and on the second attempt dumped a similar amount
948> to SNotices (granted it gave my test network a good load test ;) On
949> my other server, it sapped up all the CPU, and required a reboot. (I
950> was stopping services both by /squitting and by SIGTERM).
951-dumpcore (may be to dashes) to ./configure
952>
953> Other than that, I love it :) The mailing features look pretty swish,
954> and although I haven't looked at the modules much, it looks good.
955>
956> Keep up the good work,
957>
958>
959> Russ Garrett (russ@garrett.co.uk)
960>
961> ------------------------------------------------------------------
962> To unsubscribe or change your subscription options, visit:
963> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
964>
965
966
967From zogg at pcisys.net Fri Dec 14 12:21:59 2001
968From: zogg at pcisys.net (Ryan Riley)
969Date: Sat Oct 23 23:09:11 2004
970Subject: [IRCServices Coding] Services 5
971References: <Pine.LNX.4.33.0112141355220.31857-100000@linux.ircd-net.org>
972Message-ID: <3C1A5F67.6080806@pcisys.net>
973
974Here's a backtrace from that particuliar problem.
975
976(gdb) bt
977#0 0x4015ccbc in ?? ()
978#1 0x080535fb in unload_module (module=0x812a0c8) at modules.c:406
979#2 0x08053135 in modules_exit () at modules.c:109
980#3 0x08051b90 in main (ac=1, av=0xbffffadc, envp=0xbffffae4) at main.c:406
981#4 0x4003ce5e in __libc_start_main (main=0x805177c <main>, argc=1,
982 ubp_av=0xbffffadc, init=0x804b9a4 <_init>, fini=0x8057bc0 <_fini>,
983 rtld_fini=0x4000d3c4 <_dl_fini>, stack_end=0xbffffacc)
984 at ../sysdeps/generic/libc-start.c:129
985
986Thanks
987Ryan
988
989Finny Merrill wrote:
990
991>On Fri, 14 Dec 2001, Russell Garrett wrote:
992>
993>>Just first comments on this:
994>>
995>>For an alpha, it looks great, I would put it on my (small) production
996>>network would it be for a rather annoying bug:
997>>
998>>IRCServices 5 seems to have a few problems shutting down... on one of
999>>my servers, it dumped 16Mb of "Server Segfaulting" messages to the
1000>>log before dying, and on the second attempt dumped a similar amount
1001>>to SNotices (granted it gave my test network a good load test ;) On
1002>>my other server, it sapped up all the CPU, and required a reboot. (I
1003>>was stopping services both by /squitting and by SIGTERM).
1004>>
1005>-dumpcore (may be to dashes) to ./configure
1006>
1007>>Other than that, I love it :) The mailing features look pretty swish,
1008>>and although I haven't looked at the modules much, it looks good.
1009>>
1010>>Keep up the good work,
1011>>
1012>>
1013>>Russ Garrett (russ@garrett.co.uk)
1014>>
1015>>------------------------------------------------------------------
1016>>To unsubscribe or change your subscription options, visit:
1017>>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1018>>
1019>
1020>------------------------------------------------------------------
1021>To unsubscribe or change your subscription options, visit:
1022>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1023>
1024>
1025
1026
1027
1028
1029From v13 at priest.com Fri Dec 14 12:12:44 2001
1030From: v13 at priest.com (v13@priest.com)
1031Date: Sat Oct 23 23:09:11 2004
1032Subject: [IRCServices Coding] coding... (svcs 5)
1033Message-ID: <200112142012.WAA03993@ppp0.the.forthnet.gr>
1034
1035For services 5:
1036
1037I believe code like this (from operserv/main.c: do_killclones() )
1038
1039 if (match_usermask(clonemask, user) != 0) {
1040 char killreason[32];
1041 count++;
1042 snprintf(killreason, sizeof(killreason),
1043 "Cloning [%d]", count);
1044 kill_user(NULL, user->nick, killreason);
1045 }
1046
1047should exist in seperate functions like:
1048
1049int kill_mask(const char *mask, const char *reason)
1050{
1051 int count=0;
1052 User *user;
1053
1054 for (user = first_user(); user; user = next_user())
1055 {
1056 if (match_usermask(mask, user) != 0)
1057 {
1058 char killreason[512];
1059
1060 count++;
1061 snprintf(killreason, sizeof(killreason),
1062 (reason == NULL ? "Cloning [%d]" : reason),
1063 count);
1064 kill_user(NULL, user->nick, killreason);
1065 }
1066 }
1067
1068 return(count);
1069}
1070
10713rd party modules should not use their own code for things like this, since
1072it exists allready.
1073
1074<<V13>>
1075
1076From beng at nc.rr.com Fri Dec 14 14:37:40 2001
1077From: beng at nc.rr.com (Ben Goldstein)
1078Date: Sat Oct 23 23:09:11 2004
1079Subject: Fw: [IRCServices Coding] Alpha compile error
1080Message-ID: <008501c184ef$f0e600a0$0300a8c0@asi200>
1081
1082I don't know if Andrew meant to send this here, but it might be helpful for
1083others. When I compiled I omitted the line completely to supress the error.
1084
1085-- Ben Goldstein (beng@nc.rr.com)
1086
1087----- Original Message -----
1088From: "Andrew Church" <achurch@achurch.org>
1089To: <beng@nc.rr.com>
1090Sent: Thursday, December 13, 2001 9:04 PM
1091Subject: Re: [IRCServices Coding] Alpha compile error
1092
1093
1094> >gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -I../.. -c set.c -o
1095> >set.o
1096> >set.c: In function `do_set_timezone':
1097> >set.c:487: wrong type argument to unary minus
1098> >set.c:447: warning: `j' might be used uninitialized in this function
1099> >
1100> >487: j = ngi->timezone*60 - (-timezone);
1101> >
1102> >I'm not sure what this is even doing, I havn't dug into the code. But it
1103> >doesn't seem that "timezone" alone is the correct var you meant to use
1104here.
1105>
1106> Actually, it is, but it looks like it's not portable; I'll make a
1107> workaround for the next release. In the meantime, either use Linux or
1108just
1109> remove the "- (-timezone)" (it's code for a case that should never happen
1110> anyway, so it shouldn't matter too much).
1111>
1112> --Andrew Church
1113> achurch@achurch.org
1114> http://achurch.org/
1115>
1116> >-- Ben Goldstein (beng@nc.rr.com)
1117
1118
1119
1120
1121From achurch at achurch.org Sat Dec 15 10:45:50 2001
1122From: achurch at achurch.org (Andrew Church)
1123Date: Sat Oct 23 23:09:11 2004
1124Subject: [IRCServices Coding] coding... (svcs 5)
1125Message-ID: <3c1aab53.04477@achurch.org>
1126
1127 Not worth it.
1128
1129>For services 5:
1130>
1131>I believe code like this (from operserv/main.c: do_killclones() )
1132>
1133> if (match_usermask(clonemask, user) != 0) {
1134> char killreason[32];
1135> count++;
1136> snprintf(killreason, sizeof(killreason),
1137> "Cloning [%d]", count);
1138> kill_user(NULL, user->nick, killreason);
1139> }
1140>
1141>should exist in seperate functions like:
1142>
1143>int kill_mask(const char *mask, const char *reason)
1144>{
1145> int count=0;
1146> User *user;
1147>
1148> for (user = first_user(); user; user = next_user())
1149> {
1150> if (match_usermask(mask, user) != 0)
1151> {
1152> char killreason[512];
1153>
1154> count++;
1155> snprintf(killreason, sizeof(killreason),
1156> (reason == NULL ? "Cloning [%d]" : reason),
1157> count);
1158> kill_user(NULL, user->nick, killreason);
1159> }
1160> }
1161>
1162> return(count);
1163>}
1164>
1165>3rd party modules should not use their own code for things like this, sin
1166>ce
1167>it exists allready.
1168>
1169><<V13>>
1170>------------------------------------------------------------------
1171>To unsubscribe or change your subscription options, visit:
1172>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1173
1174 --Andrew Church
1175 achurch@achurch.org
1176 http://achurch.org/
1177
1178From stsimb at irc.gr Sat Dec 15 11:23:02 2001
1179From: stsimb at irc.gr (Sotiris Tsimbonis)
1180Date: Sat Oct 23 23:09:11 2004
1181Subject: [IRCServices Coding] coding... (svcs 5)
1182In-Reply-To: <3c1aab53.04477@achurch.org>
1183Message-ID: <Pine.LNX.4.43.0112152119540.14976-100000@nana.forthnet.gr>
1184
1185On Sat, 15 Dec 2001, Andrew Church wrote:
1186> >For services 5:
1187> >I believe code like this (from operserv/main.c: do_killclones() )
1188[...]
1189> >should exist in seperate functions like:
1190> >int kill_mask(const char *mask, const char *reason)
1191[...]
1192> >}
1193>
1194> Not worth it.
1195
1196Why not? Wouldn't this help code re-use in 3rd party modules? One wouldn't
1197have to re-invent the wheel, and if there was an error, it would only have
1198to be fixed in one place..
1199
1200Sotiris.
1201
1202
1203From v13 at priest.com Sat Dec 15 11:45:47 2001
1204From: v13 at priest.com (v13@priest.com)
1205Date: Sat Oct 23 23:09:11 2004
1206Subject: [IRCServices Coding] srvcs 5
1207Message-ID: <200112151945.VAA04508@ppp0.the.forthnet.gr>
1208
1209 A note about callbacks:
1210
1211Callbacks are nice when someone wants to add another function to services,
1212but are no good, when someone wants to extend an existing one.
1213
1214I was trying to make nickserv to send one more line for the INFO command.
1215It is possible to return the line at the begining but not at the end.
1216I bypassed the strtok() problem, by duplicating the buffer to something like:
1217"A INFO nick" and then calling strtok once, for this one.
1218This way successive calls to strtok whould return the "INFO nick" part.
1219But it is not possible to call my function *AFTER* do_info. I tried to
1220register my function with a higher priority and then call do_info from my
1221function, but it was no good. get_module_symbol() cannot find do_info()
1222(neither nickserv() ). I believe this is because of the static decleration of
1223the functions.
1224
1225Using "nm -g" it seems that those functions are not exported from the
1226nickserv module.
1227
1228Is this going to change, or we should prepare for patching the main services
1229code ?
1230
1231<<V13>>
1232
1233From griever at t2n.org Sat Dec 15 12:12:48 2001
1234From: griever at t2n.org (Finny Merrill)
1235Date: Sat Oct 23 23:09:11 2004
1236Subject: [IRCServices Coding] srvcs 5
1237In-Reply-To: <200112151945.VAA04508@ppp0.the.forthnet.gr>
1238Message-ID: <Pine.LNX.4.33.0112151357060.4482-100000@linux.ircd-net.org>
1239
1240On Sat, 15 Dec 2001 v13@priest.com wrote:
1241
1242> A note about callbacks:
1243>
1244> Callbacks are nice when someone wants to add another function to services,
1245> but are no good, when someone wants to extend an existing one.
1246>
1247> I was trying to make nickserv to send one more line for the INFO command.
1248*snip*
1249
1250
1251Command* lookup_cmd(Module* id, char* name)
1252will return the current Command* stucture for command name
1253which can then be removed and replaced, and you can call the function.
1254>
1255> Using "nm -g" it seems that those functions are not exported from the
1256> nickserv module.
1257>
1258> Is this going to change, or we should prepare for patching the main services
1259> code ?
1260
1261No need
1262> <<V13>>
1263> ------------------------------------------------------------------
1264> To unsubscribe or change your subscription options, visit:
1265> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1266>
1267
1268
1269From v13 at priest.com Sat Dec 15 12:34:44 2001
1270From: v13 at priest.com (v13@priest.com)
1271Date: Sat Oct 23 23:09:11 2004
1272Subject: [IRCServices Coding] srvcs 5
1273In-Reply-To: <Pine.LNX.4.33.0112151357060.4482-100000@linux.ircd-net.org>
1274References: <Pine.LNX.4.33.0112151357060.4482-100000@linux.ircd-net.org>
1275Message-ID: <200112152034.WAA04723@ppp0.the.forthnet.gr>
1276
1277On Saturday 15 December 2001 22:12, Finny Merrill wrote:
1278> Command* lookup_cmd(Module* id, char* name)
1279> will return the current Command* stucture for command name
1280> which can then be removed and replaced, and you can call the function.
1281
1282Thanx. I got do_info() from
1283
1284(*(lookup_cmd(module_nickserv, "INFO")))->routine
1285
1286and put my function there, which calls the old one before sending
1287anything to the user and it worked.
1288
1289<<V13>>
1290
1291From griever at t2n.org Sat Dec 15 12:39:16 2001
1292From: griever at t2n.org (Finny Merrill)
1293Date: Sat Oct 23 23:09:11 2004
1294Subject: [IRCServices Coding] srvcs 5
1295In-Reply-To: <200112152034.WAA04723@ppp0.the.forthnet.gr>
1296Message-ID: <Pine.LNX.4.33.0112151438340.4879-100000@linux.ircd-net.org>
1297
1298On Sat, 15 Dec 2001 v13@priest.com wrote:
1299
1300> On Saturday 15 December 2001 22:12, Finny Merrill wrote:
1301> > Command* lookup_cmd(Module* id, char* name)
1302> > will return the current Command* stucture for command name
1303> > which can then be removed and replaced, and you can call the function.
1304>
1305> Thanx. I got do_info() from
1306>
1307> (*(lookup_cmd(module_nickserv, "INFO")))->routine
1308
1309personally I think this would be a safer way:
1310
1311Command *temp;
1312temp = lookup_cmd(module_nickserv, "INFO);
1313temp->routine(...);
1314
1315
1316>
1317> and put my function there, which calls the old one before sending
1318> anything to the user and it worked.
1319>
1320> <<V13>>
1321> ------------------------------------------------------------------
1322> To unsubscribe or change your subscription options, visit:
1323> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1324>
1325
1326
1327From v13 at priest.com Sun Dec 16 12:50:03 2001
1328From: v13 at priest.com (v13@priest.com)
1329Date: Sat Oct 23 23:09:11 2004
1330Subject: [IRCServices Coding] svcs 5
1331Message-ID: <200112162050.WAA04418@ppp0.the.forthnet.gr>
1332
1333The definition of "receive message" callback is wrong in the documentation
1334It says:
1335
1336Parameters: char *source, int ac, char **av
1337
1338It should be:
1339Parameters: char *source, char *cmd, int ac, char **av
1340
1341in the protocol sources, the functions for this callback are declared as:
1342static int do_receive_message(char *source, char *cmd, int ac, char **av)
1343
1344<<V13>>
1345
1346From v13 at priest.com Sun Dec 16 14:20:32 2001
1347From: v13 at priest.com (v13@priest.com)
1348Date: Sat Oct 23 23:09:11 2004
1349Subject: [IRCServices Coding] svcs5
1350Message-ID: <200112162220.AAA04668@ppp0.the.forthnet.gr>
1351
1352in messages.c:
1353
1354static void m_time(char *source, int ac, char **av)
1355{
1356 time_t t;
1357 struct tm *tm;
1358 char buf[64];
1359
1360 time(&t);
1361 tm = localtime(&t);
1362 strftime(buf, sizeof(buf), "%a %b %d %H:%M:%S %Y %Z", tm);
1363 send_cmd(NULL, "391 :%s", buf);
1364}
1365
1366This should be:
1367
1368send_cmd(NULL, "391 %s %s :%s", source, ServerName, buf);
1369
1370or something like that...
1371
1372<<V13>>
1373
1374From achurch at achurch.org Mon Dec 17 07:17:25 2001
1375From: achurch at achurch.org (Andrew Church)
1376Date: Sat Oct 23 23:09:11 2004
1377Subject: [IRCServices Coding] coding... (svcs 5)
1378Message-ID: <3c1d2138.07054@achurch.org>
1379
1380>On Sat, 15 Dec 2001, Andrew Church wrote:
1381>> >For services 5:
1382>> >I believe code like this (from operserv/main.c: do_killclones() )
1383>[...]
1384>> >should exist in seperate functions like:
1385>> >int kill_mask(const char *mask, const char *reason)
1386>[...]
1387>> >}
1388>>
1389>> Not worth it.
1390>
1391>Why not? Wouldn't this help code re-use in 3rd party modules? One wouldn't
1392>have to re-invent the wheel, and if there was an error, it would only have
1393>to be fixed in one place..
1394
1395 If it was actually being used in multiple places, I'd agree with you,
1396but (unless I'm forgetting somewhere) it's not, and splitting the code up
1397anyway would be a waste of time. If this actually becomes an issue later
1398I'll reconsider it then.
1399
1400 --Andrew Church
1401 achurch@achurch.org
1402 http://achurch.org/
1403
1404From achurch at achurch.org Mon Dec 17 07:33:50 2001
1405From: achurch at achurch.org (Andrew Church)
1406Date: Sat Oct 23 23:09:11 2004
1407Subject: [IRCServices Coding] Services 5
1408Message-ID: <3c1d216e.07065@achurch.org>
1409
1410>Here's a backtrace from that particuliar problem.
1411>
1412>(gdb) bt
1413>#0 0x4015ccbc in ?? ()
1414>#1 0x080535fb in unload_module (module=0x812a0c8) at modules.c:406
1415>#2 0x08053135 in modules_exit () at modules.c:109
1416>#3 0x08051b90 in main (ac=1, av=0xbffffadc, envp=0xbffffae4) at main.c:406
1417>#4 0x4003ce5e in __libc_start_main (main=0x805177c <main>, argc=1,
1418> ubp_av=0xbffffadc, init=0x804b9a4 <_init>, fini=0x8057bc0 <_fini>,
1419> rtld_fini=0x4000d3c4 <_dl_fini>, stack_end=0xbffffacc)
1420> at ../sysdeps/generic/libc-start.c:129
1421
1422 Looks like some module is forgetting to remove its callbacks. Can you
1423play around with commenting/uncommenting your LoadModule directives in
1424services.conf until you find the module that causes the problem?
1425
1426>Thanks
1427>Ryan
1428>
1429>Finny Merrill wrote:
1430>
1431>>On Fri, 14 Dec 2001, Russell Garrett wrote:
1432>>
1433>>>Just first comments on this:
1434>>>
1435>>>For an alpha, it looks great, I would put it on my (small) production
1436>>>network would it be for a rather annoying bug:
1437>>>
1438>>>IRCServices 5 seems to have a few problems shutting down... on one of
1439>>>my servers, it dumped 16Mb of "Server Segfaulting" messages to the
1440>>>log before dying, and on the second attempt dumped a similar amount
1441>>>to SNotices (granted it gave my test network a good load test ;) On
1442>>>my other server, it sapped up all the CPU, and required a reboot. (I
1443>>>was stopping services both by /squitting and by SIGTERM).
1444>>>
1445>>-dumpcore (may be to dashes) to ./configure
1446>>
1447>>>Other than that, I love it :) The mailing features look pretty swish,
1448>>>and although I haven't looked at the modules much, it looks good.
1449>>>
1450>>>Keep up the good work,
1451>>>
1452>>>
1453>>>Russ Garrett (russ@garrett.co.uk)
1454>>>
1455>>>------------------------------------------------------------------
1456>>>To unsubscribe or change your subscription options, visit:
1457>>>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1458>>>
1459>>
1460>>------------------------------------------------------------------
1461>>To unsubscribe or change your subscription options, visit:
1462>>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1463>>
1464>>
1465>
1466>
1467>
1468>------------------------------------------------------------------
1469>To unsubscribe or change your subscription options, visit:
1470>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1471
1472 --Andrew Church
1473 achurch@achurch.org
1474 http://achurch.org/
1475
1476From achurch at achurch.org Mon Dec 17 07:34:29 2001
1477From: achurch at achurch.org (Andrew Church)
1478Date: Sat Oct 23 23:09:11 2004
1479Subject: [IRCServices Coding] srvcs 5
1480Message-ID: <3c1d21e1.07076@achurch.org>
1481
1482> A note about callbacks:
1483>
1484>Callbacks are nice when someone wants to add another function to services,
1485>but are no good, when someone wants to extend an existing one.
1486
1487 Don't use callbacks for this, use the command system (commands.[ch]).
1488The next alpha will have a `next' pointer in the command record which gets
1489filled in when you call register_commands(), so you can call the original
1490command's function directly.
1491
1492>I was trying to make nickserv to send one more line for the INFO command.
1493>It is possible to return the line at the begining but not at the end.
1494>I bypassed the strtok() problem, by duplicating the buffer to something l
1495>ike:
1496>"A INFO nick" and then calling strtok once, for this one.
1497>This way successive calls to strtok whould return the "INFO nick" part.
1498>But it is not possible to call my function *AFTER* do_info. I tried to
1499>register my function with a higher priority and then call do_info from my
1500>
1501>function, but it was no good. get_module_symbol() cannot find do_info()
1502>(neither nickserv() ). I believe this is because of the static decleratio
1503>n of
1504>the functions.
1505>
1506>Using "nm -g" it seems that those functions are not exported from the
1507>nickserv module.
1508>
1509>Is this going to change, or we should prepare for patching the main servi
1510>ces
1511>code ?
1512>
1513><<V13>>
1514>------------------------------------------------------------------
1515>To unsubscribe or change your subscription options, visit:
1516>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1517
1518 --Andrew Church
1519 achurch@achurch.org
1520 http://achurch.org/
1521
1522From v13 at priest.com Sun Dec 16 14:49:58 2001
1523From: v13 at priest.com (v13@priest.com)
1524Date: Sat Oct 23 23:09:11 2004
1525Subject: [IRCServices Coding] Services 5
1526In-Reply-To: <3c1d216e.07065@achurch.org>
1527References: <3c1d216e.07065@achurch.org>
1528Message-ID: <200112162249.AAA05350@ppp0.the.forthnet.gr>
1529
1530On Monday 17 December 2001 09:33, Andrew Church wrote:
1531> >Here's a backtrace from that particuliar problem.
1532> >
1533> >(gdb) bt
1534> >#0 0x4015ccbc in ?? ()
1535> >#1 0x080535fb in unload_module (module=0x812a0c8) at modules.c:406
1536> >#2 0x08053135 in modules_exit () at modules.c:109
1537> >#3 0x08051b90 in main (ac=1, av=0xbffffadc, envp=0xbffffae4) at main.c:406
1538> >#4 0x4003ce5e in __libc_start_main (main=0x805177c <main>, argc=1,
1539> > ubp_av=0xbffffadc, init=0x804b9a4 <_init>, fini=0x8057bc0 <_fini>,
1540> > rtld_fini=0x4000d3c4 <_dl_fini>, stack_end=0xbffffacc)
1541> > at ../sysdeps/generic/libc-start.c:129
1542>
1543> Looks like some module is forgetting to remove its callbacks. Can you
1544> play around with commenting/uncommenting your LoadModule directives in
1545> services.conf until you find the module that causes the problem?
1546
1547Trying an:
1548
1549(gdb) up
1550(gdb) p module->name
1551
1552whould show the module name
1553
1554<<V13>>
1555
1556From achurch at achurch.org Mon Dec 17 07:55:16 2001
1557From: achurch at achurch.org (Andrew Church)
1558Date: Sat Oct 23 23:09:11 2004
1559Subject: [IRCServices Coding] svcs 5
1560Message-ID: <3c1d265c.07147@achurch.org>
1561
1562>The definition of "receive message" callback is wrong in the documentatio
1563>n
1564>It says:
1565>
1566>Parameters: char *source, int ac, char **av
1567>
1568>It should be:
1569>Parameters: char *source, char *cmd, int ac, char **av
1570
1571 Thanks, fixed.
1572
1573 --Andrew Church
1574 achurch@achurch.org
1575 http://achurch.org/
1576
1577From achurch at achurch.org Mon Dec 17 07:57:24 2001
1578From: achurch at achurch.org (Andrew Church)
1579Date: Sat Oct 23 23:09:11 2004
1580Subject: [IRCServices Coding] Services 5
1581Message-ID: <3c1d2730.07170@achurch.org>
1582
1583>On Monday 17 December 2001 09:33, Andrew Church wrote:
1584>> >Here's a backtrace from that particuliar problem.
1585>> >
1586>> >(gdb) bt
1587>> >#0 0x4015ccbc in ?? ()
1588>> >#1 0x080535fb in unload_module (module=0x812a0c8) at modules.c:406
1589>> >#2 0x08053135 in modules_exit () at modules.c:109
1590>> >#3 0x08051b90 in main (ac=1, av=0xbffffadc, envp=0xbffffae4) at
1591> main.c:406
1592>> >#4 0x4003ce5e in __libc_start_main (main=0x805177c <main>, argc=1
1593>,
1594>> > ubp_av=0xbffffadc, init=0x804b9a4 <_init>, fini=0x8057bc0 <_
1595>fini>,
1596>> > rtld_fini=0x4000d3c4 <_dl_fini>, stack_end=0xbffffacc)
1597>> > at ../sysdeps/generic/libc-start.c:129
1598>>
1599>> Looks like some module is forgetting to remove its callbacks. Can
1600> you
1601>> play around with commenting/uncommenting your LoadModule directives in
1602>> services.conf until you find the module that causes the problem?
1603>
1604>Trying an:
1605>
1606>(gdb) up
1607>(gdb) p module->name
1608>
1609>whould show the module name
1610
1611 No, that would show the name of the module being unloaded, not the one
1612whose callback was being called.
1613
1614 --Andrew Church
1615 achurch@achurch.org
1616 http://achurch.org/
1617
1618From v13 at priest.com Sun Dec 16 17:09:35 2001
1619From: v13 at priest.com (v13@priest.com)
1620Date: Sat Oct 23 23:09:11 2004
1621Subject: [IRCServices Coding] svcs5
1622Message-ID: <200112170109.DAA07729@ppp0.the.forthnet.gr>
1623
1624I don't understand this completely, but i get coredumps when
1625doing /msg chanserv levels #chan set ignore 6
1626
1627it seems that there is something wrong...
1628
1629in chanserv/util.c:
1630
1631ChannelInfo *makechan(const char *chan)
1632{
1633 ChannelInfo *ci;
1634
1635 ci = scalloc(sizeof(ChannelInfo), 1);
1636 strscpy(ci->name, chan, CHANMAX);
1637 ci->time_registered = time(NULL);
1638>>>>> reset_levels(ci, 0); <<<<<<
1639 return add_channelinfo(ci);
1640}
1641
1642i bellieve this should be:
1643reset_levels(ci,1);
1644
1645
1646also in chanserv/access.c:
1647
1648EXPORT_FUNC(reset_levels)
1649void reset_levels(ChannelInfo *ci, int set)
1650{
1651 int i;
1652
1653>>>>> free(ci->levels); <<<<<
1654 if (set) {
1655 ci->levels = scalloc(CA_SIZE, sizeof(*ci->levels));
1656 for (i = 0; i < CA_SIZE; i++)
1657 ci->levels[i] = def_levels[i];
1658 } else {
1659 ci->levels = NULL;
1660 }
1661}
1662
1663this may try to free something that is not malloced (if i get this right)
1664when it is called from makechan() (free(NULL) works under glibc, but i don't
1665know how portable/standard it is)
1666
1667
1668finaly in chanserv/access-levels.c, in do_levels():
1669
1670 for (i = 0; levelinfo[i].what >= 0; i++) {
1671 if (stricmp(levelinfo[i].name, what) == 0) {
1672 if (ci->levels)
1673 reset_levels(ci, 1);
1674>>>>> ci->levels[levelinfo[i].what] = level; <<<<<<
1675 notice_lang(s_ChanServ, u, CHAN_LEVELS_CHANGED,
1676 levelinfo[i].name, chan, level);
1677 put_channelinfo(ci);
1678 return;
1679 }
1680 }
1681
1682the marked line is where i get the coredump...
1683it doesn't make any sense..
1684if ci->levels is NULL, then reset_levels is not called...
1685so it remains NULL and then ci->levels[] is used
1686
1687(from gdb) (not wrapped)
1688
1689(gdb) bt
1690#0 do_levels (u=0x814cf0c) at access-levels.c:324
1691#1 0x0804df4c in run_cmd (service=0x8144bd4 "ChanServ", u=0x814cf0c, id=0x81449c4, cmd=0xbffff5f2 "levels") at commands.c:158
1692#2 0x401a0070 in chanserv (source=0xbffff820 "V13", target=0xbffff5e8 "chanserv", buf=0xbffff5f2 "levels") at main.c:226
1693#3 0x08054cba in call_callback_5 (module=0x0, id=25, arg1=0xbffff820, arg2=0xbffff5e8, arg3=0xbffff5f2, arg4=0x0, arg5=0x0) at modules.c:605
1694#4 0x08052f3f in m_privmsg (source=0xbffff820 "V13", ac=2, av=0x814cd8c) at messages.c:169
1695#5 0x08055260 in process () at process.c:131
1696#6 0x08056395 in check_sockets () at sockets.c:362
1697#7 0x080526cc in main (ac=3, av=0xbffffa54, envp=0xbffffa64) at main.c:377
1698#8 0x4004d823 in __libc_start_main () from /lib/libc.so.6
1699(gdb) l access-levels.c:324
1700319 }
1701320 for (i = 0; levelinfo[i].what >= 0; i++) {
1702321 if (stricmp(levelinfo[i].name, what) == 0) {
1703322 if (ci->levels)
1704323 reset_levels(ci, 1);
1705324 ci->levels[levelinfo[i].what] = level;
1706325 notice_lang(s_ChanServ, u, CHAN_LEVELS_CHANGED,
1707326 levelinfo[i].name, chan, level);
1708327 put_channelinfo(ci);
1709328 return;
1710(gdb) p i
1711$1 = 224
1712
1713
1714<<V13>>
1715
1716From achurch at achurch.org Mon Dec 17 16:47:05 2001
1717From: achurch at achurch.org (Andrew Church)
1718Date: Sat Oct 23 23:09:11 2004
1719Subject: [IRCServices Coding] svcs5
1720Message-ID: <3c1da32d.07437@achurch.org>
1721
1722>in messages.c:
1723>
1724>static void m_time(char *source, int ac, char **av)
1725>{
1726> time_t t;
1727> struct tm *tm;
1728> char buf[64];
1729>
1730> time(&t);
1731> tm = localtime(&t);
1732> strftime(buf, sizeof(buf), "%a %b %d %H:%M:%S %Y %Z", tm);
1733> send_cmd(NULL, "391 :%s", buf);
1734>}
1735>
1736>This should be:
1737>
1738>send_cmd(NULL, "391 %s %s :%s", source, ServerName, buf);
1739>
1740>or something like that...
1741
1742 I could have sworn I fixed this at least once before... oh well.
1743Fixed (in the 4.5 branch as well), thanks.
1744
1745><<V13>>
1746>------------------------------------------------------------------
1747>To unsubscribe or change your subscription options, visit:
1748>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1749
1750 --Andrew Church
1751 achurch@achurch.org
1752 http://achurch.org/
1753
1754From Georges at Berscheid.lu Mon Dec 17 00:43:35 2001
1755From: Georges at Berscheid.lu (Georges Berscheid)
1756Date: Sat Oct 23 23:09:11 2004
1757Subject: [IRCServices Coding] Services 5 having problems to shut down
1758Message-ID: <EMEAJDMIHJFMOHONHAEDMELPCDAA.Georges@Berscheid.lu>
1759
1760Hi,
1761
1762when I started services with a little error in my config file this happened:
1763
1764[Dec 16 22:38:27 2001] Read error from server: Success
1765[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1766[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1767[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1768
1769First, I didn't see that something was wrong, but suddenly many other
1770processes on the server crashed due to 'Out of memory'. That's what services
1771said 10 minutes later in the .log file as well. (At this point the .log file
1772had 290MB)
1773
1774[Dec 16 22:48:15 2001] Out of memory!
1775[Dec 16 22:48:15 2001] Out of memory!
1776[Dec 16 22:48:15 2001] Out of memory!
1777[Dec 16 22:48:15 2001] Out of memory!
1778
1779Seems like the get into an endless malloc-loop somewhere. Unfortunately
1780there is no core dump, because they were still alive after 10 minutes, and I
1781had to kill them through the console.
1782
1783Georges
1784
1785
1786From rg at tcslon.com Mon Dec 17 01:18:02 2001
1787From: rg at tcslon.com (Russell Garrett)
1788Date: Sat Oct 23 23:09:11 2004
1789Subject: [IRCServices Coding] Services 5 having problems to shut down
1790In-Reply-To: <EMEAJDMIHJFMOHONHAEDMELPCDAA.Georges@Berscheid.lu>
1791Message-ID: <NDBBLDHKLKMANPGMACIGIEGBCNAA.rg@tcslon.com>
1792
1793> when I started services with a little error in my config
1794> file this happened:
1795>
1796> [Dec 16 22:38:27 2001] Read error from server: Success
1797> [Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1798> [Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1799> [Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1800
1801I saw this too, I think, but I caught it before it ran out of
1802memory...
1803
1804I'm still trying to find a computer to debug it on - I was previously
1805using a colocated server which I had no physical access to - a bad
1806move :)
1807
1808Russ Garrett (russ@garrett.co.uk)
1809
1810
1811From achurch at achurch.org Mon Dec 17 18:28:16 2001
1812From: achurch at achurch.org (Andrew Church)
1813Date: Sat Oct 23 23:09:11 2004
1814Subject: [IRCServices Coding] Services 5 having problems to shut down
1815Message-ID: <3c1dbaf6.12326@achurch.org>
1816
1817 The endless loop is fixed, thanks. I'll look into the seg-fault later
1818(I suspect it's the same problem as was reported earlier).
1819
1820 --Andrew Church
1821 achurch@achurch.org
1822 http://achurch.org/
1823
1824>Hi,
1825>
1826>when I started services with a little error in my config file this happened:
1827>
1828>[Dec 16 22:38:27 2001] Read error from server: Success
1829>[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1830>[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1831>[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
1832>
1833>First, I didn't see that something was wrong, but suddenly many other
1834>processes on the server crashed due to 'Out of memory'. That's what services
1835>said 10 minutes later in the .log file as well. (At this point the .log file
1836>had 290MB)
1837>
1838>[Dec 16 22:48:15 2001] Out of memory!
1839>[Dec 16 22:48:15 2001] Out of memory!
1840>[Dec 16 22:48:15 2001] Out of memory!
1841>[Dec 16 22:48:15 2001] Out of memory!
1842>
1843>Seems like the get into an endless malloc-loop somewhere. Unfortunately
1844>there is no core dump, because they were still alive after 10 minutes, and I
1845>had to kill them through the console.
1846>
1847>Georges
1848>
1849>------------------------------------------------------------------
1850>To unsubscribe or change your subscription options, visit:
1851>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
1852
1853From v13 at priest.com Mon Dec 17 05:47:22 2001
1854From: v13 at priest.com (v13@priest.com)
1855Date: Sat Oct 23 23:09:11 2004
1856Subject: [IRCServices Coding] akills
1857Message-ID: <200112171348.PAA02940@ppp0.the.forthnet.gr>
1858
1859As of bahamut 1.4.29, s_serv.c -> m_akill() (in bahamut ircd sources)
1860has:
1861
1862 /* whether or not we have a length, this is still a temporary akill */
1863 /* if the length is over a day, or nonexistant, we call this a 'forever'
1864 * akill and set ->hold to 0xFFFFFFFF to indicate such
1865 * this is a hack to prevent
1866 * forever akills from being removed unless by an explicit /rehash */
1867 if(length>86400 || !length)
1868 aconf->hold=0xFFFFFFFF;
1869 else
1870 aconf->hold=timeset+length;
1871
1872which means that akills whith expire time greater than a day, will never
1873expire, unless explicity removed. This way, netsplits may prevent akills
1874to be removed from servers, when services send the RAKILL.
1875
1876This can be bypassed, by forcing services to send AKILLs, with expire
1877time less than 86400 by
1878changing (in operserv/akill.c send_akill() ):
1879
1880call_callback_5(module, cb_send_akill,
1881 username, host,
1882 akill->expires,
1883 akill->who,
1884 make_reason(AkillReason, akill));
1885
1886to:
1887
1888call_callback_5(module, cb_send_akill,
1889 username, host,
1890 ( (akill->expires - now) > 86399 ? now + 86399 : akill->expires),
1891 akill->who,
1892 make_reason(AkillReason, akill));
1893
1894or better, change the callback in the bahamut protocol module:
1895
1896static int do_send_akill(const char *username, const char *host,
1897 time_t expires, const char *who, const char *reason)
1898{
1899 time_t now = time(NULL);
1900
1901 send_cmd(ServerName, "AKILL %s %s %ld %s %ld :%s", host, username,
1902 (expires && expires > now) ? expires - now : 0,
1903 who ? who : "<unknown>", now, reason);
1904 return 1;
1905}
1906
1907to:
1908
1909static int do_send_akill(const char *username, const char *host,
1910 time_t expires, const char *who, const char *reason)
1911{
1912 time_t now = time(NULL);
1913
1914 if (expires>now)
1915 {
1916 expires-=now;
1917 if (expires>=86400)
1918 expires=86399;
1919 }
1920
1921 send_cmd(ServerName, "AKILL %s %s %ld %s %ld :%s", host, username,
1922 expires, who ? who : "<unknown>", now, reason);
1923 return 1;
1924}
1925
1926This way akills for 5 days, will be send up to 5 times on each server
1927(Removed after 86399 seconds and send again when a matching user tries ti use
1928the server). This should not add much overhead and non-expiring akills will
1929not be affected.
1930
1931<<V13>>
1932
1933From achurch at achurch.org Mon Dec 17 23:29:46 2001
1934From: achurch at achurch.org (Andrew Church)
1935Date: Sat Oct 23 23:09:11 2004
1936Subject: [IRCServices Coding] akills
1937Message-ID: <3c1e020e.15231@achurch.org>
1938
1939> if (expires>now)
1940> {
1941> expires-=now;
1942> if (expires>=86400)
1943> expires=86399;
1944> }
1945
1946 I see someone hasn't read the coding guidelines...
1947
1948>This way akills for 5 days, will be send up to 5 times on each server
1949>(Removed after 86399 seconds and send again when a matching user tries ti
1950> use
1951>the server). This should not add much overhead and non-expiring akills wi
1952>ll
1953>not be affected.
1954
1955 I don't see why this is needed. The autokills-don't-disappear-if-
1956server-is-split problem existed before the AKILL message got an expiry
1957time, and it was always solved by rehashing; I don't see why the same
1958approach can't be used with Bahamut as well. IMNSHO, I think the current
1959(if that's current) behavior of Bahamut is buggy; since when does "one day
1960or more" equal "forever"?
1961
1962 --Andrew Church
1963 achurch@achurch.org
1964 http://achurch.org/
1965
1966From dooley at risanet.com Mon Dec 17 11:01:26 2001
1967From: dooley at risanet.com (Dooley)
1968Date: Sat Oct 23 23:09:11 2004
1969Subject: [IRCServices Coding] Services 5 having problems to shut down
1970References: <3c1dbaf6.12326@achurch.org>
1971Message-ID: <006501c1872d$40e593b0$dd91a8c0@criley>
1972
1973Anyone know what the fix is for this as it would be nice to not have to
1974console kill it while playing.
1975
1976
1977Dooley
1978
1979----- Original Message -----
1980From: "Andrew Church" <achurch@achurch.org>
1981To: <ircservices-coding@ircservices.za.net>
1982Sent: Monday, December 17, 2001 3:28 AM
1983Subject: Re: [IRCServices Coding] Services 5 having problems to shut down
1984
1985
1986> The endless loop is fixed, thanks. I'll look into the seg-fault
1987later
1988> (I suspect it's the same problem as was reported earlier).
1989>
1990> --Andrew Church
1991> achurch@achurch.org
1992> http://achurch.org/
1993>
1994> >Hi,
1995> >
1996> >when I started services with a little error in my config file this
1997happened:
1998> >
1999> >[Dec 16 22:38:27 2001] Read error from server: Success
2000> >[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
2001> >[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
2002> >[Dec 16 22:38:27 2001] Services terminating: Segmentation fault
2003> >
2004> >First, I didn't see that something was wrong, but suddenly many other
2005> >processes on the server crashed due to 'Out of memory'. That's what
2006services
2007> >said 10 minutes later in the .log file as well. (At this point the .log
2008file
2009> >had 290MB)
2010> >
2011> >[Dec 16 22:48:15 2001] Out of memory!
2012> >[Dec 16 22:48:15 2001] Out of memory!
2013> >[Dec 16 22:48:15 2001] Out of memory!
2014> >[Dec 16 22:48:15 2001] Out of memory!
2015> >
2016> >Seems like the get into an endless malloc-loop somewhere. Unfortunately
2017> >there is no core dump, because they were still alive after 10 minutes,
2018and I
2019> >had to kill them through the console.
2020> >
2021> >Georges
2022> >
2023> >------------------------------------------------------------------
2024> >To unsubscribe or change your subscription options, visit:
2025> >http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2026> ------------------------------------------------------------------
2027> To unsubscribe or change your subscription options, visit:
2028> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2029>
2030
2031
2032From achurch at achurch.org Thu Dec 20 14:21:43 2001
2033From: achurch at achurch.org (Andrew Church)
2034Date: Sat Oct 23 23:09:11 2004
2035Subject: [IRCServices Coding] Services 5.0 alpha 8 released
2036Message-ID: <3c2175d6.46663@achurch.org>
2037
2038 I've put up a new alpha tarball, alpha 8; it can be downloaded from
2039the same place as the last one (http://achurch.org/services/5.0-alpha/).
2040The crashing and infinite loop bugs reported before should be fixed, and
2041rehashing has now been added. The change log is as follows:
2042
20432001/12/20 a8 SIGHUP now re-reads the configuration files instead of
2044 restarting.
20452001/12/20 SIGUSR2 no longer opens log file if it was closed before.
20462001/12/20 Added reconfiguration support for modules.
20472001/12/20 Renamed AkillReason config directive to AutokillReason.
20482001/12/19 Fixed crash when unloading modules on exit.
20492001/12/17 Fixed infinite loop on signal. Reported by Georges
2050 Berscheid <Georges@Berscheid.lu>
20512001/12/14 Fixed various problems caused by signal timing.
20522001/12/14 Fixed compile error on FreeBSD. Reported by Ben Goldstein
2053 <beng@nc.rr.com>
2054
2055 --Andrew Church
2056 achurch@achurch.org
2057 http://achurch.org/
2058
2059From Georges at Berscheid.lu Thu Dec 20 03:10:23 2001
2060From: Georges at Berscheid.lu (Georges Berscheid)
2061Date: Sat Oct 23 23:09:11 2004
2062Subject: AW: [IRCServices Coding] Services 5.0 alpha 8 released
2063In-Reply-To: <3c2175d6.46663@achurch.org>
2064Message-ID: <EMEAJDMIHJFMOHONHAEDOEMJCDAA.Georges@Berscheid.lu>
2065
2066Hi,
2067
2068I just installed alpha8 and tried the new /operserv rehash function. But
2069unfortunately it segfaults every time.
2070gdb says:
2071
2072#0 chunk_free (ar_ptr=0x464c457f, p=0x4007b9f8) at malloc.c:3049
2073#1 0x40076fba in __libc_free (mem=0x4007ba00) at malloc.c:3023
2074#2 0x804e84c in read_config_file (modulename=0x812e888 "statserv/main",
2075directives=0x4018444c) at conffile.c:380
2076#3 0x804ecbc in configure (modulename=0x812e888 "statserv/main",
2077directives=0x4018444c, action=1) at conffile.c:523
2078#4 0x80536b5 in reconfigure_modules () at modules.c:507
2079#5 0x80500aa in reconfigure () at init.c:802
2080#6 0x40134445 in do_rehash (u=0x8132128) at main.c:1071
2081#7 0x804dcaa in run_cmd (service=0x8129f40 "OperServ", u=0x8132128,
2082id=0x812aec0, cmd=0xbffff759 "rehash") at commands.c:175
2083#8 0x40132999 in operserv (source=0xbffff96c "Peiter", target=0xbffff734
2084"operserv", buf=0xbffff759 "rehash") at main.c:256
2085#9 0x80538bd in call_callback_5 (module=0x0, id=25, arg1=0xbffff96c,
2086arg2=0xbffff734, arg3=0xbffff759, arg4=0x0, arg5=0x0)
2087 at modules.c:612
2088#10 0x8051d35 in m_privmsg (source=0xbffff96c "Peiter", ac=2, av=0x8132050)
2089at messages.c:169
2090#11 0x8053e31 in process () at process.c:131
2091#12 0x8051581 in readline_callback (s=0x812f298, param_unused=0x3d) at
2092main.c:158
2093#13 0x805511f in check_sockets () at sockets.c:364
2094#14 0x805180d in main (ac=1, av=0xbffffb64, envp=0xbffffb6c) at main.c:260
2095
2096Greetings
2097
2098Georges
2099
2100-----Ursprungliche Nachricht-----
2101Von: ircservices-coding-admin@ircservices.za.net
2102[mailto:ircservices-coding-admin@ircservices.za.net]Im Auftrag von Andrew
2103Church
2104Gesendet: Donnerstag, 20. Dezember 2001 06:22
2105An: ircservices-coding@ircservices.za.net
2106Betreff: [IRCServices Coding] Services 5.0 alpha 8 released
2107
2108
2109 I've put up a new alpha tarball, alpha 8; it can be downloaded from
2110the same place as the last one (http://achurch.org/services/5.0-alpha/).
2111The crashing and infinite loop bugs reported before should be fixed, and
2112rehashing has now been added. The change log is as follows:
2113
21142001/12/20 a8 SIGHUP now re-reads the configuration files instead of
2115 restarting.
21162001/12/20 SIGUSR2 no longer opens log file if it was closed before.
21172001/12/20 Added reconfiguration support for modules.
21182001/12/20 Renamed AkillReason config directive to AutokillReason.
21192001/12/19 Fixed crash when unloading modules on exit.
21202001/12/17 Fixed infinite loop on signal. Reported by Georges
2121 Berscheid <Georges@Berscheid.lu>
21222001/12/14 Fixed various problems caused by signal timing.
21232001/12/14 Fixed compile error on FreeBSD. Reported by Ben Goldstein
2124 <beng@nc.rr.com>
2125
2126 --Andrew Church
2127 achurch@achurch.org
2128 http://achurch.org/
2129------------------------------------------------------------------
2130To unsubscribe or change your subscription options, visit:
2131http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2132
2133
2134From achurch at achurch.org Fri Dec 21 17:07:27 2001
2135From: achurch at achurch.org (Andrew Church)
2136Date: Sat Oct 23 23:09:11 2004
2137Subject: AW: [IRCServices Coding] Services 5.0 alpha 8 released
2138Message-ID: <3c22edd9.01433@achurch.org>
2139
2140>Hi,
2141>
2142>I just installed alpha8 and tried the new /operserv rehash function. But
2143>unfortunately it segfaults every time.
2144
2145 Can you send me a copy of your services.conf and modules.conf?
2146
2147 --Andrew Church
2148 achurch@achurch.org
2149 http://achurch.org/
2150
2151>gdb says:
2152>
2153>#0 chunk_free (ar_ptr=0x464c457f, p=0x4007b9f8) at malloc.c:3049
2154>#1 0x40076fba in __libc_free (mem=0x4007ba00) at malloc.c:3023
2155>#2 0x804e84c in read_config_file (modulename=0x812e888 "statserv/main",
2156>directives=0x4018444c) at conffile.c:380
2157>#3 0x804ecbc in configure (modulename=0x812e888 "statserv/main",
2158>directives=0x4018444c, action=1) at conffile.c:523
2159>#4 0x80536b5 in reconfigure_modules () at modules.c:507
2160>#5 0x80500aa in reconfigure () at init.c:802
2161>#6 0x40134445 in do_rehash (u=0x8132128) at main.c:1071
2162>#7 0x804dcaa in run_cmd (service=0x8129f40 "OperServ", u=0x8132128,
2163>id=0x812aec0, cmd=0xbffff759 "rehash") at commands.c:175
2164>#8 0x40132999 in operserv (source=0xbffff96c "Peiter", target=0xbffff734
2165>"operserv", buf=0xbffff759 "rehash") at main.c:256
2166>#9 0x80538bd in call_callback_5 (module=0x0, id=25, arg1=0xbffff96c,
2167>arg2=0xbffff734, arg3=0xbffff759, arg4=0x0, arg5=0x0)
2168> at modules.c:612
2169>#10 0x8051d35 in m_privmsg (source=0xbffff96c "Peiter", ac=2, av=0x8132050)
2170>at messages.c:169
2171>#11 0x8053e31 in process () at process.c:131
2172>#12 0x8051581 in readline_callback (s=0x812f298, param_unused=0x3d) at
2173>main.c:158
2174>#13 0x805511f in check_sockets () at sockets.c:364
2175>#14 0x805180d in main (ac=1, av=0xbffffb64, envp=0xbffffb6c) at main.c:260
2176>
2177>Greetings
2178>
2179>Georges
2180>
2181>-----Ursprungliche Nachricht-----
2182>Von: ircservices-coding-admin@ircservices.za.net
2183>[mailto:ircservices-coding-admin@ircservices.za.net]Im Auftrag von Andrew
2184>Church
2185>Gesendet: Donnerstag, 20. Dezember 2001 06:22
2186>An: ircservices-coding@ircservices.za.net
2187>Betreff: [IRCServices Coding] Services 5.0 alpha 8 released
2188>
2189>
2190> I've put up a new alpha tarball, alpha 8; it can be downloaded from
2191>the same place as the last one (http://achurch.org/services/5.0-alpha/).
2192>The crashing and infinite loop bugs reported before should be fixed, and
2193>rehashing has now been added. The change log is as follows:
2194>
2195>2001/12/20 a8 SIGHUP now re-reads the configuration files instead of
2196> restarting.
2197>2001/12/20 SIGUSR2 no longer opens log file if it was closed before.
2198>2001/12/20 Added reconfiguration support for modules.
2199>2001/12/20 Renamed AkillReason config directive to AutokillReason.
2200>2001/12/19 Fixed crash when unloading modules on exit.
2201>2001/12/17 Fixed infinite loop on signal. Reported by Georges
2202> Berscheid <Georges@Berscheid.lu>
2203>2001/12/14 Fixed various problems caused by signal timing.
2204>2001/12/14 Fixed compile error on FreeBSD. Reported by Ben Goldstein
2205> <beng@nc.rr.com>
2206>
2207> --Andrew Church
2208> achurch@achurch.org
2209> http://achurch.org/
2210>------------------------------------------------------------------
2211>To unsubscribe or change your subscription options, visit:
2212>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2213>
2214>------------------------------------------------------------------
2215>To unsubscribe or change your subscription options, visit:
2216>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2217
2218From achurch at achurch.org Sat Dec 22 00:40:23 2001
2219From: achurch at achurch.org (Andrew Church)
2220Date: Sat Oct 23 23:09:11 2004
2221Subject: [IRCServices Coding] svcs5
2222Message-ID: <3c235838.11277@achurch.org>
2223
2224>this may try to free something that is not malloced (if i get this right)
2225>when it is called from makechan() (free(NULL) works under glibc, but i do
2226>n't
2227>know how portable/standard it is)
2228
2229 I'm pretty sure that's standard, and if it turns out not to be I'll
2230just write my own free() because the rest of the code assumes it works
2231that way.
2232
2233>finaly in chanserv/access-levels.c, in do_levels():
2234[snip]
2235>the marked line is where i get the coredump...
2236>it doesn't make any sense..
2237>if ci->levels is NULL, then reset_levels is not called...
2238>so it remains NULL and then ci->levels[] is used
2239
2240 The test on ci->levels was backwards in sense. Fixed, thanks.
2241
2242 --Andrew Church
2243 achurch@achurch.org
2244 http://achurch.org/
2245
2246From griever at t2n.org Fri Dec 21 11:51:00 2001
2247From: griever at t2n.org (Finny Merrill)
2248Date: Sat Oct 23 23:09:11 2004
2249Subject: [IRCServices Coding] svcs5
2250In-Reply-To: <3c235838.11277@achurch.org>
2251Message-ID: <Pine.LNX.4.33.0112211350500.20852-100000@linux.ircd-net.org>
2252
2253On Sat, 22 Dec 2001, Andrew Church wrote:
2254
2255> >this may try to free something that is not malloced (if i get this right)
2256> >when it is called from makechan() (free(NULL) works under glibc, but i do
2257> >n't
2258> >know how portable/standard it is)
2259>
2260> I'm pretty sure that's standard, and if it turns out not to be I'll
2261> just write my own free() because the rest of the code assumes it works
2262> that way.
2263
2264ISO C guarantees free(NULL) is safe
2265>
2266> >finaly in chanserv/access-levels.c, in do_levels():
2267> [snip]
2268> >the marked line is where i get the coredump...
2269> >it doesn't make any sense..
2270> >if ci->levels is NULL, then reset_levels is not called...
2271> >so it remains NULL and then ci->levels[] is used
2272>
2273> The test on ci->levels was backwards in sense. Fixed, thanks.
2274>
2275> --Andrew Church
2276> achurch@achurch.org
2277> http://achurch.org/
2278> ------------------------------------------------------------------
2279> To unsubscribe or change your subscription options, visit:
2280> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2281>
2282
2283
2284From v13 at priest.com Sat Dec 22 10:42:29 2001
2285From: v13 at priest.com (v13@priest.com)
2286Date: Sat Oct 23 23:09:11 2004
2287Subject: [IRCServices Coding] svc5 exception move
2288Message-ID: <200112221842.UAA04340@ppp0.the.forthnet.gr>
2289
2290in operserv/sessions.c, do_exception_move():
2291
2292 char *n1str = strtok(NULL, " "); /* From index */
2293 char *n2str = strtok(NULL, " "); /* To index */
2294 int n1, n2;
2295
2296 if (!n2str) {
2297 syntax_error(s_OperServ, u, "EXCEPTION", OPER_EXCEPTION_MOVE_SYNTAX);
2298 return;
2299 }
2300 n1 = atoi(n1str) - 1;
2301 n2 = atoi(n2str) - 1;
2302
2303>>> if (n1 == n2 || n1 <= 0 || n2 <= 0) { <<< HERE <<<<<<<<<<<<<<<<<<<<
2304
2305 syntax_error(s_OperServ, u, "EXCEPTION", OPER_EXCEPTION_MOVE_SYNTAX);
2306 return;
2307 }
2308
2309I believe the noted line should not have <=
2310When trying to move exception #1 it fails and, when there are 3 exceptions:
2311
2312/os exception move 4 3
2313
2314gives:
2315
2316-OperServ- Exception for *.hell.gr (#3) moved to number 2.
2317
2318exception move also doesn't seem to work at all.
2319
2320(tested under alpha7, but alpha8 hasn't change this)
2321
2322<<V13>>
2323
2324From griever at t2n.org Sat Dec 22 17:27:28 2001
2325From: griever at t2n.org (Finny Merrill)
2326Date: Sat Oct 23 23:09:11 2004
2327Subject: [IRCServices Coding] unknown things
2328Message-ID: <Pine.LNX.4.33.0112221926580.31115-100000@linux.ircd-net.org>
2329
2330[Dec 22 19:25:41.487805 2001] debug: Loading module `operserv/main'
2331[Dec 22 19:25:41.491171 2001] modules.conf:178: Unknown directive
2332`LogMaxUsers'
2333[Dec 22 19:25:41.491643 2001] modules.conf:220: Unknown directive
2334`WallGetpass'
2335[Dec 22 19:25:41.491805 2001] modules.conf:227: Unknown directive
2336`WallSetpass'
2337
2338have those been moved?
2339
2340
2341From mark at mhetherington.demon.co.uk Sat Dec 22 17:37:15 2001
2342From: mark at mhetherington.demon.co.uk (Mark Hetherington)
2343Date: Sat Oct 23 23:09:11 2004
2344Subject: [IRCServices Coding] unknown things
2345In-Reply-To: <Pine.LNX.4.33.0112221926580.31115-100000@linux.ircd-net.org>
2346Message-ID: <NFBBKFAFGLNBHGEDBKDMCECECIAA.mark@mhetherington.demon.co.uk>
2347
2348I mentioned this in another email. There are checked in the wrong place
2349(module load which does no know what they are rather than services load
2350which does know). I meant to move the directives from one to the other but
2351have not tried it yet.
2352
2353Mark.
2354
2355> -----Original Message-----
2356> From: ircservices-coding-admin@ircservices.za.net
2357> [mailto:ircservices-coding-admin@ircservices.za.net]On Behalf Of Finny
2358> Merrill
2359> Sent: 23 December 2001 01:27
2360> To: ircservices-coding@ircservices.za.net
2361> Subject: [IRCServices Coding] unknown things
2362>
2363>
2364> [Dec 22 19:25:41.487805 2001] debug: Loading module `operserv/main'
2365> [Dec 22 19:25:41.491171 2001] modules.conf:178: Unknown directive
2366> `LogMaxUsers'
2367> [Dec 22 19:25:41.491643 2001] modules.conf:220: Unknown directive
2368> `WallGetpass'
2369> [Dec 22 19:25:41.491805 2001] modules.conf:227: Unknown directive
2370> `WallSetpass'
2371>
2372> have those been moved?
2373>
2374> ------------------------------------------------------------------
2375> To unsubscribe or change your subscription options, visit:
2376> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2377>
2378
2379
2380From achurch at achurch.org Sun Dec 23 16:14:05 2001
2381From: achurch at achurch.org (Andrew Church)
2382Date: Sat Oct 23 23:09:11 2004
2383Subject: [IRCServices Coding] unknown things
2384Message-ID: <3c258453.02003@achurch.org>
2385
2386>[Dec 22 19:25:41.487805 2001] debug: Loading module `operserv/main'
2387>[Dec 22 19:25:41.491171 2001] modules.conf:178: Unknown directive
2388>`LogMaxUsers'
2389>[Dec 22 19:25:41.491643 2001] modules.conf:220: Unknown directive
2390>`WallGetpass'
2391>[Dec 22 19:25:41.491805 2001] modules.conf:227: Unknown directive
2392>`WallSetpass'
2393
2394 I've been meaning to do something about these for a LONG time, but
2395there's been too much else going on. I'll take care of them eventually.
2396
2397 --Andrew Church
2398 achurch@achurch.org
2399 http://achurch.org/
2400
2401From admin at insiderZ.de Sun Dec 23 09:06:15 2001
2402From: admin at insiderZ.de (Christian 'HERZ' Makowski)
2403Date: Sat Oct 23 23:09:11 2004
2404Subject: [IRCServices Coding] Hello !
2405Message-ID: <HHEJLNAKMCNBHNPFAEAMKEOACCAA.admin@insiderZ.de>
2406
2407Hello Together,
2408
2409I am new here and i have a Question / Compilerproblem.
2410We work at the Momentan in our Network with Epona Services
2411but we have many problems with stability.
2412We want to Change to Ircservices, Coder from Unrealircd
2413says , this is the best for Unreal.
2414
2415I just downloaded ircservices-5.0a8.tar.gz because we want to support
2416ircservices with Unreal3.2 / ipv6 but i have the first error:
2417
2418I have tried make & gmake , what the problem here ?!?
2419ircservices4.5.35 compiles fine.
2420
2421[insiderz@ns ircservices-5.0a8]$ gmake
2422sh version.sh
2423gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -c version.c -o
2424version.o
2425gmake[1]: Entering directory `/home/insiderz/ircservices-5.0a8/modules'
2426gmake[2]: Entering directory
2427`/home/insiderz/ircservices-5.0a8/modules/chanserv'
2428gmake[2]: *** No rule to make target `main.so', needed by `all-dynamic'.
2429Stop.
2430gmake[2]: Leaving directory
2431`/home/insiderz/ircservices-5.0a8/modules/chanserv'
2432gmake[1]: *** [all-dynamic] Error 2
2433gmake[1]: Leaving directory `/home/insiderz/ircservices-5.0a8/modules'
2434gmake: *** [modules] Error 2
2435
2436Thanks in advance for help and merry merry Xmas to All !
2437
2438Christian -HERZ- Makowski
2439Networkadmin InsiderZ
2440
2441
2442
2443From jbinder at kgazd.bme.hu Sun Dec 23 09:51:52 2001
2444From: jbinder at kgazd.bme.hu (John Binder)
2445Date: Sat Oct 23 23:09:11 2004
2446Subject: [IRCServices Coding] Hello !
2447References: <HHEJLNAKMCNBHNPFAEAMKEOACCAA.admin@insiderZ.de>
2448Message-ID: <000701c18bda$80e61be0$0d624298@kgazd.bme.hu>
2449
2450Hi,
2451
2452> I have tried make & gmake , what the problem here ?!?
2453> ircservices4.5.35 compiles fine.
2454>
2455> [insiderz@ns ircservices-5.0a8]$ gmake
2456> sh version.sh
2457> gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -c version.c -o
2458> version.o
2459> gmake[1]: Entering directory `/home/insiderz/ircservices-5.0a8/modules'
2460> gmake[2]: Entering directory
2461> `/home/insiderz/ircservices-5.0a8/modules/chanserv'
2462> gmake[2]: *** No rule to make target `main.so', needed by `all-dynamic'.
2463> Stop.
2464> gmake[2]: Leaving directory
2465> `/home/insiderz/ircservices-5.0a8/modules/chanserv'
2466> gmake[1]: *** [all-dynamic] Error 2
2467> gmake[1]: Leaving directory `/home/insiderz/ircservices-5.0a8/modules'
2468> gmake: *** [modules] Error 2
2469
2470IMHO configure was forgotten, try to ./configure before it
2471
2472John Binder
2473
2474> Thanks in advance for help and merry merry Xmas to All !
2475>
2476> Christian -HERZ- Makowski
2477> Networkadmin InsiderZ
2478>
2479>
2480> ------------------------------------------------------------------
2481> To unsubscribe or change your subscription options, visit:
2482> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2483>
2484>
2485
2486
2487From achurch at achurch.org Mon Dec 24 10:56:31 2001
2488From: achurch at achurch.org (Andrew Church)
2489Date: Sat Oct 23 23:09:11 2004
2490Subject: [IRCServices Coding] Hello !
2491Message-ID: <3c268d42.02117@achurch.org>
2492
2493>Hello Together,
2494>
2495>I am new here and i have a Question / Compilerproblem.
2496>We work at the Momentan in our Network with Epona Services
2497>but we have many problems with stability.
2498>We want to Change to Ircservices, Coder from Unrealircd
2499>says , this is the best for Unreal.
2500>
2501>I just downloaded ircservices-5.0a8.tar.gz because we want to support
2502>ircservices with Unreal3.2 / ipv6 but i have the first error:
2503
2504 DO NOT use the alpha version of Services on a live network! Alpha
2505versions are for testing ONLY. DO NOT contact either me or the mailing
2506lists with questions about an alpha version unless you intend to help test
2507and find bugs yourself. If you ignore this warning, I will either ban you
2508from downloading the alpha version, or remove the alpha version from public
2509access entirely and publicly give your name and E-mail address as the
2510reason the alpha was removed.
2511
2512 --Andrew Church
2513 achurch@achurch.org
2514 http://achurch.org/
2515
2516>I have tried make & gmake , what the problem here ?!?
2517>ircservices4.5.35 compiles fine.
2518>
2519>[insiderz@ns ircservices-5.0a8]$ gmake
2520>sh version.sh
2521>gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -c version.c -o
2522>version.o
2523>gmake[1]: Entering directory `/home/insiderz/ircservices-5.0a8/modules'
2524>gmake[2]: Entering directory
2525>`/home/insiderz/ircservices-5.0a8/modules/chanserv'
2526>gmake[2]: *** No rule to make target `main.so', needed by `all-dynamic'.
2527>Stop.
2528>gmake[2]: Leaving directory
2529>`/home/insiderz/ircservices-5.0a8/modules/chanserv'
2530>gmake[1]: *** [all-dynamic] Error 2
2531>gmake[1]: Leaving directory `/home/insiderz/ircservices-5.0a8/modules'
2532>gmake: *** [modules] Error 2
2533>
2534>Thanks in advance for help and merry merry Xmas to All !
2535>
2536>Christian -HERZ- Makowski
2537>Networkadmin InsiderZ
2538>
2539>
2540>------------------------------------------------------------------
2541>To unsubscribe or change your subscription options, visit:
2542>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2543
2544From casper at wbss.com Sun Dec 23 20:03:37 2001
2545From: casper at wbss.com (CaSPeR)
2546Date: Sat Oct 23 23:09:11 2004
2547Subject: [IRCServices Coding] raw commands
2548Message-ID: <017601c18c2f$f7c503c0$ace4fea9@casper>
2549
2550just wanted to know if there is a list of commands and their discriptions somewhere?
2551also want to know what command to use to bring in a fake user.
2552
2553
2554-------------- next part --------------
2555An HTML attachment was scrubbed...
2556URL: http://lists.ircservices.za.net/pipermail/ircservices-coding/attachments/20011223/56c54ad1/attachment.html
2557From smkelly at zombie.org Sun Dec 23 20:35:49 2001
2558From: smkelly at zombie.org (Sean Kelly)
2559Date: Sat Oct 23 23:09:11 2004
2560Subject: [IRCServices Coding] raw commands
2561In-Reply-To: <017601c18c2f$f7c503c0$ace4fea9@casper>; from casper@wbss.com on Sun, Dec 23, 2001 at 11:03:37PM -0500
2562References: <017601c18c2f$f7c503c0$ace4fea9@casper>
2563Message-ID: <20011223223549.A2427@edgemaster.zombie.org>
2564
2565On Sun, Dec 23, 2001 at 11:03:37PM -0500, CaSPeR wrote:
2566> just wanted to know if there is a list of commands and their discriptions somewhere?
2567> also want to know what command to use to bring in a fake user.
2568
2569RAW merely passes the string on to services' uplink server. Any valid IRC
2570command, as issued by a server, is valid. I suggest you read RFC1459 and
2571also become familiar with the workings of ircd before you play with RAW.
2572It isn't a toy.
2573
2574--
2575Sean Kelly | PGP KeyID: 77042C7B
2576smkelly@zombie.org | http://www.zombie.org
2577
2578For PGP key, send e-mail with subject "send pgp key"
2579-------------- next part --------------
2580A non-text attachment was scrubbed...
2581Name: not available
2582Type: application/pgp-signature
2583Size: 187 bytes
2584Desc: not available
2585Url : http://lists.ircservices.za.net/pipermail/ircservices-coding/attachments/20011223/3486e5a6/attachment.pgp
2586From chromi at cyberspace.org Sun Dec 23 20:22:16 2001
2587From: chromi at cyberspace.org (Jonathan Morton)
2588Date: Sat Oct 23 23:09:11 2004
2589Subject: [IRCServices Coding] raw commands
2590In-Reply-To: <017601c18c2f$f7c503c0$ace4fea9@casper>
2591References: <017601c18c2f$f7c503c0$ace4fea9@casper>
2592Message-ID: <a05101002b84c5dbdea5f@[10.0.1.2]>
2593
2594>just wanted to know if there is a list of commands and their
2595>discriptions somewhere?
2596>also want to know what command to use to bring in a fake user.
2597
2598Consult your IRCd's documentation. Commands available via RAW are
2599not under Services' control and can cause major problems.
2600
2601--
2602--------------------------------------------------------------
2603from: Jonathan "Chromatix" Morton
2604mail: chromi@cyberspace.org (not for attachments)
2605website: http://www.chromatix.uklinux.net/vnc/
2606geekcode: GCS$/E dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$
2607 V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
2608tagline: The key to knowledge is not to rely on people to teach you it.
2609
2610From achurch at achurch.org Mon Dec 24 22:21:35 2001
2611From: achurch at achurch.org (Andrew Church)
2612Date: Sat Oct 23 23:09:11 2004
2613Subject: [IRCServices Coding] svc5 exception move
2614Message-ID: <3c272c21.02247@achurch.org>
2615
2616>When trying to move exception #1 it fails and, when there are 3 exception
2617>s:
2618>
2619>/os exception move 4 3
2620>
2621>gives:
2622>
2623>-OperServ- Exception for *.hell.gr (#3) moved to number 2.
2624
2625 Thanks, fixed (the problem is the -1's, which shouldn't be there).
2626
2627>exception move also doesn't seem to work at all.
2628
2629 That's because the code that actually does it (in database/ver4.c)
2630is still broken (#ifdef'd out) and I haven't had a chance to fix it yet.
2631
2632 --Andrew Church
2633 achurch@achurch.org
2634 http://achurch.org/
2635
2636From lamego at ptlink.net Tue Dec 25 12:38:28 2001
2637From: lamego at ptlink.net (lamego@ptlink.net)
2638Date: Sat Oct 23 23:09:11 2004
2639Subject: [IRCServices Coding] Hello !
2640Message-ID: <20011225124018.3C86B1742B@snow.fingers.co.za>
2641
2642Is the Alpha distributed with some kind of "not public" license ?
2643I do know the term "use it at your own risk", but this "forbidden to use on a live network" is a new one.
2644
2645Just a thought,
2646Joao Pinto
2647
2648Andrew Church <achurch@achurch.org> wrote :
2649
2650> >Hello Together,
2651> >
2652> >I am new here and i have a Question / Compilerproblem.
2653> >We work at the Momentan in our Network with Epona Services
2654> >but we have many problems with stability.
2655> >We want to Change to Ircservices, Coder from Unrealircd
2656> >says , this is the best for Unreal.
2657> >
2658> >I just downloaded ircservices-5.0a8.tar.gz because we want to support
2659> >ircservices with Unreal3.2 / ipv6 but i have the first error:
2660>
2661> DO NOT use the alpha version of Services on a live network! Alpha
2662> versions are for testing ONLY. DO NOT contact either me or the mailing
2663> lists with questions about an alpha version unless you intend to help test
2664> and find bugs yourself. If you ignore this warning, I will either ban you
2665> from downloading the alpha version, or remove the alpha version from public
2666> access entirely and publicly give your name and E-mail address as the
2667> reason the alpha was removed.
2668>
2669> --Andrew Church
2670> achurch@achurch.org
2671> http://achurch.org/
2672>
2673> >I have tried make & gmake , what the problem here ?!?
2674> >ircservices4.5.35 compiles fine.
2675> >
2676> >[insiderz@ns ircservices-5.0a8]$ gmake
2677> >sh version.sh
2678> >gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -c version.c -o
2679> >version.o
2680> >gmake[1]: Entering directory `/home/insiderz/ircservices-5.0a8/modules'
2681> >gmake[2]: Entering directory
2682> >`/home/insiderz/ircservices-5.0a8/modules/chanserv'
2683> >gmake[2]: *** No rule to make target `main.so', needed by `all-dynamic'.
2684> >Stop.
2685> >gmake[2]: Leaving directory
2686> >`/home/insiderz/ircservices-5.0a8/modules/chanserv'
2687> >gmake[1]: *** [all-dynamic] Error 2
2688> >gmake[1]: Leaving directory `/home/insiderz/ircservices-5.0a8/modules'
2689> >gmake: *** [modules] Error 2
2690> >
2691> >Thanks in advance for help and merry merry Xmas to All !
2692> >
2693> >Christian -HERZ- Makowski
2694> >Networkadmin InsiderZ
2695> >
2696> >
2697> >------------------------------------------------------------------
2698> >To unsubscribe or change your subscription options, visit:
2699> >http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2700> ------------------------------------------------------------------
2701> To unsubscribe or change your subscription options, visit:
2702> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
2703
2704
2705
2706
2707
2708
2709
2710
2711From christian.makowski at t-online.de Tue Dec 25 04:44:51 2001
2712From: christian.makowski at t-online.de (Christian Makowski)
2713Date: Sat Oct 23 23:09:11 2004
2714Subject: [IRCServices Coding] Hello !
2715Message-ID: <1009284150.3c287436d2282@webmail.t-online.de>
2716
2717lamego@ptlink.net schrieb:
2718> Is the Alpha distributed with some kind of "not public"
2719> license ?
2720> I do know the term "use it at your own risk", but this
2721> "forbidden to use on a live network" is a new one.
2722>
2723> Just a thought,
2724> Joao Pinto
2725>
2726
2727So i think too
2728Then i ask me, why a Alpha is Released to download from a Mainsite
2729with a BIG Advertising link.
2730It would be better on a CVS Server for internal Use.
2731
2732From achurch at achurch.org Tue Dec 25 22:11:53 2001
2733From: achurch at achurch.org (Andrew Church)
2734Date: Sat Oct 23 23:09:11 2004
2735Subject: [IRCServices Coding] Hello !
2736Message-ID: <3c287df1.12075@achurch.org>
2737
2738>> Is the Alpha distributed with some kind of "not public"
2739>> license ?
2740>> I do know the term "use it at your own risk", but this
2741>> "forbidden to use on a live network" is a new one.
2742
2743 The license is the GPL, the same as it has always been, but the only
2744reason I'm making it publicly available at all while it's still in alpha is
2745to get help from _experienced_ users in fixing the remaining major problems
2746before I take it to beta status and do a full-fledged release. (From the
2747response I've seen so far I'm half inclined to take it down again.)
2748
2749>So i think too
2750>Then i ask me, why a Alpha is Released to download from a Mainsite
2751>with a BIG Advertising link.
2752
2753 Because that's the only way to let people know who might want to help
2754with an alpha test. You might also note that there's a fairly large and
2755obvious warning--on two consecutive pages, no less!--before you can
2756actually download the alpha version.
2757
2758 Please remember that I have NO obligation whatsoever to provide any
2759sort of "service" to you or even to publish IRC Services at all. The only
2760thing I get out of Services is appreciation from users, which includes the
2761recognition that I do this on my own free time without any sort of
2762compensation other than the thanks of users for creating it. (Frankly, I
2763would probably be a much happier person if I hadn't devoted many thousands
2764of hours over six years to Services, but oh well.) Thus, I do NOT
2765appreciate people ignoring warnings I put up explicitly to prevent these
2766kinds of questions/complaints.
2767
2768 Please try to act more responsibly in the future. (That applies to
2769everyone.)
2770
2771 --Andrew Church
2772 achurch@achurch.org
2773 http://achurch.org/
2774
2775From achurch at achurch.org Tue Dec 25 22:24:20 2001
2776From: achurch at achurch.org (Andrew Church)
2777Date: Sat Oct 23 23:09:11 2004
2778Subject: [IRCServices Coding] Services 5.0 alpha 9 released
2779Message-ID: <3c2880d1.12116@achurch.org>
2780
2781 Alpha 9 is up in the usual place; this is mainly a release to get
2782accumulated changes uploaded before I leave on vacation (tomorrow). I'll
2783be back late on 1 January, if things go according to plan, so mail will go
2784unanswered until then.
2785
2786 Also, happy holidays to all. This is meant seriously, for those who
2787may be unsure: I'm not the fascist bastard I may seem in mail sometimes--
2788I just play one on the Internet, so to speak. (: I don't intend to let my
2789holiday season get overwhelmed by this or any other minor matter, and I
2790hope none of you do either.
2791
2792 --Andrew Church
2793 achurch@achurch.org
2794 http://achurch.org/
2795
2796From rg at tcslon.com Tue Dec 25 09:53:27 2001
2797From: rg at tcslon.com (Russell Garrett)
2798Date: Sat Oct 23 23:09:11 2004
2799Subject: [IRCServices Coding] Services 5.0 alpha 9 released
2800In-Reply-To: <3c2880d1.12116@achurch.org>
2801Message-ID: <NDBBLDHKLKMANPGMACIGGEHOCNAA.rg@tcslon.com>
2802
2803OK, a few comments from me. I haven't managed to crash it yet, which
2804is always a good sign ;).
2805
2806I was playing with the httpd/dbaccess/xml-export module, and IE6's
2807usually annoying XML syntax checking pointed something out. Where
2808there's an ampersand in a last_quit field, it replaces it with
2809"&amp-" as opposed to the correct "&amp;", which causes IE to choke
2810:). The context is as follows:
2811
2812<nickinfo>
2813<nick>[nick]</nick>
2814...
2815<last_quit>Quit: Peace &amp- Protection 4.06</last_quit>
2816...
2817<nickinfo>
2818
2819Also, it seems to pad every <supass> or <pass> field with lots of
2820"&#0;" null chars:
2821<supass>mysupass&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&
2822#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;</supass>
2823<pass>&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0
2824;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;</pa
2825ss>
2826
2827Note: I am working with a copy of my live v4 database.
2828
2829Also, on my #chat channel on the v4 installation, Voice is set to
2830level 0, so everyone is voiced when they join. However, when my AOPs
2831join #chat on the v5 net, they get set +hq, and normal users don't
2832get anything, which is rather odd (possibly to do with me not running
2833the xOP module or something...). I'm continuing to investigate this
2834one.
2835
2836
2837Cheers,
2838
2839
2840Russ Garrett (russ@garrett.co.uk)
2841
2842
2843
2844From achurch at achurch.org Wed Dec 26 03:08:51 2001
2845From: achurch at achurch.org (Andrew Church)
2846Date: Sat Oct 23 23:09:11 2004
2847Subject: [IRCServices Coding] Services 5.0 alpha 9 released
2848Message-ID: <3c28c329.41041@achurch.org>
2849
2850>I was playing with the httpd/dbaccess/xml-export module, and IE6's
2851>usually annoying XML syntax checking pointed something out. Where
2852>there's an ampersand in a last_quit field, it replaces it with
2853>"&amp-" as opposed to the correct "&amp;", which causes IE to choke
2854>:). The context is as follows:
2855>
2856><nickinfo>
2857><nick>[nick]</nick>
2858>...
2859><last_quit>Quit: Peace &amp- Protection 4.06</last_quit>
2860>...
2861><nickinfo>
2862
2863 Okay, that was a stupid one... an off-by-one error in a memcpy() size
2864argument. Fixed, thanks; the patch is as follows:
2865
2866---------------------------------------------------------------------------
2867--- modules/misc/xml-export.c 19 Dec 2001 16:35:13 -0000 2.2
2868+++ modules/misc/xml-export.c 25 Dec 2001 18:12:42 -0000 2.3
2869@@ -94,7 +94,7 @@
2870 d += 4;
2871 break;
2872 case '&':
2873- memcpy(d, "&amp;", 4);
2874+ memcpy(d, "&amp;", 5);
2875 d += 5;
2876 break;
2877 default:
2878---------------------------------------------------------------------------
2879
2880>Also, it seems to pad every <supass> or <pass> field with lots of
2881>"&#0;" null chars:
2882><supass>mysupass&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&
2883>#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;</supass>
2884><pass>&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0
2885>;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;&#0;</pa
2886>ss>
2887
2888 This is because the export-xml module can't know that the encryption
2889module (if one is in use) uses a null character as a string terminator.
2890In point of fact, the MD5 encryption module stores the passwords as 16 raw
2891bytes rather than 32 hex characters, so null characters can very possibly
2892appear in the middle of a password. Thus, passwords are stored as raw
2893buffers of data (properly XML-encoded).
2894
2895>Also, on my #chat channel on the v4 installation, Voice is set to
2896>level 0, so everyone is voiced when they join. However, when my AOPs
2897>join #chat on the v5 net, they get set +hq, and normal users don't
2898>get anything, which is rather odd (possibly to do with me not running
2899>the xOP module or something...). I'm continuing to investigate this
2900>one.
2901
2902 You should probably look into what check_access_cumode()
2903(modules/chanserv/access.c) is doing; that part of the code has been
2904thoroughly redone and gotten almost no testing. I'm not sure what would
2905cause the autovoice level to get set to 0.
2906
2907 --Andrew Church
2908 achurch@achurch.org
2909 http://achurch.org/
2910
2911From rg at tcslon.com Tue Dec 25 11:14:58 2001
2912From: rg at tcslon.com (Russell Garrett)
2913Date: Sat Oct 23 23:09:11 2004
2914Subject: [IRCServices Coding] Services 5.0 alpha 9 released
2915In-Reply-To: <3c28c329.41041@achurch.org>
2916Message-ID: <NDBBLDHKLKMANPGMACIGMEHPCNAA.rg@tcslon.com>
2917
2918> Okay, that was a stupid one... an off-by-one error in
2919> a memcpy() size
2920> argument. Fixed, thanks; the patch is as follows:
2921
2922Thanks
2923
2924> ...
2925> appear in the middle of a password. Thus, passwords are
2926> stored as raw
2927> buffers of data (properly XML-encoded).
2928
2929Fair enough, just wondering what they were doing :)
2930
2931> You should probably look into what check_access_cumode()
2932> (modules/chanserv/access.c) is doing; that part of the
2933> code has been
2934> thoroughly redone and gotten almost no testing. I'm not
2935> sure what would
2936> cause the autovoice level to get set to 0.
2937
2938Ahh, I wasn't very clear there - the autovoice level was set to 0 on
2939the version 4 services by my chanops to make it easier to silence
2940certain users :). On the v5 net, with both the xOP and Levels modules
2941loaded, nothing happens to level 0 users, and users previously
2942autoopped (levels 5+) are all set mode +hq (insofar as that there is
2943more than one +q user in the room...).
2944
2945Just a few more things that I've noticed:
2946
2947- The news.db database (imported from version 4) corrupted rather
2948easily the first time I sent services a SIGTERM. Now I get [Oper
2949News - Jan 01 1970] (null).
2950
2951- The /os rehash command doesn't seem to rehash very many
2952configuration options. I could be wrong, but I don't think I've seen
2953any of the modules.conf options updated using this command.
2954
2955- httpd/auth-password doesn't seem to work at all for me:
2956Module httpd/auth-password
2957 AuthName "PhaseNet Test IRC Services"
2958 Protect /debug "quack:quack"
2959 Protect /dbaccess "quack:quack"
2960EndModule
2961
2962No auth box is presented
2963
2964- The httpd/dbaccess module is very useful for debugging
2965access/levels problems such as the above, but it would be quite handy
2966to have a http://serviceshost/dbaccess/chanserv/chan/levels page,
2967showing the xOP levels sometimes.
2968
2969
2970
2971That's about all for the moment ;),
2972
2973Russ Garrett (russ@garrett.co.uk)
2974
2975
2976From lamego at ptlink.net Tue Dec 25 20:46:30 2001
2977From: lamego at ptlink.net (lamego@ptlink.net)
2978Date: Sat Oct 23 23:09:12 2004
2979Subject: [IRCServices Coding] Hello !
2980Message-ID: <20011225204816.7C6DA17444@snow.fingers.co.za>
2981
2982Andrew Church <achurch@achurch.org> wrote :
2983
2984> >> Is the Alpha distributed with some kind of "not public"
2985> >> license ?
2986> >> I do know the term "use it at your own risk", but this
2987> >> "forbidden to use on a live network" is a new one.
2988>
2989> The license is the GPL, the same as it has always been, but the only
2990> reason I'm making it publicly available at all while it's still in alpha is
2991> to get help from _experienced_ users in fixing the remaining major problems
2992> before I take it to beta status and do a full-fledged release. (From the
2993> response I've seen so far I'm half inclined to take it down again.)
2994You are getting help from _experienced_ users however making it public you should be also prepared to get *NOT* help from general users.
2995>
2996> >So i think too
2997> >Then i ask me, why a Alpha is Released to download from a Mainsite
2998> >with a BIG Advertising link.
2999>
3000> Because that's the only way to let people know who might want to help
3001> with an alpha test.
3002The guy was trying to help, but first he just needed some help :P
3003>You might also note that there's a fairly large and
3004> obvious warning--on two consecutive pages, no less!--before you can
3005> actually download the alpha version.
3006One more reason that it is user's responsability so you should not be worried with someone running it on a live network.
3007>
3008> Please remember that I have NO obligation whatsoever to provide any
3009> sort of "service" to you or even to publish IRC Services at all. The only
3010> thing I get out of Services is appreciation from users, which includes the
3011> recognition that I do this on my own free time without any sort of
3012> compensation other than the thanks of users for creating it. (Frankly, I
3013> would probably be a much happier person if I hadn't devoted many thousands
3014> of hours over six years to Services, but oh well.) You and all the guys who work on linux, gcc, gmake etc most of the software you need to compile and run ircservices. I don't remember none of them forbidding their alpha from beeing tested on "live servers".
3015
3016Thus, I do NOT
3017> appreciate people ignoring warnings I put up explicitly to prevent these
3018> kinds of questions/complaints.
3019Sometimes the delete key is helpfull and not so stressing.
3020>
3021> Please try to act more responsibly in the future. (That applies to
3022> everyone.)
3023Doing it now, I hope :)
3024>
3025> --Andrew Church
3026> achurch@achurch.org
3027> http://achurch.org/
3028> ------------------------------------------------------------------
3029> To unsubscribe or change your subscription options, visit:
3030> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
3031
3032
3033
3034
3035
3036
3037
3038
3039From rg at tcslon.com Tue Dec 25 13:11:22 2001
3040From: rg at tcslon.com (Russell Garrett)
3041Date: Sat Oct 23 23:09:12 2004
3042Subject: [IRCServices Coding] More bugs... :)
3043In-Reply-To: <3c2880d1.12116@achurch.org>
3044Message-ID: <NDBBLDHKLKMANPGMACIGKEIACNAA.rg@tcslon.com>
3045
3046Another small XML bug, courtesy of IE6's XML parser :)
3047
3048Line 243 of modules/misc/xml-export.c is:
3049 writefunc(data, "\t<nickinfo>\n");
3050and should be:
3051 writefunc(data, "\t</nickinfo>\n");
3052with the forwardslash.
3053
3054After that's changed the XML checks out fine in IE.
3055
3056I spotted that repeated segfault-on-squit problem again, but couldn't
3057repeat it, and coredumping wasn't on. I've turned it on, so I should
3058be able to catch it next time :)
3059
3060Cheers,
3061
3062Russ Garrett (russ@garrett.co.uk)
3063
3064
3065From ron885 at linuxfreemail.com Tue Dec 25 15:35:45 2001
3066From: ron885 at linuxfreemail.com (Ron )
3067Date: Sat Oct 23 23:09:12 2004
3068Subject: [IRCServices Coding] A bug i think...
3069Message-ID: <200112252335.fBPNZjb27708@superglide.netfx-2000.net>
3070
3071I was playing with alpha8 last night, and discovered this and wasn't
3072quite sure if it is whats supposed to happen. The session limit was
3073set two 3 and i had one client loaded, Ron885, and the other one
3074connecting, Ron885_...
3075
3076[01:28:20] Global: OperServ - Ron885 added an SGLINE for ron (expires
3077in 1 minute)
3078[01:28:34] Connect: Ron885_ (ron885@ron.linux) on port 6667
3079[01:28:34] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3080(Invalid Real Name)
3081[01:28:34] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3082(Invalid Real Name))]
3083[01:28:37] Connect: Ron885_ (ron885@ron.linux) on port 6667
3084[01:28:37] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3085(Invalid Real Name)
3086[01:28:37] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3087(Invalid Real Name))]
3088[01:28:38] Connect: Ron885_ (ron885@ron.linux) on port 6667
3089[01:28:38] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3090(Session limit exceeded)
3091[01:28:38] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3092(Session limit exceeded))]
3093[01:28:43] Connect: Ron885_ (ron885@ron.linux) on port 6667
3094[01:28:43] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3095(Session limit exceeded)
3096[01:28:43] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3097(Session limit exceeded))]
3098[01:28:48] Connect: Ron885_ (ron885@ron.linux) on port 6667
3099[01:28:48] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3100(Session limit exceeded)
3101[01:28:48] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3102(Session limit exceeded))]
3103[01:28:52] Connect: Ron885_ (ron885@ron.linux) on port 6667
3104[01:28:52] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3105(Session limit exceeded)
3106[01:28:52] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3107(Session limit exceeded))]
3108[01:28:53] Connect: Ron885_ (ron885@ron.linux) on port 6667
3109[01:28:53] GLINE: added for *@ron.linux on Mon Dec 24 20:28:53 2001 GMT
3110(from OperServ to expire at Mon Dec 24 20:58:53 2001 GMT: Autokilled:
3111Exceeding session limit)
3112[01:28:53] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3113(Session limit exceeded)
3114[01:28:53] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3115(Session limit exceeded))]
3116[01:28:53] -1.axenet.org- *** You are banned from Axenet (Autokilled:
3117Exceeding session limit)
3118[01:28:53] Disconnect: Ron885 (ron885@ron.linux) [User has been banned
3119from Axenet (Autokilled: Exceeding session limit)]
3120[01:28:53] --- Closing Link: Ron885[ron.linux] (User has been banned
3121from Axenet (Autokilled: Exceeding session limit))
3122[01:28:53] --- Disconnected (Remote host closed socket).
3123
3124it seems as if the session list gets messed up... because afterwards i
3125had one client connected and did /os session view and it said 3 of 3
3126when there was only one connected...
3127
3128--
3129Ron885
3130TechAdmin @ irc.axenet.org
3131
3132Get your own FREE E-mail address at http://www.linuxfreemail.com
3133Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!
3134
3135
3136
3137From griever at t2n.org Tue Dec 25 16:43:52 2001
3138From: griever at t2n.org (Finny Merrill)
3139Date: Sat Oct 23 23:09:12 2004
3140Subject: [IRCServices Coding] A bug i think...
3141In-Reply-To: <200112252335.fBPNZjb27708@superglide.netfx-2000.net>
3142Message-ID: <Pine.LNX.4.33.0112251843280.3861-100000@linux.ircd-net.org>
3143
3144I noticed this too, I think it has something to do with +x
3145On Tue, 25 Dec 2001, Ron wrote:
3146
3147> I was playing with alpha8 last night, and discovered this and wasn't
3148> quite sure if it is whats supposed to happen. The session limit was
3149> set two 3 and i had one client loaded, Ron885, and the other one
3150> connecting, Ron885_...
3151>
3152> [01:28:20] Global: OperServ - Ron885 added an SGLINE for ron (expires
3153> in 1 minute)
3154> [01:28:34] Connect: Ron885_ (ron885@ron.linux) on port 6667
3155> [01:28:34] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3156> (Invalid Real Name)
3157> [01:28:34] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3158> (Invalid Real Name))]
3159> [01:28:37] Connect: Ron885_ (ron885@ron.linux) on port 6667
3160> [01:28:37] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3161> (Invalid Real Name)
3162> [01:28:37] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3163> (Invalid Real Name))]
3164> [01:28:38] Connect: Ron885_ (ron885@ron.linux) on port 6667
3165> [01:28:38] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3166> (Session limit exceeded)
3167> [01:28:38] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3168> (Session limit exceeded))]
3169> [01:28:43] Connect: Ron885_ (ron885@ron.linux) on port 6667
3170> [01:28:43] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3171> (Session limit exceeded)
3172> [01:28:43] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3173> (Session limit exceeded))]
3174> [01:28:48] Connect: Ron885_ (ron885@ron.linux) on port 6667
3175> [01:28:48] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3176> (Session limit exceeded)
3177> [01:28:48] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3178> (Session limit exceeded))]
3179> [01:28:52] Connect: Ron885_ (ron885@ron.linux) on port 6667
3180> [01:28:52] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3181> (Session limit exceeded)
3182> [01:28:52] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3183> (Session limit exceeded))]
3184> [01:28:53] Connect: Ron885_ (ron885@ron.linux) on port 6667
3185> [01:28:53] GLINE: added for *@ron.linux on Mon Dec 24 20:28:53 2001 GMT
3186> (from OperServ to expire at Mon Dec 24 20:58:53 2001 GMT: Autokilled:
3187> Exceeding session limit)
3188> [01:28:53] KILL: Ron885_!ron885@axe-32362.ron.linux from OperServ
3189> (Session limit exceeded)
3190> [01:28:53] Disconnect: Ron885_ (ron885@ron.linux) [Killed (OperServ
3191> (Session limit exceeded))]
3192> [01:28:53] -1.axenet.org- *** You are banned from Axenet (Autokilled:
3193> Exceeding session limit)
3194> [01:28:53] Disconnect: Ron885 (ron885@ron.linux) [User has been banned
3195> from Axenet (Autokilled: Exceeding session limit)]
3196> [01:28:53] --- Closing Link: Ron885[ron.linux] (User has been banned
3197> from Axenet (Autokilled: Exceeding session limit))
3198> [01:28:53] --- Disconnected (Remote host closed socket).
3199>
3200> it seems as if the session list gets messed up... because afterwards i
3201> had one client connected and did /os session view and it said 3 of 3
3202> when there was only one connected...
3203>
3204> --
3205> Ron885
3206> TechAdmin @ irc.axenet.org
3207>
3208> Get your own FREE E-mail address at http://www.linuxfreemail.com
3209> Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!
3210>
3211>
3212> ------------------------------------------------------------------
3213> To unsubscribe or change your subscription options, visit:
3214> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
3215>
3216
3217
3218From achurch at achurch.org Wed Dec 26 10:30:20 2001
3219From: achurch at achurch.org (Andrew Church)
3220Date: Sat Oct 23 23:09:12 2004
3221Subject: [IRCServices Coding] A bug i think...
3222Message-ID: <3c29288e.06571@achurch.org>
3223
3224>I was playing with alpha8 last night, and discovered this and wasn't
3225>quite sure if it is whats supposed to happen. The session limit was
3226>set two 3 and i had one client loaded, Ron885, and the other one
3227>connecting, Ron885_...
3228[...]
3229>it seems as if the session list gets messed up... because afterwards i
3230>had one client connected and did /os session view and it said 3 of 3
3231>when there was only one connected...
3232
3233 This is because the session/exception callback gets called before the
3234S-line one, leaving "ghost" users in the session count. Fixed, thanks.
3235Patch is as follows (not tested):
3236
3237--- modules/operserv/sessions.c 24 Dec 2001 13:20:09 -0000 2.30
3238+++ modules/operserv/sessions.c 26 Dec 2001 01:27:15 -0000
3239@@ -728,7 +728,13 @@
3240 return 0;
3241 }
3242
3243- if (!add_callback(NULL, "user check", check_sessions)
3244+ /* Add user check callback at priority -10 so it runs after all the
3245+ * autokill/S-line/whatever checks (otherwise we get users added to
3246+ * sessions and then killed by S-lines, leaving the session count
3247+ * jacked up). FIXME: we really really need to document places where
3248+ * we use callback priorities.
3249+ */
3250+ if (!add_callback_pri(NULL, "user check", check_sessions, -10)
3251 || !add_callback(NULL, "user delete", remove_session)
3252 || !add_callback(NULL, "save data", do_save_data)
3253 || !add_callback(NULL, "expire", expire_exceptions)
3254
3255 --Andrew Church
3256 achurch@achurch.org
3257 http://achurch.org/
3258
3259From achurch at achurch.org Wed Dec 26 11:30:02 2001
3260From: achurch at achurch.org (Andrew Church)
3261Date: Sat Oct 23 23:09:12 2004
3262Subject: [IRCServices Coding] Services 5.0 alpha 9 released
3263Message-ID: <3c2939c5.10626@achurch.org>
3264
3265>> You should probably look into what check_access_cumode()
3266>> (modules/chanserv/access.c) is doing; that part of the
3267>> code has been
3268>> thoroughly redone and gotten almost no testing. I'm not
3269>> sure what would
3270>> cause the autovoice level to get set to 0.
3271>
3272>Ahh, I wasn't very clear there - the autovoice level was set to 0 on
3273>the version 4 services by my chanops to make it easier to silence
3274>certain users :). On the v5 net, with both the xOP and Levels modules
3275>loaded, nothing happens to level 0 users, and users previously
3276>autoopped (levels 5+) are all set mode +hq (insofar as that there is
3277>more than one +q user in the room...).
3278
3279 Hm, I'll have to take a look into that... but it will have to be after
3280I get back from vacation, I think. (: If you want to look into it yourself,
3281check_access_cumode() is a good place to start, as mentioned above.
3282
3283>- The news.db database (imported from version 4) corrupted rather
3284>easily the first time I sent services a SIGTERM. Now I get [Oper
3285>News - Jan 01 1970] (null).
3286
3287 I, uh, fixed that. Really. The gremlins must have backed out my
3288commit, or something.
3289
3290>- The /os rehash command doesn't seem to rehash very many
3291>configuration options. I could be wrong, but I don't think I've seen
3292>any of the modules.conf options updated using this command.
3293
3294 It should get most of them, and you should get log messages for ones
3295that can't be dynamically updated. (However, this is only since alpha 8;
3296alpha 7 didn't have support for reconfiguration in the modules.) At the
3297least I've been able to make OperServ dynamically change nicks here.
3298
3299>- httpd/auth-password doesn't seem to work at all for me:
3300>Module httpd/auth-password
3301> AuthName "PhaseNet Test IRC Services"
3302> Protect /debug "quack:quack"
3303> Protect /dbaccess "quack:quack"
3304>EndModule
3305>
3306>No auth box is presented
3307
3308 Hm, it seems to have broken somewhere. I'll look into this as well.
3309
3310>- The httpd/dbaccess module is very useful for debugging
3311>access/levels problems such as the above, but it would be quite handy
3312>to have a http://serviceshost/dbaccess/chanserv/chan/levels page,
3313>showing the xOP levels sometimes.
3314
3315 Added to TODO.
3316
3317 --Andrew Church
3318 achurch@achurch.org
3319 http://achurch.org/
3320
3321From achurch at achurch.org Wed Dec 26 11:45:30 2001
3322From: achurch at achurch.org (Andrew Church)
3323Date: Sat Oct 23 23:09:12 2004
3324Subject: [IRCServices Coding] More bugs... :)
3325Message-ID: <3c2939f1.10637@achurch.org>
3326
3327>Another small XML bug, courtesy of IE6's XML parser :)
3328>
3329>Line 243 of modules/misc/xml-export.c is:
3330> writefunc(data, "\t<nickinfo>\n");
3331>and should be:
3332> writefunc(data, "\t</nickinfo>\n");
3333>with the forwardslash.
3334
3335 Thanks, fixed.
3336
3337>After that's changed the XML checks out fine in IE.
3338
3339 That's good to know... especially as it's my first attempt in doing
3340anything at all with XML. (:
3341
3342 --Andrew Church
3343 achurch@achurch.org
3344 http://achurch.org/
3345
3346From griever at t2n.org Tue Dec 25 19:30:49 2001
3347From: griever at t2n.org (Finny Merrill)
3348Date: Sat Oct 23 23:09:12 2004
3349Subject: [IRCServices Coding] Services 5.0 alpha 9 released
3350In-Reply-To: <3c2939c5.10626@achurch.org>
3351Message-ID: <Pine.LNX.4.33.0112252130300.4244-100000@linux.ircd-net.org>
3352
3353On Wed, 26 Dec 2001, Andrew Church wrote:
3354
3355> >> You should probably look into what check_access_cumode()
3356> >> (modules/chanserv/access.c) is doing; that part of the
3357> >> code has been
3358> >> thoroughly redone and gotten almost no testing. I'm not
3359> >> sure what would
3360> >> cause the autovoice level to get set to 0.
3361> >
3362> >Ahh, I wasn't very clear there - the autovoice level was set to 0 on
3363> >the version 4 services by my chanops to make it easier to silence
3364> >certain users :). On the v5 net, with both the xOP and Levels modules
3365> >loaded, nothing happens to level 0 users, and users previously
3366> >autoopped (levels 5+) are all set mode +hq (insofar as that there is
3367> >more than one +q user in the room...).
3368>
3369> Hm, I'll have to take a look into that... but it will have to be after
3370> I get back from vacation, I think. (: If you want to look into it yourself,
3371> check_access_cumode() is a good place to start, as mentioned above.
3372>
3373> >- The news.db database (imported from version 4) corrupted rather
3374> >easily the first time I sent services a SIGTERM. Now I get [Oper
3375> >News - Jan 01 1970] (null).
3376>
3377> I, uh, fixed that. Really. The gremlins must have backed out my
3378> commit, or something.
3379>
3380> >- The /os rehash command doesn't seem to rehash very many
3381> >configuration options. I could be wrong, but I don't think I've seen
3382> >any of the modules.conf options updated using this command.
3383>
3384> It should get most of them, and you should get log messages for ones
3385> that can't be dynamically updated. (However, this is only since alpha 8;
3386> alpha 7 didn't have support for reconfiguration in the modules.) At the
3387> least I've been able to make OperServ dynamically change nicks here.
3388>
3389> >- httpd/auth-password doesn't seem to work at all for me:
3390> >Module httpd/auth-password
3391> > AuthName "PhaseNet Test IRC Services"
3392> > Protect /debug "quack:quack"
3393> > Protect /dbaccess "quack:quack"
3394> >EndModule
3395> >
3396> >No auth box is presented
3397
3398You *DO* have the LoadModule line in services.conf, right?
3399
3400>
3401> Hm, it seems to have broken somewhere. I'll look into this as well.
3402>
3403> >- The httpd/dbaccess module is very useful for debugging
3404> >access/levels problems such as the above, but it would be quite handy
3405> >to have a http://serviceshost/dbaccess/chanserv/chan/levels page,
3406> >showing the xOP levels sometimes.
3407>
3408> Added to TODO.
3409>
3410> --Andrew Church
3411> achurch@achurch.org
3412> http://achurch.org/
3413> ------------------------------------------------------------------
3414> To unsubscribe or change your subscription options, visit:
3415> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
3416>
3417
3418
3419From achurch at achurch.org Wed Dec 26 14:23:28 2001
3420From: achurch at achurch.org (Andrew Church)
3421Date: Sat Oct 23 23:09:12 2004
3422Subject: [IRCServices Coding] Services 5.0 alpha 9 released
3423Message-ID: <3c295f7a.25341@achurch.org>
3424
3425>Ahh, I wasn't very clear there - the autovoice level was set to 0 on
3426>the version 4 services by my chanops to make it easier to silence
3427>certain users :). On the v5 net, with both the xOP and Levels modules
3428>loaded, nothing happens to level 0 users, and users previously
3429>autoopped (levels 5+) are all set mode +hq (insofar as that there is
3430>more than one +q user in the room...).
3431[...]
3432>- The news.db database (imported from version 4) corrupted rather
3433>easily the first time I sent services a SIGTERM. Now I get [Oper
3434>News - Jan 01 1970] (null).
3435[...]
3436>- httpd/auth-password doesn't seem to work at all for me:
3437>Module httpd/auth-password
3438> AuthName "PhaseNet Test IRC Services"
3439> Protect /debug "quack:quack"
3440> Protect /dbaccess "quack:quack"
3441>EndModule
3442>
3443>No auth box is presented
3444>
3445>- The httpd/dbaccess module is very useful for debugging
3446>access/levels problems such as the above, but it would be quite handy
3447>to have a http://serviceshost/dbaccess/chanserv/chan/levels page,
3448>showing the xOP levels sometimes.
3449
3450 Okay, these are all fixed, and I'll put out another alpha release
3451with the fixes in a moment. Ironically, the +hq bug, which I thought
3452would be tricky to track down, turned out to be a simple one-line fix,
3453while the dbaccess levels addition, which seemed pretty simple at first
3454glance, took a bit of reorganizing things. Just goes to show something
3455or other, I guess...
3456
3457 --Andrew Church
3458 achurch@achurch.org
3459 http://achurch.org/
3460
3461From achurch at achurch.org Wed Dec 26 14:45:03 2001
3462From: achurch at achurch.org (Andrew Church)
3463Date: Sat Oct 23 23:09:12 2004
3464Subject: [IRCServices Coding] Services 5.0 alpha 10 released
3465Message-ID: <3c2963d3.41711@achurch.org>
3466
3467 Okay, this will _really_ be the last release before I leave on
3468vacation, because I leave in about 15 minutes. (: Patches for the recently
3469mentioned bugs are included. Change list is below:
3470
3471Version 5.0
3472-----------
34732001/12/26 a10 Fixed bug causing strange channel user modes to be auto-set.
3474 Reported by Russ Garrett <russ@garrett.co.uk>
34752001/12/26 Added access levels link to ChanServ information page
3476 (httpd/dbaccess). Suggested by Russ Garrett
3477 <russ@garrett.co.uk>
34782001/12/26 Fixed bug in auth-password module causing Protect lines to be
3479 ignored. Reported by Russ Garrett <russ@garrett.co.uk>
34802001/12/26 Fixed bug in news database writing causing corruption.
34812001/12/26 Fixed missing slash on closing <nickinfo> tag in XML export
3482 module. Reported by Russ Garrett <russ@garrett.co.uk>
34832001/12/26 Fixed callback ordering bug causing S-line kills to leave
3484 "ghost" users in the session count. Reported by
3485 <ron885@linuxfreemail.com>
34862001/12/26 Fixed off-by-one bug causing corrupted output in XML export
3487 module. Reported by Russ Garrett <russ@garrett.co.uk>
3488
3489 --Andrew Church
3490 achurch@achurch.org
3491 http://achurch.org/
3492
3493From chromi at cyberspace.org Tue Dec 25 07:16:06 2001
3494From: chromi at cyberspace.org (Jonathan Morton)
3495Date: Sat Oct 23 23:09:12 2004
3496Subject: [IRCServices Coding] Hello !
3497In-Reply-To: <20011225124018.3C86B1742B@snow.fingers.co.za>
3498References: <20011225124018.3C86B1742B@snow.fingers.co.za>
3499Message-ID: <a05101000b84e485d9bcc@[10.0.1.2]>
3500
3501>Is the Alpha distributed with some kind of "not public" license ?
3502>I do know the term "use it at your own risk", but this "forbidden to
3503>use on a live network" is a new one.
3504
3505You're not forbidden to use it on a live network. You are, however,
3506forbidden from making a fuss when your p***ed-off users break down
3507your front door. :) You're also forbidden from whining about how
3508buggy it is - it'a an ALPHA release for crying out loud.
3509
3510--
3511--------------------------------------------------------------
3512from: Jonathan "Chromatix" Morton
3513mail: chromi@cyberspace.org (not for attachments)
3514website: http://www.chromatix.uklinux.net/vnc/
3515geekcode: GCS$/E dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$
3516 V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
3517tagline: The key to knowledge is not to rely on people to teach you it.
3518
3519From rg at tcslon.com Wed Dec 26 06:48:22 2001
3520From: rg at tcslon.com (Russell Garrett)
3521Date: Sat Oct 23 23:09:12 2004
3522Subject: [IRCServices Coding] Services 5.0 alpha 10 released
3523In-Reply-To: <3c2963d3.41711@achurch.org>
3524Message-ID: <NDBBLDHKLKMANPGMACIGOEIDCNAA.rg@tcslon.com>
3525
3526> Okay, this will _really_ be the last release before I leave on
3527> vacation, because I leave in about 15 minutes. (: Patches
3528
3529Ok, I'll queue some more bugs up in your inbox for when you return ;)
3530
3531memoserv/forward: /ms SET FORWARD [ON|OFF|COPY] doesn't work. Patch
3532follows:
3533modules/memoserv/forward.c:
3534On line 152:
3535 } else if (stricmp(option, "ON") == 0) {
3536should read:
3537 } else if (stricmp(param, "ON") == 0) {
3538On line 156:
3539 } else if (stricmp(option, "COPY") == 0) {
3540should read:
3541 } else if (stricmp(param, "COPY") == 0) {
3542and on line 159:
3543 } else if (stricmp(option, "OFF") == 0) {
3544should read:
3545 } else if (stricmp(param, "OFF") == 0) {
3546
3547memoserv/forward: After applying the above fix, /ms SET FORWARD
3548[ON|COPY] returns the following:
3549 [14:11:26] Your memos will now be forwarded to your E-mail address:
3550(null)
3551regardless of which or whether an e-mail was set, although the actual
3552forwarding works. Looks pretty simple to fix. Something to do with
3553notice_lang not being told the e-mail I think.
3554
3555memoserv/forward: After applying the set forward fix, forwarded memo
3556e-mails contain:
3557 Memo from (Dec 26 13:58:10 2001 GMT)
3558without any name. Probably a similar problem to the above.
3559
3560nickserv/autojoin: Although the AJOIN command works a treat, it
3561doesn't seem to appear on the /ns HELP COMMANDS list.
3562
3563
3564Cheers,
3565
3566Russ Garrett (russ@garrett.co.uk)
3567
3568
3569From rg at tcslon.com Wed Dec 26 09:20:54 2001
3570From: rg at tcslon.com (Russell Garrett)
3571Date: Sat Oct 23 23:09:12 2004
3572Subject: [IRCServices Coding] Yet more bugs
3573In-Reply-To: <3c2963d3.41711@achurch.org>
3574Message-ID: <NDBBLDHKLKMANPGMACIGMEIECNAA.rg@tcslon.com>
3575
3576memoserv/main: The memo send confirmation messages appear when
3577sending to some users, but not others. I'm not sure what determines
3578this though. Every time, however, the memo is sent, just sometimes it
3579isn't confirmed.
3580
3581Here is the fix for the missing e-mail address in the memoserv set
3582forward message bug I reported earlier, if anyone wants it:
3583/modules/memoserv/forward.c
3584Line 155:
3585 notice_lang(s_MemoServ, u, MEMO_SET_FORWARD_ON);
3586Change to:
3587 notice_lang(s_MemoServ, u, MEMO_SET_FORWARD_ON,
3588u->ngi->email);
3589Line 158:
3590 notice_lang(s_MemoServ, u, MEMO_SET_FORWARD_COPY);
3591Change to:
3592 notice_lang(s_MemoServ, u, MEMO_SET_FORWARD_COPY,
3593u->ngi->email);
3594
3595
3596Russ Garrett (russ@garrett.co.uk)
3597
3598
3599From dwd at buli.net Sat Dec 29 06:36:48 2001
3600From: dwd at buli.net (dwd@buli.net)
3601Date: Sat Oct 23 23:09:12 2004
3602Subject: [IRCServices Coding] errors.log?
3603Message-ID: <DPG.WIN.300.0112291536483020582672@drotposta.hu>
3604
3605Hi!
3606
3607errors.log:
3608[Fri Dec 28 23:16:22 2001] - num - 1
3609
3610What's this?
3611
3612Thanks:
3613--
3614dwd
3615ICQ#108548590
3616chat@dwdworld.net
3617http://chat.dwdworld.net