Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS-742 implement wgOpenInTunnelICMP #11

Draft
wants to merge 29 commits into
base: mullvad-master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
89d3560
Implementation of split real/virtual packet tunnel in WireGuardGo for…
acb-mv May 30, 2024
ff76158
Remove unneeded splice_tun (aka Frankentunnel)
acb-mv Jun 20, 2024
de905a7
Apply some changes requested in the PR
acb-mv Jun 24, 2024
38e6c8e
Replace cleanup calls closing a file descriptor with ones closing the…
acb-mv Jun 25, 2024
ebf16d5
Miscellaneous changes from PR
acb-mv Jun 25, 2024
fb6081f
Split read and write sides of router
acb-mv Jun 25, 2024
7197668
Initial (partial) implementation of wgOpenInTunnelICMP
acb-mv Jul 1, 2024
f84c458
More work on wgOpenInTunnelICMP
acb-mv Jul 2, 2024
4b879b2
Put back deletions
acb-mv Jul 9, 2024
3257808
Refactor wgTurnOn* to reduce duplication; also add wgTurnOnIANFromExi…
acb-mv Jul 11, 2024
2d7c4f0
Add nonworking ICMP test
acb-mv Jul 12, 2024
6ee50bb
Add assert to test, making evident its current failure
acb-mv Jul 12, 2024
a6c9e9a
Attempts to diagnose issues with wgOpenInTunnelICMP
acb-mv Jul 17, 2024
5665467
One-directional UDP pipe test now works
acb-mv Jul 17, 2024
ccc2533
Add attempt at making the UDP test bidirectional (it currently hangs)
acb-mv Jul 18, 2024
ed152d3
Changes in go.mod
acb-mv Jul 19, 2024
ff2bdb9
Attempt remote ping to relay
acb-mv Jul 19, 2024
4fd2f5b
Add check for readBytes
acb-mv Jul 19, 2024
5dcaed4
Minor fixes
acb-mv Jul 30, 2024
ac23e2d
Deduplicate common code between IAN and Multihop initialisation
acb-mv Jul 30, 2024
36f5657
Reorder functions
acb-mv Jul 30, 2024
95ee998
ICMP sanity check now works
acb-mv Aug 6, 2024
2b787bc
Add ICMP ping functionality to Apple API
acb-mv Aug 8, 2024
bc6b81b
Wait groups bad
pinkisemils Aug 1, 2024
9b1fd15
Fix go lint warnings
buggmagnet Aug 2, 2024
484b0bf
Explain why the socket shutdown channel is reopened
buggmagnet Aug 5, 2024
a7af16a
Handle cases when the multihop device is closed
buggmagnet Aug 5, 2024
aeb5d3b
Wait for sends and receives to return buffer before returing in Write…
Aug 5, 2024
9d71a84
Restore previously reversed deletion
acb-mv Aug 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/WireGuardKit/WireGuardAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public class WireGuardAdapter {
let handle = if let entryWgConfig {
wgTurnOnMultihop(exitWgConfig, entryWgConfig, privateAddr, tunnelFileDescriptor)
} else {
wgTurnOn(exitWgConfig, tunnelFileDescriptor)
wgTurnOnIAN(exitWgConfig, tunnelFileDescriptor, privateAddr)
}
if handle < 0 {
throw WireGuardAdapterError.startWireGuardBackend(handle)
Expand Down
Loading