• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Adding ports to the firewall from an Installer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Adding ports to the firewall from an Installer?
      • From: otherguy <email@hidden>
  • Prev by Date: Re: PPPoE vs Ethernet IP on OS X?
  • Next by Date: CFSocket and Raw Ethernet
  • Previous by thread: Re: PPPoE vs Ethernet IP on OS X?
  • Next by thread: Re: Adding ports to the firewall from an Installer?
  • Index(es):
    • Date
    • Thread