Re: get set firewall status

2014-05-20 Thread Edward Marczak
It's still present on Mavericks, but the man page for ipfw reads: This utility is DEPRECATED. Please use pfctl(8) instead. Also, aside from the traditional port-based firewall, the firewall you enable/disable in the security pref pane is an application-level firewall, separate from ipfw or pf.

Re: get set firewall status

2014-05-20 Thread 2551
On 20 May 2014, at 19:48, Edward Marczak marc...@gmail.com wrote: This is the firewall represented in system_profiler output, so, check out the man page for (or use otool on) afctl. Thanks for the feedback everyone. I've done an exhaustive search, but there's nothing called 'afctl' on my

Re: get set firewall status

2014-05-20 Thread Edward Marczak
D'oh...brain slip: /usr/libexec/ApplicationFirewall/socketfilterfw is what you want. No man page, but there's a --help flag. On Tue, May 20, 2014 at 10:05 AM, 2551 2551p...@gmail.com wrote: On 20 May 2014, at 19:48, Edward Marczak marc...@gmail.com wrote: This is the firewall represented in

Re: get set firewall status

2014-05-19 Thread Jens Alfke
On May 16, 2014, at 6:56 PM, 2551 2551p...@gmail.com wrote: Is there a Cocoa way to get get and set the status of the built-in OS X Firewall? It’s ipfw under the hood; a web-search for that might turn up some info. Also, I suggest asking on the darwin-userlevel list, which is a more

Re: get set firewall status

2014-05-19 Thread Marco S Hyman
On May 19, 2014, at 12:02 PM, Jens Alfke j...@mooseyard.com wrote: It’s ipfw under the hood; a web-search for that might turn up some info. Also, I suggest asking on the darwin-userlevel list, which is a more appropriate forum for this question since it isn’t about Cocoa. ipfw is

Re: get set firewall status

2014-05-19 Thread Alex Zavatone
Out of curiosity, in which version of the OS is pf taking over for ipfw? On May 19, 2014, at 3:26 PM, Marco S Hyman wrote: On May 19, 2014, at 12:02 PM, Jens Alfke j...@mooseyard.com wrote: It’s ipfw under the hood; a web-search for that might turn up some info. Also, I suggest asking on

Re: get set firewall status

2014-05-19 Thread Marco S Hyman
On May 19, 2014, at 1:03 PM, Alex Zavatone z...@mac.com wrote: Out of curiosity, in which version of the OS is pf taking over for ipfw? The switch started in Lion. I don't know if ipfw has been completely replaced. I seem to remember that some things were still being done in ipfw. Or maybe

get set firewall status

2014-05-16 Thread 2551
Is there a Cocoa way to get get and set the status of the built-in OS X Firewall? At the moment I'm using an NSTask and extracting the relevant part of the string from system_profiler SPFirewallDataType to get the status, but it's slow. Is there a better way? TIA Phil signature.asc