Methods Summary |
---|
public void | addListener(IPFilterListener l)
|
public void | addRange(IpRange range)
|
public boolean | ban(java.lang.String ipAddress, java.lang.String torrent_name, boolean manual)
|
public void | clearBannedIps()
|
public void | clearBlockedIPs()
|
public IpRange | createRange(boolean sessionOnly)
|
public BannedIp[] | getBannedIps()
|
public BlockedIp[] | getBlockedIps()
|
public java.io.File | getFile()
|
public boolean | getInRangeAddressesAreAllowed()
|
public java.util.List | getIpRanges()deprecated and to be removed after 2.0.8.0. Left in to support old SafePeer plugin
version that uses this stuff directly...
|
public long | getLastUpdateTime()
|
public int | getNbBannedIps()
|
public int | getNbIpsBlocked()
|
public int | getNbIpsBlockedAndLoggable()
|
public int | getNbRanges()
|
public IpRange[] | getRanges()
|
public long | getTotalAddressesInRange()
|
public boolean | isEnabled()
|
public boolean | isInRange(java.lang.String ipAddress)
|
public boolean | isInRange(java.lang.String ipAddress, java.lang.String torrent_name, byte[] torrent_hash)
|
public boolean | isInRange(java.lang.String ipAddress, java.lang.String torrent_name, byte[] torrent_hash, boolean loggable)
|
public boolean | isInRange(java.net.InetAddress ipAddress, java.lang.String torrent_name, byte[] torrent_hash, boolean loggable)
|
public void | markAsUpToDate()
|
public void | reload()
|
public void | removeListener(IPFilterListener l)
|
public void | removeRange(IpRange range)
|
public void | save()
|
public void | setEnabled(boolean enabled)
|
public void | setInRangeAddressesAreAllowed(boolean b)
|
public void | unban(java.lang.String ipAddress)
|
public void | unban(java.lang.String ipAddress, boolean block)
|