improving anti_dos code a bit
refactoring config enabled checking
removing duplicated is_valid_ipv4 method
if something is != false, it's better to just check if it's true, right?
this was probably a bug
renaming check_config to read_config, since it makes more sence. also, automatically adding '=' to the param name, since it should be present always (removing some duplication)
removing some duplication
removing duplication of ALERT_USER_EMAIL config reading by adding a mail method that does that automatically
fixing consintency in configurations to always use 'ON', instead of using 'YES' in a few configs, but making it retro-compatible with older configurations
removing unused configuration
onliner
missing parentheses
commented code is code that doesn't exist
removing a lot of duplication in the code that checked EMAIL_ALERTS and EMAIL_FREQUENCY. extracted it to the core.warn_the_good_guys method
textmate's sabotage
removing duplicated condition
fixing syntax error i've introduced while refactoring
removing those lines since os.makedirs already create all intermediate-level directories
removing duplicated code on setup that kills artillery if it's already running
an oneliner here is ok