-
Notifications
You must be signed in to change notification settings - Fork 83
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
MacOSX support is broken #3
Comments
- Make ReQrypt compatible with BSD and MacOSX. - WIP solution for #3.
It might be possible to build and run ReQrypt on MacOSX again. Although, I do not have access to a Mac so cannot test. It seems to work for BSD. Note however, it is not very user-friendly. You need to do the following steps (as root):
Now it should be possible to run ReQrypt as root, and this should tunnel outbound traffic for all users. |
Hi there. Thanks for your work. I just want to let you know that I've tried to build this project on macOS 10.13.6 but had no luck. There is a compilation error:
The full log is in pastebin. |
A small update. I was able to build the project, it's just necessary to define PFCONF_FILENAME for MACOSX in misc.h Hovewer, it doesn't work as expected even after applying the changes you've proposed for /etc/pf.conf (IPv6 is disabled as well). Here is the log:
|
Another update. Looks like pf in macOS doesn't support the divert-packet command. I've found no really useful information regarding this question, but here is a thread on Reddit about divert sockets in macOS. Hope you'll be able to find a different approach for macOS :). |
From memory you need to enable the firewall under Security and Privacy in System Settings. |
Yes, pf is disabled by default in macOS. However, it's not enough to just enable the firewall to turn on pf. It's necessary to enable an additional option in System Preferences -> Security & Privacy -> Firewall -> Firewall options -> Check "Enable stealth mode". Probably it enables pf to filter data on low level. Besides there is an option to enable pf via Anyway, this doesn't help much because we're getting the same error |
Yes, I also cannot find any information on how to enable divert sockets on modern MacOS, or even if it is supported at all. I did notice that So is it possible that support was silently dropped? |
I've spent some time reading manuals and it looks like pf on macOS is based on OpenBSD 4.5/4.6 and this version doesn't support the divert-packet command as modern OpenBSD versions. Here is an article regarding pf on macOS with some information on the matter. Probably Apple's implementation isn't complete or it's just outdated. |
One idea is to figure out the Otherwise, ReQrypt MacOS support will be dead. |
The MacOSX version of ReQrypt depends on
ipfw
which has been deprecated. See #2.The text was updated successfully, but these errors were encountered: