I'm currently working on a chat server (yes, I know there are others I could 
use, and no, I don't want to, nothing else I've seen comes close to offering 
what I want), in perl (on linux, but it will be portable, so it's preferable 
not to use too much OS-specific) and I expect that I'll have to deal with 
people trying to flood. with bogus logins as well as once logged on. I have 
some methods of dealing with it in place already, but I know it's not enough.

then I heard about soundex and decided to look into it. result: I use 
Text:Metaphone to compute how 'pronouncable' a line of text seems to be. and 
it works well. I also built a bunch of simple floodscripts to compare against 
a log from a chatsite. most of the floodscripts were filtered out to about 
90+%, when no 'real' posts were caught, but then I made a pseudo-word 
generator, which produces a flood that seems semi-real. correct ratio of 
vowels to consonants, spacing/word length, that sort of thing. but with this, 
more than 2/3 gets through, which is nto a good result.

now, since it's a chat, I can't really use huge amounts of computer power for 
each line sent, so other stuff needs to run relatively well.
the part that does all of the processing is a daemon (logins are through child 
daemons, or in the case of HTTP, a cgi script that accesses a child daemon), 
so if it takes extra ram/load time, that's not too big a deal.

does anyone have any suggestions on what else I could use for this?
or similar issues, like the flooding (from fighting ip-spoof logins to 
robot-floods to a number from the same person over a period of time, etc)?
any snippets, pointers, modules, programs, et al would be greatly appreciated

TIA, Adam

P.S. if anyone is interested in learning mroe about this project or helping 
with it, send email off-list and I'll be happy to chat to you about it

-- 
What does the 'it' mean in "What time is it?"?

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to