public class ConfigBanHelper extends HelperBase
| Modifier and Type | Field and Description |
|---|---|
static String | PROP_BAD_PACKET_DURATION |
static String | PROP_COUNTRY_CODES |
static String | PROP_CUSTOM_CAPABILITY_BANS |
static String | PROP_ENABLE_BAD_PACKET_BAN |
static String | PROP_ENABLE_BLOCK_MY_COUNTRY |
static String | PROP_ENABLE_BLOCKLIST |
static String | PROP_ENABLE_CORRUPT_CONNECTION_BAN |
static String | PROP_ENABLE_COUNTRY_BAN |
static String | PROP_ENABLE_EXCESSIVE_TUNNEL_REQUESTS_BAN |
static String | PROP_ENABLE_LU_BAN |
static String | PROP_ENABLE_NO_VERSION_BAN |
static String | PROP_ENABLE_PORT_HOPPING_BAN |
static String | PROP_ENABLE_TOR_BLOCKLIST |
static String | PROP_ENABLE_UNRESPONSIVE_FLOODFILL_BAN |
static String | PROP_ENABLE_XG_BAN |
static String | PROP_MAX_OFFENSES |
static String | PROP_OFFENSE_WINDOW |
static String | PROP_STARTUP_GRACE |
_context, _log, _out, CHECKED, PROP_ADVANCED, SELECTED| Constructor and Description |
|---|
ConfigBanHelper()Construct a new ConfigBanHelper. |
| Modifier and Type | Method and Description |
|---|---|
String | getBadPacketBanChecked()Get the checked status of the bad packet ban option. |
String | getBadPacketDuration()Get the bad packet ban duration in minutes. |
String | getBlocklistChecked()Get the checked status of the blocklist option. |
String | getBlockMyCountryChecked()Get the checked status of the block my country option. |
String | getCorruptConnectionBanChecked()Get the checked status of the corrupt connection ban option. |
String | getCountryBanChecked()Get the checked status of the country ban option. |
String | getCustomCapabilityBans()Get the custom capability ban patterns. |
String | getCustomCountryCodes()Get the custom country codes for ban filtering. |
String | getExcessiveTunnelRequestsBanChecked()Get the checked status of the excessive tunnel requests ban option. |
String | getLuBanChecked()Get the checked status of the LU ban option. |
String | getMaxOffenses()Get the maximum number of offenses before a peer is banned. |
String | getNoVersionBanChecked()Get the checked status of the no version ban option. |
String | getOffenseWindow()Get the offense window in minutes. |
String | getPortHoppingBanChecked()Get the checked status of the port hopping ban option. |
String | getStartupGrace()Get the startup grace period in minutes. |
String | getTorBlocklistChecked()Get the checked status of the Tor blocklist option. |
String | getUnresponsiveFloodfillBanChecked()Get the checked status of the unresponsive floodfill ban option. |
String | getXgBanChecked()Get the checked status of the XG ban option. |
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriterpublic static final String PROP_BAD_PACKET_DURATION
public static final String PROP_COUNTRY_CODES
public static final String PROP_CUSTOM_CAPABILITY_BANS
public static final String PROP_ENABLE_BAD_PACKET_BAN
public static final String PROP_ENABLE_BLOCK_MY_COUNTRY
public static final String PROP_ENABLE_BLOCKLIST
public static final String PROP_ENABLE_CORRUPT_CONNECTION_BAN
public static final String PROP_ENABLE_COUNTRY_BAN
public static final String PROP_ENABLE_EXCESSIVE_TUNNEL_REQUESTS_BAN
public static final String PROP_ENABLE_LU_BAN
public static final String PROP_ENABLE_NO_VERSION_BAN
public static final String PROP_ENABLE_PORT_HOPPING_BAN
public static final String PROP_ENABLE_TOR_BLOCKLIST
public static final String PROP_ENABLE_UNRESPONSIVE_FLOODFILL_BAN
public static final String PROP_ENABLE_XG_BAN
public static final String PROP_MAX_OFFENSES
public static final String PROP_OFFENSE_WINDOW
public static final String PROP_STARTUP_GRACE
public String getBadPacketBanChecked()
public String getBadPacketDuration()
public String getBlocklistChecked()
public String getBlockMyCountryChecked()
public String getCorruptConnectionBanChecked()
public String getCountryBanChecked()
public String getCustomCapabilityBans()
public String getCustomCountryCodes()
public String getExcessiveTunnelRequestsBanChecked()
public String getLuBanChecked()
public String getMaxOffenses()
public String getNoVersionBanChecked()
public String getOffenseWindow()
public String getPortHoppingBanChecked()
public String getStartupGrace()
public String getTorBlocklistChecked()
public String getUnresponsiveFloodfillBanChecked()
public String getXgBanChecked()