RE: [X2serv-general] User instant registration
Brought to you by:
sirvulcan
From: Alex <ru...@bl...> - 2001-12-05 22:32:13
|
To use sql would be to essentally write a new service which does _everything_ through SQL. Its a noble cause, and one which I know many people are interested in, however I think its beond the scope of x2, since 90% of x2 is code to handle data which would have to be re-written. If you wanted to make code that only loaded the banned names list out of sql or whatever its certainly doable, but its just as easty to export from your db with a script that writes the files as x2 wants them.. I write similar perl scripts for my real job on a regular basis. -Rubin Alex Schumann Assistant Coordinator \ ___ Residential Computer Network | | "You can no more win a war Oregon State University \._/ than you can win an earthquake." http://rcn.orst.edu | --Jeannette Rankin (1880-1973) On Wed, 5 Dec 2001, David Richards wrote: > i dont disagree with users be able to register channels. I know that > othernet.org channel service allows users to do so. > When it starts, it loads a few plan text files, which contain channels that > you cant register,join and glines etc... > > An idea here. How easy would it be able to make X2 connect to an mysql > database? Then the database could hold all the information about bad > channels, users etc... > > > > david > > > -----Original Message----- > From: Alex [mailto:ru...@bl...] > Sent: 04 December 2001 22:38 > To: Richard Peters > Cc: x2s...@li... > Subject: Re: [X2serv-general] User instant registration > > > It might still be a good feature, but afternet wont be using it at all i > don't think. > > Alex Schumann > > Assistant Coordinator \ ___ > Residential Computer Network | | "You can no more win a war > Oregon State University \._/ than you can win an > earthquake." > http://rcn.orst.edu | --Jeannette Rankin > (1880-1973) > > On Tue, 4 Dec 2001, Richard Peters wrote: > > > I WAS going to program some functions today: > > - move the illegal channelnames like #warez to a file > > - add commands inspect/add/remove illegal channelnames > > but the emails I read on support@ said that all channames are open for > > registration. Do we want at least support for blocking certain channels? > It > > could be a real neccessity with the automatic chanregistration... > > > > Richard Peters > > Lysergine > > > > ----- Original Message ----- > > From: "Alex" <ru...@bl...> > > To: <x2s...@li...> > > Sent: Thursday, November 29, 2001 4:36 PM > > Subject: [X2serv-general] User instant registration > > > > > > > > > > I would like to get x2 to a possition where users can register their own > > > channels online. > > > > > > Here are the requirements as I see them: > > > * Must validate email address as correct > > > * Must limit email addresses to x channels > > > * Must be able to block some email addresses > > > * User must have ops in the channel they want to register > > > * handle a netsplit situation? > > > * Must be reasonably resiliant to a DoS attack > > > * Rate limit x registrations per hour? > > > * Must not register a channel to an email address > > > that previously failed to verify itself in the past. > > > * Must do some ammount of validity checking of channel name and email > > > address. > > > > > > > > > The eaisiest way to do this that I can think of is to allow people to > > > "register" a channel via an online command which takes channel name and > > > email address as paramiters. > > > > > > If they are opped in said channel, and no other channels which are > > > marked as unverified have that same email address, and the email address > > > > > > isnt in a list of disallowed address masks and passes some basic tests, > > > AND is not in a list of already attempted addresses, x2 joins > > > it, ops itself, adds them as owner, generates a random password for them > > > and emails it to the address supplied. The channel is marked as > > > unverified. > > > > > > Then, in the login code, if a channel is marked as unverified adn the > > > owner logs in, its marked as verified. > > > > > > In its self matanence loops, x2 unregisters any channel which is > > > unverified when it is older than x hours (48?) and adds the email > > > address > > > givin to a list of addresses not to be used anymore (to prevent people > > > from using x2 to haras someone) > > > > > > Drawbacks: > > > * 100 clones connect to the network and flood x2 with registration > > > requests, using random email addresses. 100 clones can generate 50 lines > > > per second. This could cause x2 to send out a LOT of email, and make the > > > channel database very very big. > > > + Solution - rate limit registrations and wallop if the limit is > > > hit. Possibly delay email for 5-10 minutes so that if a rate-limit is > > > hit > > > ircops can intervene before x2 floods invalid email addresses with mail. > > > > > > * Channels are easy to get, lots will go unused > > > + Solution - Expire channels sooner unless they are established, for > > > example a channel expires in 10 days unless the owner has visited it at > > > least once 24 hours or more after it was registered. (similar to > > > hotmail) > > > > > > * User tries to register, doesnt manage to log in in time, and channel > > > is removed, their address is added to the blacklist.. now they want to > > > register. > > > + Solution - Oper discression? Tough luck? > > > > > > Thoughts? Comments? > > > > > > > > > Alex Schumann > > > > > > Assistant Coordinator \ ___ > > > Residential Computer Network | | "You can no more win a war > > > Oregon State University \._/ than you can win an > > > earthquake." > > > http://rcn.orst.edu | --Jeannette Rankin > > > (1880-1973) > > > > > > > > > > > > _______________________________________________ > > > X2serv-general mailing list > > > X2s...@li... > > > https://lists.sourceforge.net/lists/listinfo/x2serv-general > > > > > > _______________________________________________ > > X2serv-general mailing list > > X2s...@li... > > https://lists.sourceforge.net/lists/listinfo/x2serv-general > > > > > _______________________________________________ > X2serv-general mailing list > X2s...@li... > https://lists.sourceforge.net/lists/listinfo/x2serv-general > |