#include <banman.h>
Definition at line 58 of file banman.h.
◆ ~BanMan()
◆ BanMan()
◆ Ban() [1/2]
void BanMan::Ban |
( |
const CNetAddr & |
net_addr, |
|
|
int64_t |
ban_time_offset = 0 , |
|
|
bool |
since_unix_epoch = false |
|
) |
| |
◆ Ban() [2/2]
void BanMan::Ban |
( |
const CSubNet & |
sub_net, |
|
|
int64_t |
ban_time_offset = 0 , |
|
|
bool |
since_unix_epoch = false |
|
) |
| |
◆ BannedSetIsDirty()
bool BanMan::BannedSetIsDirty |
( |
| ) |
|
|
private |
◆ ClearBanned()
void BanMan::ClearBanned |
( |
| ) |
|
◆ Discourage()
void BanMan::Discourage |
( |
const CNetAddr & |
net_addr | ) |
|
◆ DumpBanlist()
void BanMan::DumpBanlist |
( |
| ) |
|
◆ GetBanned()
void BanMan::GetBanned |
( |
banmap_t & |
banmap | ) |
|
◆ GUARDED_BY() [1/3]
◆ GUARDED_BY() [2/3]
◆ GUARDED_BY() [3/3]
◆ IsBanned() [1/2]
bool BanMan::IsBanned |
( |
const CNetAddr & |
net_addr | ) |
|
Return whether net_addr is banned.
Definition at line 89 of file banman.cpp.
◆ IsBanned() [2/2]
bool BanMan::IsBanned |
( |
const CSubNet & |
sub_net | ) |
|
Return whether sub_net is exactly banned.
Definition at line 103 of file banman.cpp.
◆ IsDiscouraged()
bool BanMan::IsDiscouraged |
( |
const CNetAddr & |
net_addr | ) |
|
Return whether net_addr is discouraged.
Definition at line 84 of file banman.cpp.
◆ SetBanned()
void BanMan::SetBanned |
( |
const banmap_t & |
banmap | ) |
|
|
private |
◆ SetBannedSetDirty()
void BanMan::SetBannedSetDirty |
( |
bool |
dirty = true | ) |
|
|
private |
set the "dirty" flag for the banlist
Definition at line 226 of file banman.cpp.
◆ SweepBanned()
void BanMan::SweepBanned |
( |
| ) |
|
|
private |
clean unused entries (if bantime has expired)
Definition at line 193 of file banman.cpp.
◆ Unban() [1/2]
bool BanMan::Unban |
( |
const CNetAddr & |
net_addr | ) |
|
◆ Unban() [2/2]
bool BanMan::Unban |
( |
const CSubNet & |
sub_net | ) |
|
◆ m_ban_db
◆ m_client_interface
◆ m_cs_banned
◆ m_default_ban_time
const int64_t BanMan::m_default_ban_time |
|
private |
The documentation for this class was generated from the following files: