Sending "/cap req -chghost" causes users to join channels they are not in, client side. #1052

Closed
opened 2026-10-05 05:00:36 +02:00 by adam · 3 comments
Owner

/cap req -chghost Causes znc to think all cloaked users that identify to services after joining a channel are in ALL your attached, detached, and disabled channels, even though they might be only in one channel.

[13:23:06] <*status> ZNC 1.10.x-git-27-bfd731cf - https://znc.in
[13:23:06] <*status> IPv6: yes, SSL: yes, DNS: threads, charset: yes, i18n: no, Argon2: yes

IRC Client side raw log:

<- @time=2024-12-26T18:16:00.622Z :TestingOne!~TestingOn@1.1.1.1 JOIN ##kindone * :[https://web.libera.chat] TestingOne
<- @time=2024-12-26T18:16:09.548Z PING :ZNC
-> zirconium.libera.chat PONG :ZNC
<- @time=2024-12-26T18:16:39.613Z PING :ZNC
-> zirconium.libera.chat PONG :ZNC
-> zirconium.libera.chat WHOIS testingOne
<- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 311 GLaDOS TestingOne ~TestingOn 1.1.1.1 * :[https://web.libera.chat] TestingOne
<- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 319 GLaDOS TestingOne :##kindone
<- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 312 GLaDOS TestingOne gold.libera.chat :Webchat
<- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 671 GLaDOS TestingOne :is using a secure connection
<- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 338 GLaDOS TestingOne 1.1.1.1 :actually using host
<- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 318 GLaDOS testingOne :End of /WHOIS list.
<- @time=2024-12-26T18:17:09.712Z PING :ZNC
-> zirconium.libera.chat PONG :ZNC
-> zirconium.libera.chat cap req -chghost
<- @time=2024-12-26T18:17:19.171Z :irc.znc.in CAP GLaDOS ACK :-chghost
<- @time=2024-12-26T18:17:39.951Z PING :ZNC
-> zirconium.libera.chat PONG :ZNC
<- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@1.1.1.1 ACCOUNT KindOne
<- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@1.1.1.1 QUIT :Changing hostname
<- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN #libera-newyears   // BUG -  This channel is detached and disabled. 
<- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN ##kindone
<- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN ##kindone-test // BUG
<- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN ##kindone-123 // BUG
<- @time=2024-12-26T18:18:09.972Z PING :ZNC
-> zirconium.libera.chat PONG :ZNC
-> zirconium.libera.chat WHOIS testingOne
<- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 311 GLaDOS TestingOne ~TestingOn user/meow/KindOne * :[https://web.libera.chat] TestingOne
<- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 319 GLaDOS TestingOne :##kindone
<- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 312 GLaDOS TestingOne gold.libera.chat :Webchat
<- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 671 GLaDOS TestingOne :is using a secure connection
<- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 330 GLaDOS TestingOne KindOne :is logged in as
<- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 318 GLaDOS testingOne :End of /WHOIS list.
```/cap req -chghost``` Causes znc to think all cloaked users that identify to services after joining a channel are in ALL your attached, detached, and disabled channels, even though they might be only in one channel. ``` [13:23:06] <*status> ZNC 1.10.x-git-27-bfd731cf - https://znc.in [13:23:06] <*status> IPv6: yes, SSL: yes, DNS: threads, charset: yes, i18n: no, Argon2: yes ``` IRC Client side raw log: ``` <- @time=2024-12-26T18:16:00.622Z :TestingOne!~TestingOn@1.1.1.1 JOIN ##kindone * :[https://web.libera.chat] TestingOne <- @time=2024-12-26T18:16:09.548Z PING :ZNC -> zirconium.libera.chat PONG :ZNC <- @time=2024-12-26T18:16:39.613Z PING :ZNC -> zirconium.libera.chat PONG :ZNC -> zirconium.libera.chat WHOIS testingOne <- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 311 GLaDOS TestingOne ~TestingOn 1.1.1.1 * :[https://web.libera.chat] TestingOne <- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 319 GLaDOS TestingOne :##kindone <- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 312 GLaDOS TestingOne gold.libera.chat :Webchat <- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 671 GLaDOS TestingOne :is using a secure connection <- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 338 GLaDOS TestingOne 1.1.1.1 :actually using host <- @time=2024-12-26T18:16:55.361Z :iridium.libera.chat 318 GLaDOS testingOne :End of /WHOIS list. <- @time=2024-12-26T18:17:09.712Z PING :ZNC -> zirconium.libera.chat PONG :ZNC -> zirconium.libera.chat cap req -chghost <- @time=2024-12-26T18:17:19.171Z :irc.znc.in CAP GLaDOS ACK :-chghost <- @time=2024-12-26T18:17:39.951Z PING :ZNC -> zirconium.libera.chat PONG :ZNC <- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@1.1.1.1 ACCOUNT KindOne <- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@1.1.1.1 QUIT :Changing hostname <- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN #libera-newyears // BUG - This channel is detached and disabled. <- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN ##kindone <- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN ##kindone-test // BUG <- @account=KindOne;time=2024-12-26T18:18:02.504Z :TestingOne!~TestingOn@user/meow/KindOne JOIN ##kindone-123 // BUG <- @time=2024-12-26T18:18:09.972Z PING :ZNC -> zirconium.libera.chat PONG :ZNC -> zirconium.libera.chat WHOIS testingOne <- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 311 GLaDOS TestingOne ~TestingOn user/meow/KindOne * :[https://web.libera.chat] TestingOne <- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 319 GLaDOS TestingOne :##kindone <- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 312 GLaDOS TestingOne gold.libera.chat :Webchat <- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 671 GLaDOS TestingOne :is using a secure connection <- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 330 GLaDOS TestingOne KindOne :is logged in as <- @time=2024-12-26T18:18:12.538Z :iridium.libera.chat 318 GLaDOS testingOne :End of /WHOIS list. ``` <!-- github-sync-id:2760036683 -->
adam closed this issue 2026-10-05 05:00:37 +02:00
Author
Owner

I had handled detached channels, but forgot about disabled ones. Fixed.

Please test

I had handled detached channels, but forgot about disabled ones. Fixed. Please test <!-- github-comment-id:2564679683 -->
Author
Owner

That fixed the detached channel, but the nick is still being sent into channels client side they are not actually in. ZNC told my client the nick joined #b and #c, even though it never actually happened.

[2024-12-29 07:17:43.099768] (KindOne/foobar) CLI -> ZNC [PRIVMSG *status :listchans]
[2024-12-29 07:17:43.100401] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :+-------+------+----------+-----------+--------+-------+-------+-------+---+---+]
[2024-12-29 07:17:43.100504] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| Index | Name | Status   | In config | Buffer | Clear | Modes | Users | @ | + |]
[2024-12-29 07:17:43.100577] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :+-------+------+----------+-----------+--------+-------+-------+-------+---+---+]
[2024-12-29 07:17:43.100647] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 1     | @#a  | Joined   | yes       | 1000   | yes   | +nt   | 1     | 1 | 0 |]
[2024-12-29 07:17:43.100708] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 2     | @#b  | Joined   | yes       | 1000   | yes   | +nt   | 1     | 1 | 0 |]
[2024-12-29 07:17:43.100768] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 3     | @#c  | Joined   | yes       | 1000   | yes   | +nt   | 1     | 1 | 0 |]
[2024-12-29 07:17:43.100826] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 4     | #d   | Disabled | yes       | 1000   | yes   |       | 0     | 0 | 0 |]
[2024-12-29 07:17:43.100886] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :+-------+------+----------+-----------+--------+-------+-------+-------+---+---+]
[2024-12-29 07:17:43.100975] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :Total: 4, Joined: 3, Detached: 0, Disabled: 1]
[2024-12-29 07:17:46.720012] (KindOne/foobar) CLI -> ZNC [CAP req -chghost]
[2024-12-29 07:17:46.720917] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:17:46.720Z :irc.znc.in CAP KindOne ACK :-chghost]
[2024-12-29 07:17:55.971612] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:17:55.971Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa]
[2024-12-29 07:17:55.972513] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:17:55.971Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa]
[2024-12-29 07:18:00.745774] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne]
[2024-12-29 07:18:00.746149] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne]
[2024-12-29 07:18:00.746211] /home/kindone/znc-dev/src/Csocket.cpp:2043 Warning during converting string encoding: U_STRING_NOT_TERMINATED_WARNING
[2024-12-29 07:18:00.746521] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 CHGHOST lol example.vhost]
[2024-12-29 07:18:00.746977] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 QUIT :Changing hostname]
[2024-12-29 07:18:00.747244] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@example.vhost JOIN #a]
// BUG - TestingOne is not actually in the #b channel.
[2024-12-29 07:18:00.747495] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@example.vhost JOIN #b]
// BUG - TestingOne is not actually in the #c channel.
[2024-12-29 07:18:00.747743] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@example.vhost JOIN #c]
[2024-12-29 07:18:11.750680] (KindOne/foobar) CLI -> ZNC [WHOIS TestingOne]
[2024-12-29 07:18:11.751164] (KindOne/foobar) ZNC -> IRC [WHOIS TestingOne]
[2024-12-29 07:18:11.752089] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa]
[2024-12-29 07:18:11.752730] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa]
[2024-12-29 07:18:11.752882] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 319 KindOne TestingOne :#a]
[2024-12-29 07:18:11.753315] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 319 KindOne TestingOne :#a]
[2024-12-29 07:18:11.753385] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network]
[2024-12-29 07:18:11.753803] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network]
[2024-12-29 07:18:11.753870] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2]
[2024-12-29 07:18:11.754284] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2]
[2024-12-29 07:18:11.754350] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 317 KindOne TestingOne 17 1735474674 :seconds idle, signon time]
[2024-12-29 07:18:11.754810] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 317 KindOne TestingOne 17 1735474674 :seconds idle, signon time]
[2024-12-29 07:18:11.754878] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as]
[2024-12-29 07:18:11.755290] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as]
[2024-12-29 07:18:11.755354] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.]
[2024-12-29 07:18:11.755770] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.]

Using /msg *send_raw server KindOne foobar cap req -chghost fixed the issue and gets rid of the chghost both client and znc side.

[2024-12-29 07:24:15.270341] (KindOne/foobar) CLI -> ZNC [PRIVMSG *send_raw :server KindOne foobar cap req -chghost]
[2024-12-29 07:24:15.271241] (KindOne/foobar) ZNC -> IRC [cap req -chghost]
[2024-12-29 07:24:15.271411] (KindOne/foobar) ZNC -> CLI [:*send_raw!send_raw@znc.in PRIVMSG KindOne :Sent [cap req -chghost] to IRC server of KindOne/foobar]
[2024-12-29 07:24:15.271905] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:24:15.271Z :laptop.foobar.net CAP KindOne ACK :-chghost]
[2024-12-29 07:24:21.232966] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:21.232Z :TestingOne!lol@example.vhost QUIT :]
[2024-12-29 07:24:21.234208] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:21.232Z :TestingOne!lol@example.vhost QUIT :]
[2024-12-29 07:24:24.323294] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:24:24.323Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa]
[2024-12-29 07:24:24.324173] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:24:24.323Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa]
[2024-12-29 07:24:35.300507] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne]
[2024-12-29 07:24:35.300909] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne]
[2024-12-29 07:24:35.300977] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 QUIT :Changing host]
[2024-12-29 07:24:35.301750] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 QUIT :Changing host]
[2024-12-29 07:24:35.302083] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@example.vhost JOIN #a KindOne :aaaaa]
[2024-12-29 07:24:35.302802] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@example.vhost JOIN #a KindOne :aaaaa]
[2024-12-29 07:25:09.856015] (KindOne/foobar) CLI -> ZNC [WHOIS TestingOne]
[2024-12-29 07:25:09.856482] (KindOne/foobar) ZNC -> IRC [WHOIS TestingOne]
[2024-12-29 07:25:09.856955] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa]
[2024-12-29 07:25:09.857550] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa]
[2024-12-29 07:25:09.857993] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 319 KindOne TestingOne :#a]
[2024-12-29 07:25:09.858469] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 319 KindOne TestingOne :#a]
[2024-12-29 07:25:09.858540] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network]
[2024-12-29 07:25:09.859004] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network]
[2024-12-29 07:25:09.859074] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2]
[2024-12-29 07:25:09.859478] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2]
[2024-12-29 07:25:09.859545] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 317 KindOne TestingOne 46 1735475063 :seconds idle, signon time]
[2024-12-29 07:25:09.859948] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 317 KindOne TestingOne 46 1735475063 :seconds idle, signon time]
[2024-12-29 07:25:09.860013] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as]
[2024-12-29 07:25:09.860413] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as]
[2024-12-29 07:25:09.860477] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.]
[2024-12-29 07:25:09.860878] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.]
That fixed the detached channel, but the nick is still being sent into channels client side they are not actually in. ZNC told my client the nick joined ```#b``` and ```#c```, even though it never actually happened. ``` [2024-12-29 07:17:43.099768] (KindOne/foobar) CLI -> ZNC [PRIVMSG *status :listchans] [2024-12-29 07:17:43.100401] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :+-------+------+----------+-----------+--------+-------+-------+-------+---+---+] [2024-12-29 07:17:43.100504] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| Index | Name | Status | In config | Buffer | Clear | Modes | Users | @ | + |] [2024-12-29 07:17:43.100577] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :+-------+------+----------+-----------+--------+-------+-------+-------+---+---+] [2024-12-29 07:17:43.100647] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 1 | @#a | Joined | yes | 1000 | yes | +nt | 1 | 1 | 0 |] [2024-12-29 07:17:43.100708] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 2 | @#b | Joined | yes | 1000 | yes | +nt | 1 | 1 | 0 |] [2024-12-29 07:17:43.100768] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 3 | @#c | Joined | yes | 1000 | yes | +nt | 1 | 1 | 0 |] [2024-12-29 07:17:43.100826] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :| 4 | #d | Disabled | yes | 1000 | yes | | 0 | 0 | 0 |] [2024-12-29 07:17:43.100886] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :+-------+------+----------+-----------+--------+-------+-------+-------+---+---+] [2024-12-29 07:17:43.100975] (KindOne/foobar) ZNC -> CLI [:*status!status@znc.in PRIVMSG KindOne :Total: 4, Joined: 3, Detached: 0, Disabled: 1] [2024-12-29 07:17:46.720012] (KindOne/foobar) CLI -> ZNC [CAP req -chghost] [2024-12-29 07:17:46.720917] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:17:46.720Z :irc.znc.in CAP KindOne ACK :-chghost] [2024-12-29 07:17:55.971612] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:17:55.971Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa] [2024-12-29 07:17:55.972513] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:17:55.971Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa] [2024-12-29 07:18:00.745774] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne] [2024-12-29 07:18:00.746149] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne] [2024-12-29 07:18:00.746211] /home/kindone/znc-dev/src/Csocket.cpp:2043 Warning during converting string encoding: U_STRING_NOT_TERMINATED_WARNING [2024-12-29 07:18:00.746521] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 CHGHOST lol example.vhost] [2024-12-29 07:18:00.746977] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@10.10.1.2 QUIT :Changing hostname] [2024-12-29 07:18:00.747244] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@example.vhost JOIN #a] // BUG - TestingOne is not actually in the #b channel. [2024-12-29 07:18:00.747495] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@example.vhost JOIN #b] // BUG - TestingOne is not actually in the #c channel. [2024-12-29 07:18:00.747743] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:18:00.744Z :TestingOne!lol@example.vhost JOIN #c] [2024-12-29 07:18:11.750680] (KindOne/foobar) CLI -> ZNC [WHOIS TestingOne] [2024-12-29 07:18:11.751164] (KindOne/foobar) ZNC -> IRC [WHOIS TestingOne] [2024-12-29 07:18:11.752089] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa] [2024-12-29 07:18:11.752730] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa] [2024-12-29 07:18:11.752882] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 319 KindOne TestingOne :#a] [2024-12-29 07:18:11.753315] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 319 KindOne TestingOne :#a] [2024-12-29 07:18:11.753385] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network] [2024-12-29 07:18:11.753803] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network] [2024-12-29 07:18:11.753870] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2] [2024-12-29 07:18:11.754284] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2] [2024-12-29 07:18:11.754350] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 317 KindOne TestingOne 17 1735474674 :seconds idle, signon time] [2024-12-29 07:18:11.754810] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 317 KindOne TestingOne 17 1735474674 :seconds idle, signon time] [2024-12-29 07:18:11.754878] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as] [2024-12-29 07:18:11.755290] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as] [2024-12-29 07:18:11.755354] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.] [2024-12-29 07:18:11.755770] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:18:11.751Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.] ``` Using ```/msg *send_raw server KindOne foobar cap req -chghost``` fixed the issue and gets rid of the ```chghost``` both client and znc side. ``` [2024-12-29 07:24:15.270341] (KindOne/foobar) CLI -> ZNC [PRIVMSG *send_raw :server KindOne foobar cap req -chghost] [2024-12-29 07:24:15.271241] (KindOne/foobar) ZNC -> IRC [cap req -chghost] [2024-12-29 07:24:15.271411] (KindOne/foobar) ZNC -> CLI [:*send_raw!send_raw@znc.in PRIVMSG KindOne :Sent [cap req -chghost] to IRC server of KindOne/foobar] [2024-12-29 07:24:15.271905] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:24:15.271Z :laptop.foobar.net CAP KindOne ACK :-chghost] [2024-12-29 07:24:21.232966] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:21.232Z :TestingOne!lol@example.vhost QUIT :] [2024-12-29 07:24:21.234208] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:21.232Z :TestingOne!lol@example.vhost QUIT :] [2024-12-29 07:24:24.323294] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:24:24.323Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa] [2024-12-29 07:24:24.324173] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:24:24.323Z :TestingOne!lol@10.10.1.2 JOIN #a * :aaaaa] [2024-12-29 07:24:35.300507] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne] [2024-12-29 07:24:35.300909] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 ACCOUNT KindOne] [2024-12-29 07:24:35.300977] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 QUIT :Changing host] [2024-12-29 07:24:35.301750] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@10.10.1.2 QUIT :Changing host] [2024-12-29 07:24:35.302083] (KindOne/foobar) IRC -> ZNC [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@example.vhost JOIN #a KindOne :aaaaa] [2024-12-29 07:24:35.302802] (KindOne/foobar) ZNC -> CLI [@account=KindOne;time=2024-12-29T12:24:35.298Z :TestingOne!lol@example.vhost JOIN #a KindOne :aaaaa] [2024-12-29 07:25:09.856015] (KindOne/foobar) CLI -> ZNC [WHOIS TestingOne] [2024-12-29 07:25:09.856482] (KindOne/foobar) ZNC -> IRC [WHOIS TestingOne] [2024-12-29 07:25:09.856955] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa] [2024-12-29 07:25:09.857550] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 311 KindOne TestingOne lol example.vhost * :aaaaa] [2024-12-29 07:25:09.857993] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 319 KindOne TestingOne :#a] [2024-12-29 07:25:09.858469] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 319 KindOne TestingOne :#a] [2024-12-29 07:25:09.858540] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network] [2024-12-29 07:25:09.859004] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.856Z :laptop.foobar.net 312 KindOne TestingOne laptop.foobar.net :foobar network] [2024-12-29 07:25:09.859074] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2] [2024-12-29 07:25:09.859478] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 378 KindOne TestingOne :is connecting from *@10.10.1.2 10.10.1.2] [2024-12-29 07:25:09.859545] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 317 KindOne TestingOne 46 1735475063 :seconds idle, signon time] [2024-12-29 07:25:09.859948] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 317 KindOne TestingOne 46 1735475063 :seconds idle, signon time] [2024-12-29 07:25:09.860013] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as] [2024-12-29 07:25:09.860413] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 330 KindOne TestingOne KindOne :is logged in as] [2024-12-29 07:25:09.860477] (KindOne/foobar) IRC -> ZNC [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.] [2024-12-29 07:25:09.860878] (KindOne/foobar) ZNC -> CLI [@time=2024-12-29T12:25:09.857Z :laptop.foobar.net 318 KindOne TestingOne :End of /WHOIS list.] ``` <!-- github-comment-id:2564709640 -->
Author
Owner

Ah, of course

Ah, of course <!-- github-comment-id:2564749170 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#1052