filter

Configuration file directives

add_service_name
The plugin instance will expose its function through this service function name. You should not generally this, because other plugins rely on certain fixed values.
Default: instance_name_add (e.g. user_filter_add for libgxs_user_filter.so)
audit_interval

Default: 1minute

audit_max_num

Default: 0

audit_times

Default: 10

grey_growing_num

Default: 0

growing_num
The maximum number of additional string table entries on top of what the on-disk table file has supplied. So when the table file contains 40 entries and growing_num is 100, the in-memory copy of the table can hold up to 140 entries total.
Default: 0
is_case_sensitive
Flag which determines whether matches should treat uppercase and lowercase differently or not.
Default: false
judge_service_name
The plugin instance will expose its function through this service function name. You should not generally this, because other plugins rely on certain fixed values.
Default: instance_name_judge
query_service_name
The plugin instance will expose its function through this service function name. You should not generally this, because other plugins rely on certain fixed values.
Default: instance_name_query
temp_list_size

Default: 2000

Files

  • config_file_path/instance.cfg: configuration file for the instance of str_filter (e.g. /etc/gromox/http/user_list.cfg when http(8gx) was made to load libgxs_user_list.so.)

  • state_file_path/instance.txt: greylist

See also

gromox(7)