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

SOL_IP is not defined when compiling on MacOS 10.8.2 #42

Closed
ingojaeckel opened this issue Apr 1, 2013 · 4 comments
Closed

SOL_IP is not defined when compiling on MacOS 10.8.2 #42

ingojaeckel opened this issue Apr 1, 2013 · 4 comments

Comments

@ingojaeckel
Copy link

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.

@henrik242
Copy link

I can verify that the IPPROTO_IP workaround works.

@darkk
Copy link
Owner

darkk commented Apr 10, 2013

Does it work in terms of compilation or does it work for redirection with the workaround ?
Can you write a brief how-to for setting up MacOS to redirect TCP traffic to redsocks ?

@henrik242
Copy link

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?

@darkk
Copy link
Owner

darkk commented Feb 1, 2018

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.

@darkk darkk closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants