Class IPBannerImpl
java.lang.Object
com.biglybt.core.ipfilter.impl.IPBannerImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final Map<String, BannedIpImpl> private final Map<Integer, BannedIpImpl> private final Map<InetAddress, BannedIpImpl> (package private) static final AEMonitorprivate final IpFilterImpl(package private) TimerEventPeriodic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddTemporaryBan(BannedIpImpl ban, int mins) booleanvoidprivate ObjectdecodeAddress(String address) private ObjectdecodeAddress(InetAddress address) BannedIp[]intprotected booleanprotected booleanisBanned(InetAddress ipAddress, byte[] specific_hash) protected voidprotected voidbooleanboolean
-
Field Details
-
BAN_IP_PERSIST_TIME
private static final long BAN_IP_PERSIST_TIME- See Also:
-
class_mon
-
ipFilter
-
bannedIps_v4
-
bannedIps_v6
-
bannedIps_other
-
unban_timer
TimerEventPeriodic unban_timer -
unban_map
-
unban_map_reverse
-
-
Constructor Details
-
IPBannerImpl
-
-
Method Details
-
loadBannedIPs
protected void loadBannedIPs() -
saveBannedIPs
protected void saveBannedIPs() -
isBanned
-
isBanned
-
ban
-
addTemporaryBan
-
getBannedIps
-
getNbBannedIps
public int getNbBannedIps() -
clearBannedIps
public void clearBannedIps() -
unban
-
unban
-
decodeAddress
-
decodeAddress
-