Adding ports to the firewall from an Installer?
Adding ports to the firewall from an Installer?
- Subject: Adding ports to the firewall from an Installer?
- From: "Huyler, Christopher M" <email@hidden>
- Date: Fri, 1 Aug 2003 17:12:19 -0400
- Thread-topic: Adding ports to the firewall from an Installer?
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.