View Issue Details

IDProjectCategoryView StatusLast Update
0003140unrealmodule apipublic2023-02-03 12:35
Reportercapitaine Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
OSAll systemsOS Version3.2.* 
Product Version3.2 
Fixed in Version6.0.6 
Summary0003140: RPC communication
DescriptionOne may thinks daily admin (ie *lines, Spamfilter, ip tracking) could be easy once you are well trained with all ircd commands.
But the bigger the network is, the harder the admin is getting.
Thus, medium and big sized networks are dealing with thousands of bans and spamfilters, so it can quickly become a nightmare.
Couldn't attach my spamfilters list for you to check, as it weight 23Kb.

Well, I think the idea of RPC apis (XML or whatever) is great, and can help anybody who would like to build its own administration interfaces (shell, web, etc).
Direct interaction with the ircd could have so many applications, like ip/vhosts reports, bans or spamfilter add/remove, and at least human readable timestamps.

It could also introduce new development perspectives, like it has been with Anope PHP scripts.

Regards.
TagsNo tags attached.
3rd party modules

Relationships

related to 0000536 closedsyzop Config changes through WEB 
has duplicate 0004501 closedsyzop An XML-RPC interface. 

Activities

WolfSage

2007-04-18 16:25

reporter   ~0013534

Mmm. Thoughts?

djGrrr

2007-04-19 09:27

reporter   ~0013605

this seems like it would be better suited as a module

syzop

2007-04-26 05:48

administrator   ~0013722

I'm thinking this is a better idea than to build a webserver in the IRCd (as was the plan like.. 5 years ago).

syzop

2022-06-19 20:23

administrator   ~0022565

Currently being worked on for UnrealIRCd 6.0.5. The start of it is in current git with near zero documentation.
https://github.com/unrealircd/unrealircd/pull/221
More work to follow.

syzop

2022-06-19 20:29

administrator   ~0022566

https://www.unrealircd.org/docs/JSON-RPC is the documentation starter

syzop

2022-06-24 20:56

administrator   ~0022579

The methods user.list and channel.list were already there, now added server_ban.list/.get/.add/.del so it's becoming more useful now.

Also sent out a call for help at https://forums.unrealircd.org/viewtopic.php?t=9195 (also on twitter and mailing list). Let's see if some web devs show up this weekend...

syzop

2022-12-07 13:54

administrator   ~0022679

In UnrealIRCd 6.0.5-rc1 these are implemented:
    rpc.info
    user.list
    user.get
    channel.list
    server_ban.list
    server_ban.get
    server_ban.add
    server_ban.del
    spamfilter.list
    spamfilter.get
    spamfilter.add
    spamfilter.del

There is documentation at https://www.unrealircd.org/docs/JSON-RPC but still lacking technical details.

The webpanel status is not entirely clear, some people managed to get it up and running by now, i think.

syzop

2023-02-03 12:35

administrator   ~0022716

UnrealIRCd 6.0.5 had an initial API and UnrealIRCd 6.0.6 has an actual useful.. quite extensive.. JSON-RPC API.
See the 6.0.6 release announcement at https://forums.unrealircd.org/viewtopic.php?t=9267
which also mentions the new admin panel at https://github.com/unrealircd/unrealircd-webpanel/ which is usable and useful.

Issue History

Date Modified Username Field Change
2006-12-07 06:51 capitaine New Issue
2007-04-18 16:25 WolfSage Note Added: 0013534
2007-04-19 02:37 stskeeps Status new => acknowledged
2007-04-19 09:27 djGrrr Note Added: 0013605
2007-04-26 05:48 syzop Note Added: 0013722
2017-01-06 15:48 syzop Category module => module api
2022-06-19 20:20 syzop Relationship added related to 0000536
2022-06-19 20:20 syzop Relationship added related to 0004501
2022-06-19 20:22 syzop Relationship replaced has duplicate 0004501
2022-06-19 20:22 syzop Assigned To => syzop
2022-06-19 20:22 syzop Status acknowledged => assigned
2022-06-19 20:23 syzop Note Added: 0022565
2022-06-19 20:29 syzop Note Added: 0022566
2022-06-24 20:56 syzop Note Added: 0022579
2022-12-07 13:54 syzop Note Added: 0022679
2023-02-03 12:35 syzop Status assigned => resolved
2023-02-03 12:35 syzop Resolution open => fixed
2023-02-03 12:35 syzop Fixed in Version => 6.0.6
2023-02-03 12:35 syzop Note Added: 0022716