fail2ban.client.filterreader module

class fail2ban.client.filterreader.FilterReader(file_, jailName, initOpts, **kwargs)

Bases: DefinitionInitConfigReader

Attributes:
share_config

Methods

convertOptions(opts, configOpts)

Convert interpolated combined options to expected type.

getCombOption(optname)

Get combined definition option (as string) using pre-set and init options as preselection (values with higher precedence as specified in section).

options(section[, withDefault])

Return a list of option names for the given section name.

read()

Overloads a default (not shared) read of config reader.

readexplicit()

applyAutoOptions

convert

get

getBaseDir

getCombined

getFile

getJailName

getOptions

has_option

has_section

merge_defaults

merge_section

sections

setBaseDir

setFile

setJailName

applyAutoOptions(backend)
convert()
getFile()
setFile(fileName)