• Julien Muchembled's avatar
    Fix use of alternate addresses · 620b9e98
    Julien Muchembled authored
    When a peer advertised several addresses, a node trying to create a tunnel to
    it never tried any other address than the first one.
    
    Before, we wrongly assumed OpenVPN would try all addresses before aborting
    (--ping-exit). New code reexecutes OpenVPN until all addresses are tried
    and update the peer db to reorder addresses if the first one failed.
    620b9e98
tunnel.py 17.4 KB