Package io.netty.handler.ipfilter
package io.netty.handler.ipfilter
Package to filter IP addresses (allow/deny).
-
ClassDescriptionAbstractRemoteAddressFilter<T extends SocketAddress>This class provides the functionality to either accept or reject new
Channel
s based on their IP address.Implement this interface to create new rules.Used inIpFilterRule
to decide if a matching IP Address should be allowed or denied to connect.This class allows one to filter newChannel
s based on theIpSubnetFilter
s passed to its constructor.Use this class to create rules forRuleBasedIpFilter
that group IP addresses into subnets.This comparator is only used for searching.This class allows one to filter newChannel
s based on theIpFilterRule
s passed to its constructor.This class allows one to ensure that at all times for every IP address there is at most oneChannel
connected to the server.