4

I have enabled the built-in firewall on my MacBook (Sierra v10.12.1), but unfortunately the log files located in /var/log (appfirewall.log and alf.log) stay empty. I contacted Apple Support but they don't know the reason or a solution to this problem. I saw someone with a similar problem and concerns at: Firewall logging enabled, but not recording which isn't resolved.

Any ideas how to handle this one?

3
  • 1
    Please add your system version by editing your question and adding the proper tag.
    – klanomath
    Commented Aug 8, 2017 at 16:49
  • I'm seeing the same issue in 10.13.4 (High Sierra) Commented May 19, 2018 at 8:31
  • Same in macOS Mojave 10.14.2. Commented Dec 16, 2018 at 20:20

1 Answer 1

1

To get some logging from the Firewall you have to define some rules.

Open System Preferences > Security & Privacy > Firewall, unlock it, and select Firewall Options and add some rules about application you want to block any access from the outside.

Ex. : Firewall settings

Once done, lock back the Security & Privacy preference menu.

Try any prohibited or allowed access and you will see it appear in /var/log/appfirewall.log.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .