Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Two Stars on October 30, 2010, 07:34:39 PM

Title: How to make default channel modes to +nt ?
Post by: Two Stars on October 30, 2010, 07:34:39 PM
Hi,

So what i mean is when someone join a non-registered channel, the channel should be +nt mode and if the user decides to register the specified channel to set mode +r after registration.

Basically now when you join a channel, there are no modes set for it and after you register it, the ChanServ will set +nrt modes.

I think if default modes for channels (doesn't matter if registered channel or not) are set to +nt it will prevent possible flood.

Thank you.
Title: Re: How to make default channel modes to +nt ?
Post by: Han on October 30, 2010, 07:41:23 PM
This is an ircd setting. not Services
On Unreal e.g. you can see this in the set block

modes-on-join        "+nt";

Greets Han`
Title: Re: How to make default channel modes to +nt ?
Post by: Two Stars on October 30, 2010, 07:44:35 PM
Thank you for your fast reply but i've got only a line for modes on connecting for users.

Code: [Select]
set {
kline-address "test@test.test";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {

And there is no line for modes-on-join in my UnrealIRCd 3.2.8.1.
Title: Re: How to make default channel modes to +nt ?
Post by: Han on October 30, 2010, 07:53:03 PM
You can read all modes @ http://www.unrealircd.com/files/docs/unreal32docs.html#setblock

Greets Han`
Title: Re: How to make default channel modes to +nt ?
Post by: katsklaw on October 30, 2010, 10:21:17 PM
he means add the line.
Title: Re: How to make default channel modes to +nt ?
Post by: Two Stars on October 31, 2010, 12:46:54 PM
I figured out how to do it with the line modes-on-join but it says when i join the registered channel:

Code: [Select]
myservername.com sets mode: +nt
ChanServ sets mode: +r

Also if i join to non-registered channel it says only:
Code: [Select]
myservername.com sets mode: +nt
So this is fine but i want to make it like on the most irc servers this line (myservername.com sets mode: +nt) to be hidden and only to show (ChanServ sets mode: +r) if the channel is registered.

Thank you.
Title: Re: How to make default channel modes to +nt ?
Post by: katsklaw on October 31, 2010, 02:12:51 PM
Please name 1 network that uses Unreal/Anope that sets +nt on join but isn't displayed to channel.
Title: Re: How to make default channel modes to +nt ?
Post by: Two Stars on October 31, 2010, 04:46:21 PM
For example: Abjects IRC Server.
When you first join a channel there are +nt modes on it but you don't see how the ChanServ sets them.
Also i can't say exactly what they use but is it possible to make it like that way i prefer ?

Thanks once again to all for helping me.
Title: Re: How to make default channel modes to +nt ?
Post by: katsklaw on October 31, 2010, 05:32:24 PM
For example: Abjects IRC Server.
When you first join a channel there are +nt modes on it but you don't see how the ChanServ sets them.
Also i can't say exactly what they use but is it possible to make it like that way i prefer ?

Thanks once again to all for helping me.

Abjects uses custom software. The default Unreal/Anope doesn't have the ircd set +nt silently and editting the source code of either Anope or Unreal is not supported in any way by either team.
Title: Re: How to make default channel modes to +nt ?
Post by: Two Stars on October 31, 2010, 09:37:34 PM
So if i don't set any modes on joining channel, can that be used to flood the server or something else ?


Oh, and one other question that come to my mind can i edit the nickserv identify message on Windows Anope version ? For example where it says. You're now identified and so on ... I want to add a line saying that nobody will ask for your password, so don't give it to anyone.

Thank you.
Title: Re: How to make default channel modes to +nt ?
Post by: katsklaw on November 01, 2010, 12:38:59 AM
No, you can't edit the NickServ message without voiding your support because you would have to edit the source code, which again is not supported.

As far as not setting modes on join, that's been the IRC standard since 1993 and it works just fine for most networks.
Title: Re: How to make default channel modes to +nt ?
Post by: Two Stars on November 01, 2010, 10:20:22 AM
So you mean if i leave it as it is like default, without any modes on joinining channel it will be still fine and won't cause flood or something else, right ?
Title: Re: How to make default channel modes to +nt ?
Post by: katsklaw on November 01, 2010, 09:35:54 PM
So you mean if i leave it as it is like default, without any modes on joinining channel it will be still fine and won't cause flood or something else, right ?

It hasn't caused any major problems that I'm aware of since IRCv2 was invented in 1993, which is what I stated last time you asked this same question.

"some.irc.net sets mode: +nt" doesn't cause any problems either.

This is actually an extremely trivial concern, there is no flood exploit for setting or not settings any modes when a channel is created. At worst an "attacker" for lack of polite labels, will fill their sendQ long before any "flood" is remotely close to being noticed.