View previous topic :: View next topic |
Author |
Message |
AUTOMAGIC
Joined: 04 Nov 2013 Posts: 1 Location: Sweden
|
Posted: Mon Nov 04, 2013 9:13 pm Post subject: Mac OS X (Darwin) - pf instead of ipfw |
|
|
Hi,
Since Mac OS X Lion (10.7) ipfw has been replaced by pf. This is still the case for 10.8 and 10.9.
Currently there is no support for the Darwin+pf configuration. I tried to casually hack the Makefile to use the pf steps from BSD, with little success (got very little knowledge of make files).
The pfvar.h file is needed it seems, I downloaded it from Apple OSS site..
Anyone got any ideas for compiling on Mac OS X 10.8 and preferably 10.9?
Thanks,
Eric |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Fri Dec 13, 2013 6:06 pm Post subject: |
|
|
I tried to compile on OS X 10.9 without success :
I made necessary modifications on genconfig.sh and Makefile.macosx but I cannot compile because OS X SDK doesn't include pfvar.h
I cannot pick a pfvar.h file from elsewhere because it looks like pf was customised by apple... _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Fri Dec 13, 2013 6:31 pm Post subject: |
|
|
XNU pfvar.h includes :
Code: | #ifdef PRIVATE
/*
* XXX
* XXX Private interfaces. Do not include this file; use pfctl(8) instead.
* XXX
*/ |
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
|
Back to top |
|
 |
|