solanum icon indicating copy to clipboard operation
solanum copied to clipboard

Add umode +I to allow users to hide their idle time

Open examknow opened this issue 4 years ago • 9 comments

Per #151 - Fires a hook whenever someone runs TRACE or WHOIS that is used by extensions/hide_idle_time to determine whether or not the user is allowed to see idle times. Users whois/tracing themselves or opers with the auspex:usertimes privilege are always allowed to see idle times, regardless of whether or not umode +I is set.

examknow avatar Jun 24 '21 02:06 examknow

I'm thinking it would be nice for this to also add a privilege, say, auspex:usertimes, that lets opers see a user's connect/idle timestamps without having to operspy.

(If you do, don't forget to document it in reference.conf, under the section "added by extensions")

aaronmdjones avatar Jun 24 '21 09:06 aaronmdjones

I'm thinking it would be nice for this to also add a privilege, say, auspex:usertimes, that lets opers see a user's connect/idle timestamps without having to operspy.

I think that's a good idea

examknow avatar Jun 24 '21 14:06 examknow

I think it's a bad idea to hide connected time. either send idle time as time since they connected, or 0

jesopo avatar Jul 13 '21 20:07 jesopo

I think it's a bad idea to hide connected time. either send idle time as time since they connected, or 0

In that case I think sending 0 is most appropriate.

examknow avatar Jul 13 '21 21:07 examknow

sgtm

jesopo avatar Jul 14 '21 12:07 jesopo

STATS l/L also show the connection idle time, and send/recv messages/bytes gives related information about the connection.

jillest avatar Jul 16 '21 14:07 jillest

I've built in run this myself and can confirm the functionality is working.

glguy avatar Oct 02 '21 04:10 glguy

on second/third/fouth thought, it might be better to make the hidden idletime be the amount of time you've been connected for, instead of 0, otherwise someone might see the 0 and assume you're active right now, without realising it's a fake number

jesopo avatar Dec 05 '21 18:12 jesopo

on second/third/fouth thought, it might be better to make the hidden idletime be the amount of time you've been connected for, instead of 0, otherwise someone might see the 0 and assume you're active right now, without realising it's a fake number

I think there will always be a potential to confuse people, no matter how we do this. I can see someone being confused and thinking that someone is MIA because the idle time is so huge. Most clients will show the private idle time notice, but there's not much we can do about the ones that don't.

examknow avatar Mar 06 '22 23:03 examknow