Prevent services (+S) from lusers stats?

These are old archives. They are kept for historic purposes only.
Post Reply
Plasma
Posts: 31
Joined: Tue Jun 22, 2004 6:08 am

Prevent services (+S) from lusers stats?

Post by Plasma »

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
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

usermode +H hides ircop status, so if you can let those services clients set umode +H on themselves... :).
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Syzop wrote:usermode +H hides ircop status, so if you can let those services clients set umode +H on themselves... :).
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
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Ah ok, in that case: you can't.

I guess you could request it in the modules section *move*.
Plasma
Posts: 31
Joined: Tue Jun 22, 2004 6:08 am

Post by Plasma »

Yep thats exactally how I want it... Ulined servers = not counted as opers or global users (but may be seen in /map etc)

Anyone? :)
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

I think that would be a nice official Unreal modification, rather than just a module, I cant see any good reason for including services, and can think of several for Not including Ulined servers
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Sounds nice, but not exactly high priority.

It'd probably stuff things up somewhere anyway :D
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Plasma
Posts: 31
Joined: Tue Jun 22, 2004 6:08 am

Post by Plasma »

Ive just put it in myself for Anope IRC Services (devel 1.7.4 has umode settings in the source you can modify), and I simply added +H to their usermode, which worked fine.
Plasma
Posts: 31
Joined: Tue Jun 22, 2004 6:08 am

Post by Plasma »

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.
Gigabit
Posts: 3
Joined: Wed Feb 13, 2013 10:15 pm

Re: Prevent services (+S) from lusers stats?

Post by Gigabit »

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?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Prevent services (+S) from lusers stats?

Post by katsklaw »

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.
Gigabit
Posts: 3
Joined: Wed Feb 13, 2013 10:15 pm

Re: Prevent services (+S) from lusers stats?

Post by Gigabit »

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".
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Prevent services (+S) from lusers stats?

Post by katsklaw »

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
Gigabit
Posts: 3
Joined: Wed Feb 13, 2013 10:15 pm

Re: Prevent services (+S) from lusers stats?

Post by Gigabit »

Thanks :)
MightyWings
Posts: 20
Joined: Fri Feb 26, 2010 12:06 pm
Location: Portadown, Northern Ireland
Contact:

Re: Prevent services (+S) from lusers stats?

Post by MightyWings »

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
Post Reply