Hi,
I got a little Problem: Some IRC clients use USERHOST before a ban to get the hostname they have to ban. This works well in usermode as they get for example "[email protected]" and ban "hidden.host" (the vhost of the user, set by anope for example). But as an ircop, you see "real.host.t-dialin.net" for example, or, if they use a bnc running on the irc server itself "localhost". You can imagine what happens if you ban "localhost" - all other bnc users can't join anymore.
So: Is there a command or a flag for USERHOST which returns the hostmask as the user would see them or is there another method which is suitable for that?
Thanks & cu
Get (Anope)Vhost instead of the real host as ircop
Re: Get (Anope)Vhost instead of the real host as ircop
It doesn't make a difference... If you ban localhost, all users connecting from localhost can't join. If you ban the cloaked "localhost", it's the same... Nobody from localhost can join.sECuRE wrote:But as an ircop, you see "real.host.t-dialin.net" for example, or, if they use a bnc running on the irc server itself "localhost". You can imagine what happens if you ban "localhost" - all other bnc users can't join anymore.
People connecting from the same host always get the same cloaked host.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
- Coleman Hawkins
Hi,
ok, so I'd better use /who #channel for getting the host, but on big channels this causes much traffic (2000 Users+), isn't there a more performant way to get the vhost of only this user?
btw: it's not the cloaked localhost, it's a vhost, so if the setup is like this:
User lala (xyz@localhost is realhost) uses hostname [email protected]
User lulu (xy3@localhost is realhost) uses hostname [email protected]
Thanks & cu
ok, so I'd better use /who #channel for getting the host, but on big channels this causes much traffic (2000 Users+), isn't there a more performant way to get the vhost of only this user?
btw: it's not the cloaked localhost, it's a vhost, so if the setup is like this:
User lala (xyz@localhost is realhost) uses hostname [email protected]
User lulu (xy3@localhost is realhost) uses hostname [email protected]
Thanks & cu