summaryrefslogtreecommitdiffhomepage
path: root/ios/PacketTunnel
AgeCommit message (Collapse)AuthorFilesLines
2022-10-25Make RelayCache an instanceAndrej Mihajlov1-10/+8
2022-10-21Move common code into two new targets: RelaySelector, TunnelProviderMessagingAndrej Mihajlov3-0/+6
2022-10-21Move RelayCache.IO and CachedRelays into new RelayCache.frameworksajacl1-3/+4
Moved RelayCache.IO and CachedRelays into new RelayCache.framework Moved prebuild script to build phase script. Renamed script, renamed/moved RelayCache.IO to RelayCache. Renamed RelayCache.Tracker to RelayCacheTracker. Set APPLICATION_EXTENSION_API_ONLY to true for RelayCache framework. Updated gitignore. Removed relays.json from git. Removed relays.json from RelayCache framework Removed RelayCache/FetchResult, moved/renamed code into RelayCacheTracker file. Renamed CachedRelaysFetchResult to RelaysFetchResult. Changed access level for RelaysFetchResult and NoCachedRelaysError.
2022-10-20Move REST into separate frameworksajacl1-22/+25
2022-10-13Add MullvadTypes and MullvadLogging targetsAndrej Mihajlov4-5/+9
2022-10-13Add transport support in REST APISajad Vishkai1-0/+40
2022-09-26Replace ChainedError with WrappingErrorAndrej Mihajlov2-11/+11
2022-09-21Handle sleep cycle in tunnel monitorAndrej Mihajlov2-3/+41
2022-09-21Add log statement to register when stats is being resetAndrej Mihajlov1-0/+1
2022-09-21Fix typoAndrej Mihajlov1-1/+1
2022-09-21Guard against sending retryHeartbeatPing when heartbeat suspendedAndrej Mihajlov1-1/+1
2022-08-30Add new tunnel monitoringAndrej Mihajlov10-421/+1026
2022-08-03Format source code with swiftformatAndrej Mihajlov6-36/+78
2022-08-01Add device stateAndrej Mihajlov2-8/+15
2022-07-28Rework tunnel IPCAndrej Mihajlov1-37/+72
2022-07-28Fix formattingAndrej Mihajlov1-1/+1
2022-07-28PacketTunnel: extract types into separate files and re-arrange filesAndrej Mihajlov9-117/+173
2022-07-28Drop PacketTunnelProviderErrorAndrej Mihajlov1-78/+21
2022-07-27Throw error when unable to satisfy relay constraintsAndrej Mihajlov1-1/+1
2022-06-02Xcode: add build config templateAndrej Mihajlov2-1/+3
2022-06-01PacketTunnel: pass relay selector on startAndrej Mihajlov1-1/+1
2022-05-30Refactor code to throw errors instead of passing resultAndrej Mihajlov2-25/+24
2022-05-30PacketTunnel: use new settings and throw errors instead of passing resultAndrej Mihajlov1-85/+85
2022-05-17Accumulate inet checksum into UInt16Andrej Mihajlov1-20/+10
2022-03-24PacketTunnelStatus: assign isNetworkReachable to make default init() availableAndrej Mihajlov1-5/+1
2022-03-24TunnelMonitor: avoid double logging the "stop" operation since stopNoQueue() ↵Andrej Mihajlov1-4/+7
is called from deinit too
2022-03-17Add tunnel status pollingAndrej Mihajlov1-25/+52
2022-03-17Add tunnel monitorAndrej Mihajlov4-171/+905
2022-02-08Obtain DNS server IP from blocking optionsAndrej Mihajlov1-8/+3
2022-02-02Remove duplicate error messageAndrej Mihajlov1-1/+1
2021-11-03PacketTunnel: apply custom DNS configurationAndrej Mihajlov1-10/+15
2021-09-21PacketTunnel: refactor and remove networking from the tunnelAndrej Mihajlov1-347/+190
2021-06-21PacketTunnel: update WireGuardKitAndrej Mihajlov1-3/+1
Revision: https://git.zx2c4.com/wireguard-apple/commit/?id=c1f509d65bba1c00c6b6ef93826f658ff36a0761
2021-06-14PacketTunnel: refactor and remove dead codeAndrej Mihajlov4-208/+17
2021-05-27PacketTunnel: configure DNS using new DNSSettingsAndrej Mihajlov1-1/+16
2021-03-19SimulatorTunnelProviderHost: pick the actual tunnel based on relay constraintsAndrej Mihajlov1-11/+0
2021-03-02Remove unused bridging headers and wireguard version extraction scriptAndrej Mihajlov1-5/+0
2021-02-11Integrate WireGuardKitAndrej Mihajlov9-740/+118
2020-09-15Use UInt32 constantsAndrej Mihajlov1-1/+1
2020-09-15Move AnyIPEndpoint to a separate file & implement CustomStringConvertible on ↵Andrej Mihajlov3-26/+62
IPEndpoint<T>
2020-09-15Update copyright notice in PacketTunnelSettingsGenerator.swiftAndrej Mihajlov1-0/+1
2020-09-09Refactor DNS64 resolution codeAndrej Mihajlov3-40/+68
2020-09-09Add missing copyright noticesAndrej Mihajlov1-0/+1
2020-09-03Remove dup() callAndrej Mihajlov1-19/+1
2020-09-02Make sure to call the system completionHandler after the stop operation is ↵Andrej Mihajlov1-2/+4
fully finished On iOS 13.4 the tunnel process is terminated when the completion handler is called. Postponing the call until we clear out the operation queue lets PacketTunnel deallocate before the process exits
2020-09-02Change logging queue priority from background to utilityAndrej Mihajlov1-1/+1
2020-09-02Pass queue for completion callbacksAndrej Mihajlov2-62/+73
2020-09-02Add PacketTunnelState and rework tunnelAndrej Mihajlov2-153/+268
2020-09-02Use work queue in network monitorAndrej Mihajlov1-44/+37
2020-08-28Turn off WireGuard when no active network interfaces available.Andrej Mihajlov1-32/+121