Re: Adding ports to the firewall from an Installer?
Re: Adding ports to the firewall from an Installer?
- Subject: Re: Adding ports to the firewall from an Installer?
- From: otherguy <email@hidden>
- Date: Fri, 1 Aug 2003 16:21:23 -0600
Would best practices necessitate asking the user?
Personally, if I found an app was modifying my _security_ software
without my permission, I'd stop using it immediately. I understand the
desire to make things easier on people, but I'd much rather see it in
the documentation, than be surprised when I see it done for me.
-Cameron Wilhelm
On Friday, August 1, 2003, at 03:12 PM, Huyler, Christopher M wrote:
I asked this question on a different thread so disregard it if you
have already read it.
Is there a way, either by command-line (through a shell script) or
compiled application, to add a new port to the firewall settings in
the Sharing Pref panel? . . .and make it stick.
I have tried making changes to the
/Library/Preferences/com.apple.sharing.firewall.plist file with
unsuccessfull results.
I have tried using setsockopt to add a rule from a C program but the
rule is flushed any time someone goes into the Sharing Pref Panel and
makes a change. (This includes turning on/off services such as Remote
Login.)
I would like to avoid asking the user to add the port at all costs but
it doesn't seem possible.
Thanks for your input.
--
Christopher Huyler
Computer Associates
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.