Parameters
<varname>default_allow_file</varname> (string) Default allow file used by functions without parameters. If you don't specify full pathname then the directory in which is the main config file is located will be used. Default value is permissions.allow. Set <varname>default_allow_file</varname> parameter ... modparam("permissions", "default_allow_file", "/etc/permissions.allow") ...
<varname>default_deny_file</varname> (string) Default file containing deny rules. The file is used by functions without parameters. If you don't specify full pathname then the directory in which the main config file is located will be used. Default value is permissions.deny. Set <varname>default_deny_file</varname> parameter ... modparam("permissions", "default_deny_file", "/etc/permissions.deny") ... If both of the default file parameters are set to "" the module does not try to load them.
<varname>check_all_branches</varname> (integer) If set then allow_routing functions will check Request-URI of all branches (default). If disabled then only Request-URI of the first branch will be checked. Do not disable this parameter unless you really know what you are doing. Default value is 1. Set <varname>check_all_branches</varname> parameter ... modparam("permissions", "check_all_branches", 0) ...
<varname>allow_suffix</varname> (string) Suffix to be appended to basename to create filename of the allow file when version with one parameter of either allow_routing or allow_register is used. Including leading dot. Default value is ".allow". Set <varname>allow_suffix</varname> parameter ... modparam("permissions", "allow_suffix", ".allow") ...
<varname>deny_suffix</varname> (string) Suffix to be appended to basename to create filename of the deny file when version with one parameter of either allow_routing or allow_register is used. Including leading dot. Default value is ".deny". Set <varname>deny_suffix</varname> parameter ... modparam("permissions", "deny_suffix", ".deny") ...
<varname>max_rule_files</varname> (int) Maximum number of allow/deny file pairs. Default value is 64.
<varname>safe_file_load</varname> (int) Module initialization fails in case of a missing config file if safe_file_load is true. Default value is 0 (false).
<varname>db_url</varname> (string) URL of the database to be used.
<varname>db_mode</varname> (int) Disables/enables database cache. Default value is 0 (cache is disabled) NOTE: ipmatch functions can operate only in cache mode, set db_mode to 1 if you want to use them.
<varname>ipmatch_table</varname> (string) Name of the table containing ipmatch entries. Default value is "ipmatch".
<varname>declare_ipset</varname> (string) Declares name of ip set which can be manipulated via RPC commands and tested using ip_is_trusted. Identifier must start with letter or underscore. IP mask may follow equal sign to initialize ipset on startup.