Skip to content

Set net.ipv4 sysctl flags via server metapackage#55

Merged
zenmonkeykstop merged 1 commit intomainfrom
sysctl-ipv4
Nov 5, 2024
Merged

Set net.ipv4 sysctl flags via server metapackage#55
zenmonkeykstop merged 1 commit intomainfrom
sysctl-ipv4

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
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.
@legoktm legoktm deleted the sysctl-ipv4 branch December 20, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants