site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -josh On Jul 26, 2006, at 11:00 AM, plumber Idraulico wrote: man ipfw :) On 7/26/06, Josh Graessley <jgraessley@apple.com> wrote: -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... This email sent to site_archiver@lists.apple.com I think that if you mess with the ipfw rules, the built-in personal firewall will assume there is another firewall running and disable itself. This may also interfere with internet sharing. This is discussion would probably be more appropriate on macnetworkprog@lists.apple.com. 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 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 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
_______________________________________________ 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