Improved logging.
Added allow/deny rules.
Added documentation.