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

chore: upgrade tun2socks library to v3.3.0 #1682

Merged
merged 6 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
import tun2socks.OutlineTunnel;
import tun2socks.Tunnel;
import tun2socks.Tun2socks;


Expand All @@ -46,7 +46,7 @@ public class VpnTunnel {
private final VpnTunnelService vpnService;
private String dnsResolverAddress;
private ParcelFileDescriptor tunFd;
private OutlineTunnel tunnel;
private Tunnel tunnel;

/**
* Constructor.
Expand Down
4 changes: 2 additions & 2 deletions src/cordova/apple/OutlineAppleLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ let package = Package(
),
.binaryTarget(
name: "Tun2socks",
url: "https://github.com/Jigsaw-Code/outline-go-tun2socks/releases/download/v3.1.0/apple.zip",
checksum: "78f291482da13fd035de19d21a075048407658aab077fdeb23ce435f33cec3a2"
url: "https://github.com/Jigsaw-Code/outline-go-tun2socks/releases/download/v3.3.0/apple.zip",
checksum: "169de8f4cc55e603732428f89bc33618c99328f3d2251b41ae5a578e2a717073"
),
.testTarget(
name: "OutlineTunnelTest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

@interface PacketTunnelProvider ()<Tun2socksTunWriter>
@property (nonatomic) NSString *hostNetworkAddress; // IP address of the host in the active network.
@property id<Tun2socksOutlineTunnel> tunnel;
@property id<Tun2socksTunnel> tunnel;
@property (nonatomic, copy) void (^startCompletion)(NSNumber *);
@property (nonatomic, copy) void (^stopCompletion)(NSNumber *);
@property (nonatomic) DDFileLogger *fileLogger;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified third_party/outline-go-tun2socks/android/jni/x86/libgojni.so
Binary file not shown.
Binary file not shown.
Binary file modified third_party/outline-go-tun2socks/android/tun2socks.aar
Binary file not shown.
Binary file modified third_party/outline-go-tun2socks/linux/tun2socks
Binary file not shown.
Binary file modified third_party/outline-go-tun2socks/win32/tun2socks.exe
Binary file not shown.
Loading