-
Notifications
You must be signed in to change notification settings - Fork 6
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
os_chantrap functionality #4
Comments
Thanks for the feedback.
|
You are very much welcome, I enjoy helping out as much as I can.
If registration is completely turned off, can one also enforce bans with the modes option? if not, could certain users, at least those registered and identified, be exempted from being able to join? (opers should be able to override this perhaps) Regards, Koragg |
|
Regards, Koragg |
Exempting authed users would be probably a good idea. IMHO, registration should be forbidden and make it probably create a database with the settings specified for that channel, so settings are kept persistent in some way? And yes, UnrealIRCd has the ability to prevent a user to change to a banned nickname, but the functionally is currently broken, although seems to be fixed for the next release (4.2.1). |
wouldn't +s or +p be enough to hide it though? as that also effects authed users and you can set non parametric modes when creating a chantrap |
It's simply just saved in the chantrap list, I hook to the INFO command and override it for any chantrap matches. |
An /os chantrap set subcommand for per channel tweaking including of some exceptions sounds like the best and most flexible approach. As another suggestion, could one also add a topic when creating a chantrap channel? This way staff can point out that it is such a channel if this is desired to "warn" innocent people from stepping right in. Does that sound like an option that could be implemented as well? Thank You very much for Your time and effort in advance and also for consistently improving Your modules! Regards, Koragg |
Topic could definitely be another SET option if I implement that. |
Another option would be that the kill or akill msg could have e.g. a $chan identifier, referring to the specific channel that triggered it, for clients that might not show the disconnect messages in that channel but just in the status window (helps to reduce confusion which channel). |
Alright, this sounds like a partial re-write is the best route (command-wise). Here's what I'm thinking:
Any thoughts or suggestions? |
Looks good, not sure if adding an exemption for users already in channel would be helpful (like Inspire's +b j:*) and perhaps also one to exempt-identd for those who have valid identd? (could default to off, also both of them) Another possible exemption might be those using cgi:irc. Just an idea for potentially more exemptions, of course only if they seem sensible. Regards, Koragg |
I'm not really for the whole need of exemptions in the first place. A good channel name and even a topic is enough, if users still wish to join and get zapped...so be it. I will though do the authenticated and SSL exemptions as they can be reliably determined (SSL via a usermode for some IRCds). |
Dear genius3000,
Thank You for creating this module, it can be used well to keep unwanted channels (e.g. used by botnets) unusable. There are some things that do not appear to be as described though.
in the code it says it does NOT use BotServ bots yet it appears do this: a) it assigns OperServ b) it will then assign more BotServ bots in alphabetical order until the botcount is reached
Despite setting different kill and akill reasons in the config and reloading once again with those set to be certain, the default examples that it came with are always used as reason
It appears that a chantrap channel can be registered AFTER it was made a chantrap channel.
I hope that this feedback is of use to You and that if I am misunderstanding some functionality that
after some explanations I will be able to utilize it better.
Regards,
Koragg
The text was updated successfully, but these errors were encountered: