View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005712||unreal||ircd||public||2020-06-17 17:37||2021-11-01 10:36|
|Fixed in Version||5.0.9-rc1|
|Summary||0005712: U6: extendable connect notices|
|Description||In U4 we changed to an universal format so we no longer needed HCN for BOPM/HOPM.|
Nowadays, those are only used by a marginal amount of users (like k4be :D). On the other hand, several users have asked for more information in the format.
Presumably there is a way to still have BOPM/HOPM parse the notice out of the box, while still extending it in a nice way with additional information. Eg:
*** Client connecting: nick (user@hostname) [IP] [class] [secure XYZ] [other stuff] [more other stuff]
Module-wise I would like to see the ability for modules to add parts, such as "Country: NL" (or the long version) and "SASL: accountname", etc.
Something like that would be quite easy in a hook I think. I would suggest to let modules add their string via a string return value, and let the core deal with adding the brackets and concatting the values together.
This feature is just something small but simple that may provide opers with more information, especially when unknown people are connecting or under an attack.
|Tags||No tags attached.|
|3rd party modules|
Implemented in 5.0.9:
Author: Bram Matthys <firstname.lastname@example.org>
Date: Sun Jan 31 18:28:28 2021 +0100
Show reputation score and some other info in "Client connecting"
notices to IRCOps and in ircd.log.
See the release notes for more details.
You can use HOOKTYPE_CONNECT_EXTINFO to add your own additional
information as well. See get_connect_extinfo() for inspiration.
Use nvplist_add() or nvplist_add_fmt() to easily add your info
to the list.
Module coders II:
Small note: this moves the sending of the far connect notice
to /under/ HOOKTYPE_REMOTE_CONNECT instead of /above/.
|2020-06-17 17:37||syzop||New Issue|
|2020-06-17 17:37||syzop||Status||new => acknowledged|
|2020-06-17 17:42||syzop||Description Updated|
|2021-03-08 10:54||syzop||Assigned To||=> syzop|
|2021-03-08 10:54||syzop||Status||acknowledged => resolved|
|2021-03-08 10:54||syzop||Resolution||open => fixed|
|2021-03-08 10:54||syzop||Fixed in Version||=> 5.0.9-rc1|
|2021-03-08 10:54||syzop||Note Added: 0021906|
|2021-11-01 10:36||syzop||View Status||private => public|