← All Learning Paths

Network Engineer

Build a working model of TCP/IP: DNS resolution, congestion control, MTU discovery, connection tuning, and incident response for real network failures.

roleintermediate7 nodes12.17h total

Path overview

建立可用的 TCP/IP 模型:DNS 解析、拥塞控制、MTU 发现、连接调优,以及真实网络故障的应急响应。

Build a working model of TCP/IP: DNS resolution, congestion control, MTU discovery, connection tuning, and incident response for real network failures.

  1. Run the network engineer snippet "DNS Lookup with Timeout", capture stdout, and show which line demonstrates the documented behavior: "Resolve a hostname through the default resolver with a context deadline, sort the addresses,".

    Completion criteria: Attach the terminal transcript for "DNS Lookup with Timeout": command, exit code, and the printed result you used to confirm "Resolve a hostname through the default resolver with a context deadline, sort the addresses,".

    Next step: Net HTTP Server Read Write Timeouts

    ⏱ 0.75h

  2. Adapt "Net HTTP Server Read Write Timeouts" to a second input and compare the new output with the behavior described in "Harden an HTTP server with read, write, idle, and header timeouts so slow or hostile clients".

    Prerequisites: DNS Lookup with Timeout

    Completion criteria: Change one constant in "Net HTTP Server Read Write Timeouts", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Reverse Proxy Handler

    ⏱ 0.75h

  3. Execute "Reverse Proxy Handler", change one constant, and describe how the output diverges from "Forward requests with httputil.ReverseProxy, add a forwarded-host header, strip internal".

    Prerequisites: Net HTTP Server Read Write Timeouts

    Completion criteria: Paste the command, the exit code, and the output line matching "Forward requests with httputil.ReverseProxy, add a forwarded-host header, strip internal"; then show a second run with a changed parameter.

    Next step: Catch a Retry Storm by Capturing Packets with tcpdump

    ⏱ 0.75h

  4. Execute "Catch a Retry Storm by Capturing Packets with tcpdump" end to end, then repeat the last step with one parameter changed and compare "Use tcpdump to count TCP retransmissions and new connections per second toward one".

    Completion criteria: Run the steps through "Use tcpdump to count TCP retransmissions and new connections per second toward one", paste the command output, and mark the line that matches "In a healthy window the count is near zero per minute; during the incident it climbs"; then rerun with one parameter changed.

    Next step: DNS Resolution Incident Workflow

    ⏱ 0.5h

  5. Follow "DNS Resolution Incident Workflow" and record "Diagnose and mitigate DNS-layer failures quickly, avoiding both false service rollbacks and" at the step where it should appear, using "A matrix of answers (or SERVFAIL/timeouts) exists naming the scope before any change." as the check.

    Prerequisites: Catch a Retry Storm by Capturing Packets with tcpdump

    Completion criteria: Record the state "Diagnose and mitigate DNS-layer failures quickly, avoiding both false service rollbacks and" at the verification step, then paste the output of "A matrix of answers (or SERVFAIL/timeouts) exists naming the scope before any change." that proves it.

    Next step: Test Address Membership in a CIDR Block

    ⏱ 0.5h

  6. Turn JSON object: { cidr: a.b.c.d/n, ipv4: string[] } into {inside:[10.0.0.5],outside:[10.0.1.5]} by completing "Test Address Membership in a CIDR Block" with a reproducible script and a failing-case note.

    Prerequisites: DNS Resolution Incident Workflow

    Completion criteria: Submit a solution for "Network Engineer" that passes both samples ({cidr:10.0.0.0/24,ipv4:[10.0.0.5,10.0.1.5]} to {inside:[10.0.0.5],outside:[10.0.1.5]}) and attach the failing case you fixed.

    Next step: Capstone: Network Engineer

    ⏱ 0.42h

  7. Build "Build a Rate Limiting Reverse Proxy in Node.js" through its phases, keeping "Token bucket and fixed window limiters selectable per route through a JSON config" independently testable.

    Prerequisites: DNS Resolution Incident Workflow, Test Address Membership in a CIDR Block

    Completion criteria: Run the project's test command for "Build a Rate Limiting Reverse Proxy in Node.js", paste the passing output, and attach the acceptance note for "Token bucket and fixed window limiters selectable per route through a JSON config" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h