Class Ip6AddressDelayedValidator
java.lang.Object
org.eblocker.server.common.network.Ip6AddressDelayedValidator
Tries to verify IPv6 addresses that have been detected in neighbor solicitation
messages from devices that do duplicate address detection.
The basic workflow is:
- A device assigns itself an IPv6 address
- It sends out neighbor solicitation requests (with the unspecified address as source address) to check whether the address is already in use
- The NeighborDiscoveryListener puts the device's MAC address and the IP address candidate into the Ip6AddressDelayedValidator
- The device will probably not get any answer to its solicitation request, so it will assign itself the new address
- After a few seconds the Ip6AddressDelayedValidator sends a solicitation request with the cached address to the device
- The neighbor advertisement response from the device will be processed by the NeighborDiscoveryListener
-
Constructor Summary
ConstructorsConstructorDescriptionIp6AddressDelayedValidator(ScheduledExecutorService executorService, FeatureToggleRouter featureToggleRouter, NetworkInterfaceWrapper networkInterface, PubSubService pubSubService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateDelayed(String hardwareAddress, Ip6Address candidate)
-
Constructor Details
-
Ip6AddressDelayedValidator
@Inject public Ip6AddressDelayedValidator(ScheduledExecutorService executorService, FeatureToggleRouter featureToggleRouter, NetworkInterfaceWrapper networkInterface, PubSubService pubSubService)
-
-
Method Details
-
validateDelayed
-