Skip to content

Commit

Permalink
chore: upgrade tun2socks library to v3.3.0 (#1682)
Browse files Browse the repository at this point in the history
* chore: upgrade tun2socks library to v3.3.0

* Update data types.

* Revert "Update data types."

This reverts commit 1c2d3c1.

* Update data types again.

* Update checksum with new release that fixes framework name.
  • Loading branch information
sbruens authored Jul 27, 2023
1 parent 562f78d commit 9105e53
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 5 deletions.
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: "ec6d98aef1dc66cd518da38c6b53f47ff8ae330f41e81c8c52e93803e93d9721"
),
.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 modified third_party/outline-go-tun2socks/android/jni/x86_64/libgojni.so
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.

0 comments on commit 9105e53

Please sign in to comment.