如果我对 IRC 上的人执行 /whois 操作,他们会收到通知吗?

mar*_*rco 6 irc

我使用/whois命令的人是否以某种方式看到它,或者是否有让他们看到的设置?这在任何客户端上都可能吗?如果是,如何?我希望不是,我不想让人们看到我在跟踪。

Ben*_*n N 7

根据RFC 2812, section 3.6.2,关于WHOIS命令:

This command is used to query information about particular user.
The server will answer this command with several numeric messages
indicating different statuses of each user which matches the mask (if
you are entitled to see them).  If no wildcard is present in the
<mask>, any information about that nick which you are allowed to see
is presented.

If the <target> parameter is specified, it sends the query to a
specific server.  It is useful if you want to know how long the user
in question has been idle as only local server (i.e., the server the
user is directly connected to) knows that information, while
everything else is globally known.
Run Code Online (Sandbox Code Playgroud)

它说服务器将回答该命令。因此,使用的客户端及其设置与行为无关。RFC 没有说明服务器是否可以做任何其他事情(例如,无论如何通知目标用户或记录事件),因此服务器可以做任何不违反规范的事情。

在实践中,我还没有看到任何服务器会通知普通用户/whois对它们进行了操作。不过还是有可能的。这仍然是服务器的属性,没有 IRC 客户端程序可以影响服务器是否会创建此类通知。

  • 在 UnrealIRCd 中,[usermode +W](https://www.unrealircd.org/docs/User_modes) 将完全做到这一点。 (2认同)
  • @JohannesKuhn 有趣的阅读。但是请注意,+W 模式只能由 IRC 运营商设置,而不能由普通用户(即甚至频道运营商)设置。我已经更新了我的答案,以更清楚地说明某些服务器可能会通知普通用户。 (2认同)