Skip to content

feat: implement Sysctl Hardening Breaks Network Stack lab (#53)#97

Merged
HimanM merged 1 commit into
mainfrom
feat/sysctl-broken-lab
Jun 6, 2026
Merged

feat: implement Sysctl Hardening Breaks Network Stack lab (#53)#97
HimanM merged 1 commit into
mainfrom
feat/sysctl-broken-lab

Conversation

@HimanM

@HimanM HimanM commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Description

Implements the new troubleshooting lab for issue #53 (Sysctl Hardening File Breaks Network Stack). In this lab, a custom sysctl hardening configuration /etc/sysctl.d/99-hardening.conf blocks local pings (net.ipv4.icmp_echo_ignore_all = 1) and contains an obsolete key net.ipv4.tcp_tw_recycle = 1 which causes errors when reloading sysctl. The user must find the invalid/obsolete key, comment or remove it, and set the ping parameter back to 0.

Type of change

  • New Lab

Lab Requirements (If submitting a new lab)

  • The lab.yaml is fully populated.
  • The cloud-init.yaml correctly breaks the environment.
  • The verify.sh script correctly asserts if the environment is fixed.
  • The solution.md provides the step-by-step solution to fix the environment.
  • The question.md provides the question for the lab.
  • Follows the LAB_FORMAT.md guidelines.
  • MANDATORY: A working solution.sh script is provided to automatically fix the environment. (This is required for our CI verification pipeline).

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Closes #53

@HimanM HimanM merged commit 0e5a0e2 into main Jun 6, 2026
1 check passed
@HimanM HimanM deleted the feat/sysctl-broken-lab branch June 7, 2026 15:16
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.

[LAB IDEA] Sysctl Hardening File Breaks Network Stack

1 participant