slightly better filters
sql is in sourcecode
handle redirects and log the time