<div dir="ltr"><div dir="ltr" class="gmail_msg"><div dir="ltr" class="gmail_msg">Hi Noel,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">Just a followup to this:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">charon monitors changes to interfaces and IP addresses and tries to recover from any changes. If for example I unplug my network cable while a wifi connection is active, the route to the virtual subnet is removed by the kernel and re-added by charon on the correct interface.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The case where no new route is immediately available is a corner case, but I don't think one that doesn't deserve to be handled in the same way.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">What do you think?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Cheers,</div><div class="gmail_msg">Alex</div></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div><div dir="ltr" class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Fri, 28 Oct 2016 at 23:33 Alexander Hill <<a href="mailto:alex@hill.net.au" class="gmail_msg" target="_blank">alex@hill.net.au</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, thanks. That makes sense.<br class="gmail_msg"><br class="gmail_msg">Triggering a reconnect on if-up should do the trick then.<br class="gmail_msg"><br class="gmail_msg">Cheers, Alex<br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Fri., 28 Oct. 2016 at 11:09 pm, Noel Kuntze <<a href="mailto:noel@familie-kuntze.de" class="gmail_msg" target="_blank">noel@familie-kuntze.de</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 28.10.2016 07:07, Alexander Hill wrote:<br class="gmail_msg">
> What's the thing that removes the route when the network cable is unplugged - and can that thing also re-add the route when it's plugged back in?<br class="gmail_msg">
<br class="gmail_msg">
I think the kernel does that. There's no userspace component involved in this. But it doesn't add anything back.<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
<br class="gmail_msg">
Mit freundlichen Grüßen/Kind Regards,<br class="gmail_msg">
Noel Kuntze<br class="gmail_msg">
<br class="gmail_msg">
GPG Key ID: 0x63EC6658<br class="gmail_msg">
Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div></blockquote></div></div></div>