On 09/02/16 13:45, Samuel Thibault wrote:
> Gert Doering, on Tue 09 Feb 2016 12:58:26 +0100, wrote:
>> On Tue, Feb 09, 2016 at 11:58:39AM +0100, Samuel Thibault wrote:
>>> I have tried putting
>>>
>>> iroute-ipv6 2a01:474:5:1100::/56
>>>
>>> in the ccd, but from the learn-address script the environment does not
>>> contain this route.
>>
>>        --learn-address cmd
>>               Run  command cmd to validate client virtual addresses or 
>> routes.
>> ...
>>               Three arguments will be appended to any arguments in cmd as 
>> fol-
>>               lows:
> 
> D'oh.
> 
> Busy people talking to busy people :) I didn't even take the time to
> check that, sorry.
> 
> I indeed see the learn-address script called with
> 
> add 2a01:474:5:1100::/56 samuel.thibault.test
> 
> And seen it called with 
> 
> delete 2a01:474:5:1100::/56 samuel.thibault.test
> 
> 2 minutes after the client disconnected, which would probably be fine
> enough for our use case.
> 

If you use --proto udp, then it can take up to --ping-reset $SEC to trigger
(IIRC).  You can use explicit-exit-notify to avoid this behaviour.  With this
option set, the client will tell the server "I'm disconnecting now", which
will trigger the --learn-address script instantly.

This option is not useful in TCP mode, as explicit disconnect is part of the
TCP protocol.


-- 
kind regards,

David Sommerseth

Reply via email to