I have been running the ngircd for a while, now and it works fine. I have been using it as a user support system, and they way I have it confirmed is that I set up a server password, and was using cgi:irc. I could with that web client prevent the /join command from working. So in effect I did not have to worry about any connecting and using any channel than the one I had set up and monitored.
The server required a password, the only one that knew the password was the cgi:irc client, and only using that client was forced to my one channel, and could not issue a /join command.
I am not having troulbe with cgi:irc on a new server.
My question. Can I set ngircd up so that users CANNOT create channels? I want to set up a mibbit widget that wil allow people to join the server, and my one user help channel, but I want to prevent anyone from doing a /join #yaya and creating another channel. I can't find anything in the docs for the .conf file, but found this mailing list and thought I would ask.
I had been limiting channel access before by the one web client i allowed to access the system. Now I want to know if I can set the ngircd server itself to limit channels.
Cheers! RichGriese@gmail.com
Rich Griese richgriese@gmail.com wrote:
My question. Can I set ngircd up so that users CANNOT create channels?
put
PredefChannelsOnly = yes
into the Global section of ngircd.conf. This should result in errors for all JOIN attempts that would result in a new channel.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/13/2010 03:12 PM, Rich Griese wrote:
My question. Can I set ngircd up so that users CANNOT create channels? I want to set up a mibbit widget that wil allow people to join the server, and my one user help channel, but I want to prevent anyone from doing a /join #yaya and creating another channel. I can't find anything in the docs for the .conf file, but found this mailing list and thought I would ask.
Hi Rich, I'm already doing this now, in the configuration. You need two entries, a pre-defined channel in the [Channel] section and a channel creation restriction. I hope this helps. Users cannot create/join channels except for those defined in the [Channels] section.
# Allow Pre-Defined Channels only (see Section [Channels]) PredefChannelsOnly = yes
[Channel] # Pre-defined channels can be configured in [Channel] sections. # Such channels are created by the server when starting up and even # persist when there are no more members left. # Persistent channels are marked with the mode 'P', which can be set # and unset by IRC operators like other modes on the fly. # There may be more than one [Channel] block, one for each channel.
# Name of the channel Name = #name_of_my_channel
# Topic for this channel Topic = Welcome
# Initial channel modes Modes = tnk
# initial channel password (mode k) ;Key = Secret
# Key file, syntax for each line: "<user>:<nick>:<key>". # Default: none. ;KeyFile = /etc/ngircd/#chan.key
# maximum users per channel (mode l) MaxUsers = 25
Cheers! RichGriese@gmail.com _______________________________________________ ngIRCd-ML mailing list ngIRCd-ML@ngircd.barton.de http://arthur.ath.cx/mailman/listinfo/ngircd-ml
- -evilghost