Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Avoid overwriting modified DNS upon restore #199

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 27, 2019

  1. Avoid overwriting modified DNS upon restore

    In openvpn_disconnect(), "modify_dns revert_to_backup" is called to
    restore DNS to the value backed-up by openvpn_connect(). However,
    DNS might change after the backup and before a --disconnect is issued.
    In that case, --disconnect causes a needless overwrite of DNS with an
    old value, that might as well break the internet connection.
    
    Use case:
    
      * Client connects to protonvpn.
      * Client changes access point. Internet connection breaks.
      * Client issues a --disconnect to restore internet connection.
      * Internet connection remains broken due to DNS overwrite.
        New --connect attempts will fail.
    elias-pap committed Jul 27, 2019
    Configuration menu
    Copy the full SHA
    c87fc0a View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2019

  1. Configuration menu
    Copy the full SHA
    15f5bc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1afd7d4 View commit details
    Browse the repository at this point in the history