-
Notifications
You must be signed in to change notification settings - Fork 869
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
SOL_IP is not defined when compiling on MacOS 10.8.2 #42
Comments
I can verify that the IPPROTO_IP workaround works. |
Does it work in terms of compilation or does it work for redirection with the workaround ? |
Works in terms of compilation. I haven't had time to test it, but it should be quote similar to FreeBSD. Maybe @jaeckel knows more? |
I have no permanent root access to machines running MacOSX to test and develop for this platform. Was v0.4 ever working on MacOSX? If it was, can you please contribute documentation with working MacOSX firewall configuration guidelines? Also, I'm closing this issue in favor of #75 that tracks current MacOSX support status. |
I just grabbed the latest version of redsocks and tried to build it on MacOS 10.8.2. There were a number of compilation errors all caused by SOL_IP not being declared. Am I missing any libraries or should this be declared by the makefile?
FYI: I temporarily worked around the issue by adding "-DSOL_IP=IPPROTO_IP" to the CFLAGS in the Makefile. This at least allowed me to compile & run redsocks.
The text was updated successfully, but these errors were encountered: