site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -josh On Jul 26, 2006, at 10:29 AM, rohit dhamija wrote: 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? _______________________________________________ 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... This email sent to site_archiver@lists.apple.com 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. 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 smime.p7s