Prevent services (+S) from lusers stats?
Prevent services (+S) from lusers stats?
I am wondering how it is possible to prevent services (chanserv, nickserv etc) from:
* Appearing as operators under /lusers (eg, 9 operators online)
Current Local Users: 1 Max: 2
Current Global Users: 16 Max: 17
Local Users = 1 - thats me, a client
Global users being 16 thats several services bots (channel bots made by anope and chanserv, nickserv etc).
How can I practically make them invisible from the network stats wise, so we dont get increased numbers which are not real.
Hide U-Lined servers is enabled.
Preferably do not count any users which have umode +S (Network Service) counted in /lusers for global/local users and operators online.
Is there a module for this or can this feature be put in (the core or module)?
Cheers,
Plasma
* Appearing as operators under /lusers (eg, 9 operators online)
Current Local Users: 1 Max: 2
Current Global Users: 16 Max: 17
Local Users = 1 - thats me, a client
Global users being 16 thats several services bots (channel bots made by anope and chanserv, nickserv etc).
How can I practically make them invisible from the network stats wise, so we dont get increased numbers which are not real.
Hide U-Lined servers is enabled.
Preferably do not count any users which have umode +S (Network Service) counted in /lusers for global/local users and operators online.
Is there a module for this or can this feature be put in (the core or module)?
Cheers,
Plasma
I think what he means is he wants the LUSERS counts to show REAL users. Services are anything BUT real users. Basically, if it's behind a uline'd server and has +S, don't count it in LUSERS for any reason.Syzop wrote:usermode +H hides ircop status, so if you can let those services clients set umode +H on themselves... .
Sounds nice, but not exactly high priority.
It'd probably stuff things up somewhere anyway
It'd probably stuff things up somewhere anyway
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Massive-bump, but thought id rasie this point:
Can u-lined servers (eg stats, services) be excluded from the operators count?
My problem is solved (I edited the anope source to have their usermodes include +H), but it will help others less experienced, and also is not a 'true indication' of 'real' operators online.
Can u-lined servers (eg stats, services) be excluded from the operators count?
My problem is solved (I edited the anope source to have their usermodes include +H), but it will help others less experienced, and also is not a 'true indication' of 'real' operators online.
Re: Prevent services (+S) from lusers stats?
Sorry for the bump but..... Did this ever get included because it can't find a module or configuration setting for this and all Google searches lead to the two forum posts here asking for the same thing :
Can u lined servers (services) be excluded from the lusers command completely?
Can u lined servers (services) be excluded from the lusers command completely?
Re: Prevent services (+S) from lusers stats?
Bottom Line: It's up to your services package to set user modes on it's own users. In fact all ircds on the network manage user modes for their local clients, services is no different.
Contact your services package developers on how to set +H on their pseudo-clients. Not only does this option already exist but it's far more reliable than every ircd altering their internal user count.
Contact your services package developers on how to set +H on their pseudo-clients. Not only does this option already exist but it's far more reliable than every ircd altering their internal user count.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
Re: Prevent services (+S) from lusers stats?
This will stop the services clients showing up as Oper in lusers granted, but this wont stop them showing up as normal users, which as discussed they are not normal users.
The oper counting doesnt bother me that much, its the "global" luser count including 10-15 services "users".
The oper counting doesnt bother me that much, its the "global" luser count including 10-15 services "users".
Re: Prevent services (+S) from lusers stats?
I understand your point but I also understand that users verse enough in IRC to know what they are reading in /lusers are also verse enough to know that it includes services, eggdrops, stats and other such "not exactly human" type connections. The fact that /lusers output calls them "users" is a bit of a misnomer as they are more accurately called "client connections" .
HOWEVER, I took the liberty of filling out a feature request for you. It's found at: http://bugs.unrealircd.com/view.php?id=4172
HOWEVER, I took the liberty of filling out a feature request for you. It's found at: http://bugs.unrealircd.com/view.php?id=4172
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
- Posts: 20
- Joined: Fri Feb 26, 2010 12:06 pm
- Location: Portadown, Northern Ireland
- Contact:
Re: Prevent services (+S) from lusers stats?
Not sure how relevent this is, but this module http://modules.unrealircd.org/modview.php?mod=45 shows opers etc that ARE NOT set +H, perhaps, there could be some sort of patch that will apply this to lusers.c, but that would count as a "core modification" and you would lose all support.
MightyWings