Kernel lockdown patch & IPAddressAllow/IPAddressDeny systemd feature with Secure Boot

Booting Fedora with Secure Boot enabled will result in Lockdown being enabled at boot time. This will completly disable the BPF system call for all users [1][2].

Unfortunately, this breaks the IPAddressAllow & IPAddressDeny systemd feature [3][4][5].

I don't have a solution for this, but as far as I understand, this will also prevent other BPF use-cases (for example: Cilium on Fedora CoreOS).

[1] <a href="" title=""></a>
[2] <a href=";id=0eb0d0851747787f7182b3e9d0d38edb5925a678" title=";id=0eb0d0851747787f7182b3e9d0d38edb5925a678"></a>
[3] <a href="" title=""></a>
[4] <a href="" title=""></a>
[5] <a href="" title=""></a>


Re: Kernel lockdown patch & IPAddressAllow/IPAddressDeny systemd

By Peter Robinson at 08/08/2018 - 03:29

Probably a good idea to cc: this to the kernel list :-)

I suspect it's intentional but with the planned changes for iptables
etc to be backed by bpf in the upstream kernel sometime in the future
it's likely going to need to be reviewed.


On Tue, Aug 7, 2018 at 10:25 PM, Timothée Ravier < ... at siosm dot fr> wrote: