]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Plugin to restrict too many registrations from one IP
authorEvan Prodromou <evan@status.net>
Sat, 27 Feb 2010 20:03:17 +0000 (15:03 -0500)
committerEvan Prodromou <evan@status.net>
Sat, 27 Feb 2010 20:05:08 +0000 (15:05 -0500)
commit55f27feb78a8ae5c6a829623f89bf3f89016aa08
treea2386f77420cdb5f9ea5b011e8d80f794779c91b
parentbabca69f67d6aa2f7d491f84a4982b772056ebcb
Plugin to restrict too many registrations from one IP

We throttle registrations by IP. We record IP address of each
registration, and if too many registrations have been done by the same
IP address in the time interval, we reject the registration.
plugins/RegisterThrottle/RegisterThrottlePlugin.php [new file with mode: 0644]
plugins/RegisterThrottle/Registration_ip.php [new file with mode: 0644]