Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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