comparison MoinMoin/config/multiconfig.py @ 6048:ee7209311a0e

surge protection for authentication (currently just for "moin" auth), updated docs/CHANGES also: improve docstrings, clean up
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 06 Jun 2014 15:52:35 +0200
parents 784455464e93
children 274a7f675261
comparison
equal deleted inserted replaced
6047:a9bfc8e99775 6048:ee7209311a0e
856 'rss_rc': (1, 60), 856 'rss_rc': (1, 60),
857 # The following actions are often used for images - to avoid pages with lots of images 857 # The following actions are often used for images - to avoid pages with lots of images
858 # (like photo galleries) triggering surge protection, we assign rather high limits: 858 # (like photo galleries) triggering surge protection, we assign rather high limits:
859 'AttachFile': (300, 30), 859 'AttachFile': (300, 30),
860 'cache': (600, 30), # cache action is very cheap/efficient 860 'cache': (600, 30), # cache action is very cheap/efficient
861 # special stuff to prevent someone trying lots of usernames / passwords to log in:
862 'auth-ip': (10, 3600), # same remote ip (any name)
863 'auth-name': (10, 3600), # same name (any remote ip)
861 }, 864 },
862 "Surge protection tries to deny clients causing too much load/traffic, see HelpOnConfiguration/SurgeProtection."), 865 "Surge protection tries to deny clients causing too much load/traffic, see HelpOnConfiguration/SurgeProtection."),
863 ('surge_lockout_time', 3600, "time [s] someone gets locked out when ignoring the warnings"), 866 ('surge_lockout_time', 3600, "time [s] someone gets locked out when ignoring the warnings"),
864 867
865 ('textchas', None, 868 ('textchas', None,