summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon
AgeCommit message (Collapse)AuthorFilesLines
2018-05-07Use platform specific newlines in daemon log fileJanito Vaqueiro Ferreira Filho1-1/+8
2018-05-03Use `rpc_file_path` from `mullvad-ipc-client`Janito Vaqueiro Ferreira Filho1-21/+14
2018-05-03Use `DaemonRpcClient` to check for other daemonJanito Vaqueiro Ferreira Filho4-34/+19
2018-05-03Use error-chain to define custom error typesJanito Vaqueiro Ferreira Filho1-1/+1
2018-05-03Move `DaemonRpcClient` to `mullvad-ipc-client`Janito Vaqueiro Ferreira Filho3-64/+12
2018-04-24Remove last mentions of "master" in source codeLinus Färnstrand1-2/+2
2018-04-23Add basic windows serviceAndrej Mihajlov4-2/+304
2018-04-18Disable rpc_info_file_permissions test on windowsEmīls Piņķis1-0/+2
2018-04-13Add flag to allow not printing timestamps to stdoutEmīls Piņķis3-25/+61
2018-04-11Require an initial fallback address to be usedJanito Vaqueiro Ferreira Filho3-5/+14
2018-04-11Use address cache in daemonJanito Vaqueiro Ferreira Filho1-1/+2
2018-04-11Create `MullvadRpcFactory` helper typeJanito Vaqueiro Ferreira Filho3-4/+9
2018-04-10Format with rustfmt 0.4.1-nightly (e784712 2018-04-09)Linus Färnstrand1-1/+1
2018-04-10Use BufReader for reading settings and relay listEmīls Piņķis2-4/+5
2018-04-04Switch to global windows temp directory on windowsAndrej Mihajlov2-2/+8
2018-04-03Implement safe cross-platform daemon shutdownJanito Vaqueiro Ferreira Filho2-8/+84
2018-04-03Test RPC address file creation on daemon start-upJanito Vaqueiro Ferreira Filho3-0/+173
2018-04-03Update app_dirs to version 1.2.1 to fix CI buildJanito Vaqueiro Ferreira Filho1-1/+1
2018-03-29Fix formatting issue reported by latest rustfmtJanito Vaqueiro Ferreira Filho1-1/+1
Version used: rustfmt 0.4.1-nightly (a4462d1 2018-03-26)
2018-03-27Default to empty RelayList if reading from file failsLinus Färnstrand2-15/+22
2018-03-26Replace include_str!() occurences with version::current() in mullvad-daemonEmīls Piņķis1-4/+3
2018-03-26Add 'get_current_version' and 'get_version_info' RPCs to daemonEmīls Piņķis3-5/+82
2018-03-26Format code with newer rustfmtLinus Färnstrand3-5/+5
2018-03-22Allow passing the `--mssfix` paramter to OpenVPN based on configEmīls Piņķis3-1/+79
2018-03-21Remove rustfmt 0.3.8 requirement and re-format with 0.4.1Linus Färnstrand1-4/+6
2018-03-20Rename TunnelParameters to TunnelEndpointDataEmīls Piņķis1-3/+3
2018-03-19Update crate descriptionsLinus Färnstrand1-1/+1
2018-03-09Check for other daemon sooner during start-upJanito Vaqueiro Ferreira Filho1-5/+5
2018-03-09Separate address retrieval from RPC callJanito Vaqueiro Ferreira Filho1-7/+10
Refactor so that if the former fails (which is a normal and frequent situation) nothing is logged.
2018-03-09Fix "RPC" typo in error messageJanito Vaqueiro Ferreira Filho1-1/+1
2018-03-09Separate `rpc_info` module in twoJanito Vaqueiro Ferreira Filho3-40/+48
Rename `rpc_info` into `rpc_address_file` and move RPC client code used for checking for other instances to a separate `rpc_uniqueness_check` module.
2018-03-09Inline `other_daemon_responds()` functionJanito Vaqueiro Ferreira Filho1-12/+6
No need to check if the address file exists before trying to access it.
2018-03-09Halt on failure of removal of existing RPC fileJanito Vaqueiro Ferreira Filho1-4/+13
2018-03-09Only run one instance of daemonJanito Vaqueiro Ferreira Filho2-1/+56
Before the RPC server is started, check if there is already another instance of the daemon running. If there is, and it appears to be responding correctly, don't start the daemon again.
2018-03-06Upgrade env_logger, duct, uuid and randLinus Färnstrand1-2/+2
2018-03-06Upgrade jsonrpc-* cratesLinus Färnstrand2-6/+7
2018-03-06Ignore rename error if log file doesn't existJanito Vaqueiro Ferreira Filho1-4/+6
The file is moved only to create a backup of it. If it doesn't exist, there is no need to create the backup, so the error can be safely ignored.
2018-03-06Simplify log file backup creationJanito Vaqueiro Ferreira Filho1-21/+9
Perform a single operation to rename old log file into the backup log file and to overwrite any existing backup.
2018-03-06Forcibly remove old backup of tunnel log fileJanito Vaqueiro Ferreira Filho1-6/+4
2018-03-06Create backup of OpenVPN log fileJanito Vaqueiro Ferreira Filho1-4/+33
Delete previous backup if it already exists.
2018-03-06Rename user_is_root() into running_as_admin()Janito Vaqueiro Ferreira Filho1-4/+4
Making the intention clear in multiple platforms.
2018-03-06Move user check to start of programJanito Vaqueiro Ferreira Filho2-18/+16
2018-03-06Place Unix-only dependency in `cfg(unix)`Janito Vaqueiro Ferreira Filho3-1/+3
2018-03-06Warn if user is running daemon as a non-root userJanito Vaqueiro Ferreira Filho3-0/+19
2018-03-05Fix tests to match new redact signatureLinus Färnstrand1-6/+6
2018-03-05Fix formattingLinus Färnstrand1-7/+5
2018-03-05Use Cow<str> instead of String where possibleLinus Färnstrand1-14/+16
2018-03-05Compile regular expressions once into static variableLinus Färnstrand1-69/+76
2018-03-05Redact all 16 digits numbers from problem reportsLinus Färnstrand1-3/+7
2018-03-05Change String into &str where appropriateLinus Färnstrand1-5/+5