[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Service help



Hi all,

First, I'm new to the list and couldn't find an archive to see if my
question was answered.  Does such an archive exist?

I wish to provide a feature for my IRC network which I am thinking
should be implemented partly as a service.  This feature would allow
users to request a history, last 100 messages or so, of the
conversations in a channel.

The need for this feature comes from having a mostly java applet client
base.  Our site (http://www.superchannel.org) uses frames and the chat
page frequently gets reloaded.  Each reload the end-user lacks a context
to begin chatting.

The solution I am thinking of is to provide a service/bot combination.
The service would monitor the creation of channels then send a bot to
sit in each channel which would handle the message storage and
retrieval.  Each time my java applet loads, it will ask for the history
from the bot in the channel it joins.

Does this sound viable?
Has it been done before?

I am currently playing with telnetting into a local ircd (2.10.3) and
simulating the service part of the solution.  However, I believe that I
have a misconifgured ircd.conf.  A client dialog:

[seant@ember /tmp]$ telnet localhost 6667
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
pass ember
service SC * * 0 0 Foo
ERROR :Access denied (service 0) SC[-seant@xxxxxxxxx]
ERROR :Closing Link: SC[-seant@xxxxxxxxx] (Not enabled)
Connection closed by foreign host.

The uncommented lines in ircd.conf

M:ember.superchannel.org:127.0.0.1:Superchannel:6667
A:Superchannel:webmaster@xxxxxxxxxxxxxxxx:Client Server::
P::::6667:
Y:2:90:300:1:4000000
Y:10:90::100:512000:10:32
Y:11:90::100:512000:0.1:0.2
Y:12:90::100:512000:1:3
Y:13:90::100:512000:1000:1000
i:*::*::13
I:*@192.168.*::::12
V:020901*::*::
V:*:D:*::
V:020902*:K:*.edu::
S:*:ember:SC:0xffffff:13

Syslog:

Apr 28 17:37:34 ember iauth[18210]: Daemon starting (2.10.3+debug).
Apr 28 17:37:34 ember /usr/local/sbin/ircd[18209]: Server Ready: v2.10.3
(Fri Apr 28 2000 at 17:36:25 CEST #6)
Apr 28 17:37:36 ember in.identd[18212]: started
Apr 28 17:38:05 ember /usr/local/sbin/ircd[18209]: Fri Apr 28 17:37:36
2000 ( Unknown ): <none>@127.0.0.1 [-seant] - 
Apr 28 17:38:05 ember /usr/local/sbin/ircd[18209]: 0x80fbab8 !in tab
SC[??host] 0 0x80f5040 0 -2 -2 0

I am sure this is a minor oversight on my part but I've read the manuals
and don't have any more ideas.

Any help is appreciated,
Sean