[IRCServices Coding] Restricted + Secure --> No Kick List.

Andrew Church achurch at achurch.org
Thu Jul 8 21:55:53 PDT 2004


>Someone has made an SQL Database:
>
>Ircd checks from this database if user is permitted or
>not to join the channel. Allowed nicknames to database
>can be added / removed with services command like
>this:
[...]
>Is possible for something like this to be made?

     In theory, yes.  In practice, no, because non-local servers would take
too much time to access the (remote) database, plus you'd have security
issues to worry about with allowing remote access to the detabase in the
first place.  In any case it would be simpler to do it within the IRC
protocol--e.g.:

[client] JOIN #channel
[ircd, to Services] :client JOINREQ #channel
[Services, to ircd] :services.example.net JOINALLOW client #channel
               (or) :services.example.net JOINDENY client #channel
[ircd, to client] :client JOIN #channel
             (or) :ircd.example.net 499 client :Join for #channel denied

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/