Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix systemd service IPAddressDeny parameter value #312

Merged

Conversation

thrashwerk
Copy link
Contributor

I noticed in my system logs that the hardening parameter IPAddressDeny has an incorrect value:

bal. 18 10:58:40 systemd[1]: /usr/lib/systemd/system/earlyoom.service:41: Invalid address prefix is specified in [Service] IPAddressDeny=, ignoring assignment: true

It's not a boolean but a list of IP addresses or predefined symbolic names (according to https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#IPAddressAllow=ADDRESS%5B/PREFIXLENGTH%5D%E2%80%A6).

I set it to any which means 0.0.0.0/0 which basically blocks all network access.

@rfjakob rfjakob merged commit e6c7978 into rfjakob:master Apr 19, 2024
3 checks passed
@rfjakob
Copy link
Owner

rfjakob commented Apr 19, 2024

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants