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

Set net.ipv4 sysctl flags via server metapackage #55

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

legoktm
Copy link
Member

@legoktm legoktm commented Nov 1, 2024

Instead of setting these via ansible, let's ship them in this package so it's easier to tweak them in the future without needing future ansible runs.

A postinst snippet removes the values from /etc/sysctld.conf; it's okay if they're temporarily duplicated since they'll have the same values.

Refs freedomofpress/securedrop#7323.

@legoktm legoktm force-pushed the sysctl-ipv4 branch 2 times, most recently from feb6335 to 36151dd Compare November 1, 2024 21:20
Instead of setting these via ansible, let's ship them in this package so
it's easier to tweak them in the future without needing future ansible
runs.

A postinst snippet removes the values from /etc/sysctld.conf; it's
okay if they're temporarily duplicated since they'll have the same
values.

Refs <freedomofpress/securedrop#7323>.
legoktm added a commit to freedomofpress/securedrop that referenced this pull request Nov 1, 2024
These are now set via the securedrop-grsec metapackage (see
<freedomofpress/kernel-builder#55>).

Refs #7323.
Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that set values are the same as those removed in freedomofpress/securedrop#7324

@zenmonkeykstop zenmonkeykstop merged commit 06b8b38 into main Nov 5, 2024
12 checks passed
legoktm added a commit to freedomofpress/securedrop that referenced this pull request Nov 6, 2024
These are now set via the securedrop-grsec metapackage (see
<freedomofpress/kernel-builder#55>).

Tests are left in to verify the migration works properly.

Refs #7323.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants