question about limiting channels
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJMZayXAAoJENgimYXu6xOHwNsP/iOnGcTUmG0UgSvwj2yipjAh 97VyNYz7paxHlsSRGMsQ+T86zvF6cDqMaul/Dh2ek/nhWs1mYNTcAGbblxqDUbGS dblhqdckLviITXl5FX9A+AFH0JE/XGflBl4OjrQ4G8Rk2D9hkh1ED8k8PfRpMxuf SpYscl2zM3z/2DBGsY6e/CnBfP0/hPUj5elQP/64piDA3x1w1Z+Mc/UfBh2NQg21 r5zcadsTHHwmlAOJkmSP12P3BN53ZjSnBH7tznjJqV68jDKWPogUuuCDRNRm+RTS d3aBnswPOM/27q8PE+g5cgJyibYAxRFKxptBDTwD2jIkJmoUPjgO13qPxJU53Cec 3T74qP/FXsPOu+EffXBEPqXmmyxrqCwGxaIu8YY6tkiIlRbze+dVL0JguKUAXW7G rlVSPk1EaNofs4xJ9zfZjPsoMGTQRNd7QxiELeccisMl2vBcjBJly5PW6q/C5pVL 7CG34WuyymZ+H6v5mLnulzHJ2MQ/29X5/zkQUQO8H1NkE9JA7Q5zLD3UOc2MbeLc uy2K8JqU2/s8NdchMadrc/f/6GR3jGIlUZ0K2aiLlOgyBFIkWufIRakXibq2kxUC MfZg607hxcwJdcbrSAyTbHAl6QXg8Uu1qpQMUV6ZrHXzaTGerYGzbjqHxTCTkMV1 0Ctv5HeOpi/9+k0GXxEB =2WGw -----END PGP SIGNATURE-----
Teilnehmer (3)
-
evilghost@packetmail.net -
Florian Westphal -
Rich Griese