How do I get the Mac OS X Firewall to permanently allow my iOS app?

后端 未结 5 1695
南笙
南笙 2020-12-08 19:10

I\'m writing an iOS app that acts as, among other things, a telnet server. Naturally, it begins listening for connections as soon as it starts.

When I run the app in

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 19:55

    I think the best solution might be to script the process of okaying your app to the firewall.

    If I recall correctly, the latest OSX firewall is actually clever about identifying apps and fingerprints the allowed binaries. This prevents the surprisingly effective tactic of just naming your malware "system32.exe" &c to evade the firewall. If that's the case, your app will be (correctly) blocked for not being the same binary that was okayed, and there's not really any way around it.

    So, try scripting the firewall allowing process and incorporate that into the build process.

提交回复
热议问题