Re: Remove FireWall entries. How?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com man ipfw :) On 7/26/06, Josh Graessley <jgraessley@apple.com> wrote: I believe contents of this file are considered an implementation detail and not an API. I think the current approved method for adding rules to the firewall is to give detailed instructions on how the user may do this. Ultimately, the best solution is to turn the stupid thing off. But if I user thinks they can't live without Blue Widget Goo and you try to take it from them, they resent you. So we live with a stupid personal firewall that does nothing to increase the security of the machine. The only thing it does do is break applications that want to use the network for legitimate purposes. -josh On Jul 26, 2006, at 10:29 AM, rohit dhamija wrote: Best Regards, {Plum} {Plumber Idraulico} Senior Software Engineer/Unix Client/Server Software Engineer Paris - France _ /o\ // \\ The ASCII \\ // Ribbon Campaign \V/ Against HTML /A\ eMail! // \\ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... So is it not advisable to make/add your rules in the FireWall settings ? I thought to add the rules while installing my app and remove while unistallation.
I have added a dictionay named SHK under the firewall dictionary entry
of com.apple.sharing.firewall.plist with the following command:
defaults write "/Library/Preferences/com.apple.sharing.firewall"
"firewall" -dict-add SHK '{ "Port" = (7001,7002); }' ;
somewhat like this:
^Firewall --- Dictionary
^SHK ---Dictionary
^ Port --- Array
Now what should I do if I want to delete this SHK entry from plist?
I have tried:
defaults delete "/Library/Preferences/com.apple.sharing.firewall"
firewall
It deletes the complete firewall dictionary. But I want to remove just
SHK entry and not the complete firewall entry.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin-kernel@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/jgraessley%
40apple.com
This email sent to jgraessley@apple.com
This email sent to site_archiver@lists.apple.com
participants (1)
-
plumber Idraulico