Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

IPv4 broken on macOS 10.14 #146

Closed
jeroenleenarts opened this issue Jan 2, 2020 · 3 comments · Fixed by #169
Closed

IPv4 broken on macOS 10.14 #146

jeroenleenarts opened this issue Jan 2, 2020 · 3 comments · Fixed by #169
Assignees
Labels
bug Something isn't working regression Used to work but doesn't anymore
Milestone

Comments

@jeroenleenarts
Copy link

jeroenleenarts commented Jan 2, 2020

Summary

Somehow IPv4 traffic isn't working through the VPN on MacOS 10.14 (10.15 seems fine)

Steps to reproduce

Use TunnelKit in an app on MacOS.

What is the current bug behavior?

Connectivity with IPv4 fails on MacOS 10.14

What is the expected correct behavior?

It should work.

Relevant logs and/or screenshots

Please see: eduvpn/apple#191
Especially the pcap logging.

Possible fixes suggested remediation

This is our current workaround: johankool/tunnelkit@b72222f
( This workaround was included on our repo with this pull req:
eduvpn/apple#193 )

@efef
Copy link

efef commented Jan 10, 2020

Possibly the issue in the NETunnelInterface (TunnelKit library) and implementation of writePacket(:, completionHandler:) and writePackets(:, completionHandler:). Those methods seems to send the message with same protocol, setted in one place. Apple implementation, NEPacketTunnelFlow at the other side, implies that packets could be sent with different protocols.

@keeshux keeshux added the bug Something isn't working label Jan 28, 2020
@keeshux keeshux changed the title IPv4 on MacOS 10.14 IPv4 broken on macOS 10.14 Feb 26, 2020
@keeshux
Copy link
Member

keeshux commented Apr 11, 2020

Somewhat introduced by ec29501

@keeshux keeshux added this to the 2.2.2 milestone Apr 11, 2020
@keeshux keeshux self-assigned this Apr 11, 2020
@keeshux keeshux added the regression Used to work but doesn't anymore label Apr 11, 2020
@keeshux keeshux closed this as completed Apr 15, 2020
@jeroenleenarts
Copy link
Author

@keeshux We might have a very simple fix for the IPv4/v6 issue on certain MacOS version.

@roop Has created a change on TunnelKit which we are now testing with EduVPN.

More details here: roop/tunnelkit@753927f

If it works out @roop has promised to issue a pull request. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working regression Used to work but doesn't anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants