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

Improve systemd hardening #180

Merged
merged 3 commits into from Nov 20, 2022
Merged

Improve systemd hardening #180

merged 3 commits into from Nov 20, 2022

Conversation

alexAubin
Copy link
Member

Changes

  • A couple minor things for systemd hardening taken from https://news.ycombinator.com/item?id=29976096. Not a huge deal, i.e. it's not like we gotta absolutely apply this to every app already implementing some form of hardening, it's just nice to have.

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@tituspijean
Copy link

Oooh, what about this one? Seems to be a perfect fit for most apps serving only on an internal port.

  SocketBindDeny=any
  SocketBindAllow=tcp:__PORT__

conf/systemd.service Outdated Show resolved Hide resolved
conf/systemd.service Outdated Show resolved Hide resolved
Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
@alexAubin alexAubin merged commit ac52667 into master Nov 20, 2022
@alexAubin alexAubin deleted the improve-systemd-security branch November 20, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants