View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006083 | unreal | ircd | public | 2022-04-02 18:09 | 2022-05-23 12:47 |
Reporter | westor | Assigned To | syzop | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 6.0.4-rc1 | ||||
Summary | 0006083: Add some missing items on json-log-tag | ||||
Description | Hello, This is one of the most useful things on UnrealIRCD 6 , the thing is it could be also include some missing things, i will provide them below: 1. client -> vhost -> virtual host (e.g: my.private.host) 2. client -> idle_since -> value (e.g: 2022-04-02T15:15:07.000Z) 3. client -> user -> geoip -> country_name (e.g: Greece) 4. client -> user -> geoip -> country_code (e.g: GR) 5. client -> user -> secure -> tls version (e.g: TLSv1.2-ECDHE-RSA-AES256-GCM-SHA384) 6. client -> user -> certfp -> client certificate fingerprint (e.g: b5815da86040e2fb3618fe3d4c2b2c26c8f9e54be43b40c2b91120abb49956dc) 7 (maybe). client -> user -> channels -> value (e.g: #one,#two) - Thanks! | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
TLS is done in this:commit 0f7555e4c5a2917df3edbfaa7e886b705a292c7d (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD) Author: Bram Matthys <[email protected]> Date: Mon May 23 11:07:08 2022 +0200 Add to JSON logging output: "tls" with subitems "cipher" and "certfp". Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 (It is not under "user" because it is for servers too) And GEO here: commit c04ad9635717f581608cd3f86ace80f0af7d299f (HEAD -> unreal60_dev) Author: Bram Matthys <[email protected]> Date: Mon May 23 11:19:40 2022 +0200 Add to JSON logging output: "geoip" with subitem "country_code". Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 (It is not under "user" because the info can be useful before someone is considered a user, eg when flooding/rejected/etc) |
|
VHOST / CLOAKEDHOST:commit af8418fb3ef6a457a99482e5201ae2c3032f2af2 (HEAD -> unreal60_dev) Author: Bram Matthys <[email protected]> Date: Mon May 23 11:25:52 2022 +0200 Add to JSON logging output, for users: "vhost" and "cloakedhost" Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 The "vhost" field is added if the visible host of the user differs from the real hostname, such as +x with cloaking or +xt with a vhost. The "cloakedhost" is always included, even if the user does not currently have a cloaked host at all (eg is -x or using a vhost). Both make it easier to search log files based on user reports. Eg a user mentions a vhost or cloaked host from their user logs and then a server admin searches the UnrealIRCd logs on this to retrieve the real host / ip / user based on that. |
|
IDLE:commit 7280ffdc578f8c290e160047536247eae055a9c9 (HEAD -> unreal60_dev) Author: Bram Matthys <[email protected]> Date: Mon May 23 11:53:32 2022 +0200 Add to JSON logging output, for users: "idle_since". Suggested by westor in https://bugs.unrealircd.org/view.php?id=6083 For technical reasons this field is only available for local users. |
|
Thanks for the good suggestions. I have done all but the last one (channels) at the moment... that one was actually on (long term) TODO but with a configurable item to expand / not to expand. Although I think it would be OK to expand it always for now. Will have a go later probably. |
|
Thanks for these additions , is much appreciated :) Good work as always ! |
|
And finally, CHANNELS:ommit 60eba7c5012301cb60b80780d4c033af8243bcdb (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD) Author: Bram Matthys <[email protected]> Date: Mon May 23 12:09:57 2022 +0200 Add to JSON logging output, for users: "channels" The list of channels (which is an array) is limited to a total of 384 characters after JSON expansion. If it is limited then the last item will be "...". |
|
Will be in 6.0.4. Thanks again :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-04-02 18:09 | westor | New Issue | |
2022-05-23 11:21 | syzop | Note Added: 0022509 | |
2022-05-23 11:22 | syzop | Note Edited: 0022509 | |
2022-05-23 11:33 | syzop | Note Added: 0022510 | |
2022-05-23 11:54 | syzop | Note Added: 0022511 | |
2022-05-23 11:56 | syzop | Note Added: 0022512 | |
2022-05-23 12:19 | westor | Note Added: 0022513 | |
2022-05-23 12:47 | syzop | Note Added: 0022514 | |
2022-05-23 12:47 | syzop | Assigned To | => syzop |
2022-05-23 12:47 | syzop | Status | new => resolved |
2022-05-23 12:47 | syzop | Resolution | open => fixed |
2022-05-23 12:47 | syzop | Fixed in Version | => 6.0.4-rc1 |
2022-05-23 12:47 | syzop | Note Added: 0022515 |