ZNCs can connect to other ZNCs within the same instance #128

Closed
opened 2026-10-05 04:00:22 +02:00 by adam · 1 comment
Owner

Is this a bug? We can connect from one ZNC account to another ZNC account on the same instance of the process.

Is this a bug? We can connect from one ZNC account to another ZNC account on the same instance of the process. <!-- github-sync-id:5859071 -->
adam closed this issue 2026-10-05 04:00:22 +02:00
Author
Owner

How is this a bug?
At both client and server sides ZNC implements standard IRC protocol. It means that any IRC client can connect to ZNC and ZNC can connect to any IRC server, if they support those standards as well. As ZNC is both server and client it can just connect to itself, why not?
This possibility even can be used, see this link for an example.

Though ZNC detects if you connect an account to the same account, or e.g. 2 accounts to each other, and it doesn't allow to do that.

How is this a bug? At both client and server sides ZNC implements standard IRC protocol. It means that any IRC client can connect to ZNC and ZNC can connect to any IRC server, if they support those standards as well. As ZNC is both server and client it can just connect to itself, why not? This possibility even can be used, see [this link](http://wiki.znc.in/FAQ#How_to_store_private_messages_even_when_user_is_attached.2C_so_other_clients_can_see_them.3F) for an example. Though ZNC detects if you connect an account to the same account, or e.g. 2 accounts to each other, and it doesn't allow to do that. <!-- github-comment-id:7284407 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#128