Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How to make default channel modes to +nt ?  (Read 9686 times)

0 Members and 1 Guest are viewing this topic.

Two Stars

  • Anope User
  • Offline Offline
  • Posts: 10
How to make default channel modes to +nt ?
« 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.
Logged

Han`

  • Contributor
  • *
  • Offline Offline
  • Posts: 33
Re: How to make default channel modes to +nt ?
« Reply #1 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`
Logged

Two Stars

  • Anope User
  • Offline Offline
  • Posts: 10
Re: How to make default channel modes to +nt ?
« Reply #2 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.
« Last Edit: October 30, 2010, 07:46:49 PM by Two Stars »
Logged

Han`

  • Contributor
  • *
  • Offline Offline
  • Posts: 33
Re: How to make default channel modes to +nt ?
« Reply #3 on: October 30, 2010, 07:53:03 PM »

Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: How to make default channel modes to +nt ?
« Reply #4 on: October 30, 2010, 10:21:17 PM »

he means add the line.
Logged

Two Stars

  • Anope User
  • Offline Offline
  • Posts: 10
Re: How to make default channel modes to +nt ?
« Reply #5 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.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: How to make default channel modes to +nt ?
« Reply #6 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.
Logged

Two Stars

  • Anope User
  • Offline Offline
  • Posts: 10
Re: How to make default channel modes to +nt ?
« Reply #7 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.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: How to make default channel modes to +nt ?
« Reply #8 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.
Logged

Two Stars

  • Anope User
  • Offline Offline
  • Posts: 10
Re: How to make default channel modes to +nt ?
« Reply #9 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.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: How to make default channel modes to +nt ?
« Reply #10 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.
Logged

Two Stars

  • Anope User
  • Offline Offline
  • Posts: 10
Re: How to make default channel modes to +nt ?
« Reply #11 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 ?
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: How to make default channel modes to +nt ?
« Reply #12 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.

« Last Edit: November 01, 2010, 09:40:46 PM by katsklaw »
Logged
Pages: [1]   Go Up