Skip to content

Comments

Add notifications to IRCops when they get restricted information.#171

Open
jfcantu wants to merge 3 commits intoDALnet:masterfrom
jfcantu:feature/oper-only-info-notifications
Open

Add notifications to IRCops when they get restricted information.#171
jfcantu wants to merge 3 commits intoDALnet:masterfrom
jfcantu:feature/oper-only-info-notifications

Conversation

@jfcantu
Copy link
Member

@jfcantu jfcantu commented Jul 3, 2020

Addresses issue #141.

Warn IRCops that normal users can't see what they're seeing, when they get:

  • /whois reply with a user's unmasked hostname (RPL_WHOISACTUALLY)
  • /whois reply indicating a user is squelched/warned (RPL_WHOISTEXT)
  • /whois reply with a service tag that includes a umode restriction.
  • +I/+e/+b lists for a channel if XFLAG_HIDE_MODE_LISTS is set.

@jfcantu
Copy link
Member Author

jfcantu commented Jul 3, 2020

(FYI - the XFLAG part of this needs testing by someone with DALnet services.)

@eaescob eaescob requested a review from kobishmueli July 11, 2020 01:45
sendto_one(sptr, ":%s %d %s %s :%s", me.name, servicestag->raw, parv[0], name, servicestag->tag);
/* Otherwise, it can only be viewed by users with the correct umode (usually +o or higher) */
else if(sptr->umode & servicestag->umode)
sendto_one(sptr, ":%s %d %s %s :%s [IRCop Restricted Information]", me.name, servicestag->raw, parv[0], name, servicestag->tag);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is problematic and conflicts with our current SVSTAG usage.

Kobi.

@rscs
Copy link
Contributor

rscs commented Jul 22, 2020

Per discussion in #operators, please hold on this one for now. Thank you for jumping on it and the initiative -- we just need to all discuss how to consistently handle this across services replies and ircd replies.

There are some admin-only responses to consider (which would be marked admin-only instead of oper-only), which may include SVSTAGS. So let's keep this open to discuss as a low-priority item.

@eaescob eaescob requested a review from rscs September 11, 2020 17:41
Copy link
Contributor

@rscs rscs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs more discussion per my note on July 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants