fail2ban.client.fail2banreader module

class fail2ban.client.fail2banreader.Fail2banReader(**kwargs)

Bases: ConfigReader

Attributes:
share_config

Methods

options(section[, withDefault])

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

read()

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

convert

get

getBaseDir

getEarlyOptions

getOptions

has_option

has_section

merge_defaults

merge_section

sections

setBaseDir

convert()
getEarlyOptions()
getOptions(updateMainOpt=None)
read()

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

To prevent multiple reads of config files with it includes, reads into the config reader, if it was not yet cached/shared by ‘name’.