Merge security updates into demo baseline and add rehearsal guide
vpn-dns-gateway/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-26 00:04:59 -05:00
18 changed files with 769 additions and 7 deletions
+119
View File
@@ -1107,6 +1107,53 @@ build and visual review. Passwords hints, credentials, permissions, earlier
coursework, Billy/Claude records and shared services were preserved.
Vincent handles final commits/pushes and submission; Billy reviews the final PR.
\section{Java Runtime Security Maintenance}
Date: November 23, 2026; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent asked Codex to assess DigitalOcean's PHP and OpenJDK email alerts,
then explicitly authorized patching after loading his SSH key privately.
Codex read the alerts and verified the Java fix against Adoptium's advisory.
The earlier PHP inventory found no PHP. The local Docker VM and the Droplet
both lacked the AVX-512 VBMI feature required for the documented Java exploit;
this hardware qualification was distinguished from having a patched runtime.
The controller used Temurin 21.0.12.1+1 before this update.
The delivery agent used Temurin 21.0.13+9.
Codex selected the official fixed Temurin 21.0.13.1+2 image,
verified its registry digest, retained original image and Compose checkpoints,
and built runtime-only replacement images under bounded resources. An initial
Adoptium assets endpoint returned 404; official GitHub release metadata and
Docker Hub provided the release and pinned image instead. Isolated version
checks passed before service replacement. Codex checked for unfinished or
queued Jenkins work, stopped the idle agent and recreated only the controller
and agent. The controller returned HTTP 200, the agent logged Connected, both
running containers reported the fixed Java build and their persistent mounts
matched the checkpoint. Existing private Gitea and Grafana checks passed.
A post-check initially assumed Java was process 1; Jenkins uses the normal
\texttt{tini} wrapper. Codex corrected the check to inspect the Java processes'
actual executables rather than treating the wrapper as a service failure.
Codex updated source Dockerfiles, current image selectors, bootstrap references,
the current host inventory, maintenance runbook and this log. The live controller
build recipe was also patched with its original retained. Jobs, plugins,
permissions, credentials, release records, existing application containers and
other services were preserved. No release pipeline, human approval, commit or
push was performed. Root-only recovery checkpoints remain on the existing paid
Droplet; selected non-secret evidence remains in the ignored local build folder.
Local Zammad and its data remain stopped and unchanged; its future image review
is separate from this completed cloud runtime update. The full manual is rebuilt
with TinyTeX and affected pages are visually reviewed for this record.
On November 25 Vincent requested separate branches after confirming the
Assignment 8 merge. Codex fetched and verified merge \texttt{6064cce},
then prepared a separate worktree from that main on:
\begin{quote}\small
\path{codex/security-java-runtime}
\end{quote}
Only the Java source/runbook changes and their manual records
were placed here; Zammad and demo work remain in separate worktrees.
Original mixed changes were preserved and verified before separation.
No additional runtime operation, commit or push was performed.
\section{Frozen TikZRefinery Demo Baseline}
Date: November 25, 2026; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent reported that the professor evaluates the DevOps workflow and supplied
@@ -1183,3 +1230,75 @@ Shared manual sections were separated by task with a hash-verified local
preservation copy. This branch starts at the verified merged main; historical
rehearsal metadata retains its actual earlier parent. No new commit, push,
issue or provider change was performed. Actual Jenkins verification remains pending.
\section{Home Web Access and Final Demo Rehearsal}
Date: November 25, 2026 Eastern; Tool: OpenAI Codex; Human: Vincent Sun.
After Vincent pushed the security and demo baseline commits, Codex verified
PRs~30 and 31 in Gitea: their required checks passed and each still needed
one official approval. These checks were distinguished from the separately
pending artifact-only baseline Jenkins run. Vincent asked what could proceed
while Billy reviewed, then explicitly authorized web access first and the
demo script afterward. No approval, merge or final source increment was supplied
by Codex on behalf of a human.
The initial checks found that Jenkins was healthy and that the saved and
running web allowlists matched. The current SSH source was absent. Codex
derived that source on the host without requesting or publishing the home address.
It preserved the existing team entry, added only the authorized IPv4 /32 in
the host's existing private environment file, and validated Caddy before
application. A comparison of resolved Compose configuration verified that only
the Caddy allowlist value changed. Root-only original environment and operation
logs remain on the Droplet for rollback. Caddy alone was recreated to receive
the environment; the image, persistent mounts, Caddyfile/Compose source hashes
and every other running container identity were verified unchanged.
From the laptop, Jenkins and Grafana login URLs returned HTTPS 200, while
anonymous protected API requests returned 403 and 401 respectively. Gitea
and both pricing health endpoints returned 200. Requests from an unlisted
Droplet source still received 403 at both login URLs. Chrome displayed the
Jenkins sign-in form and Grafana's existing authenticated home. The selected
record in \path{demo/evidence/web-access-20261125.json} excludes address values,
environment contents and credentials. Hosts records the network-access change;
service accounts, application permissions and password hints were unchanged.
This used the existing paid Droplet, with no new cloud plan, instance or port.
Codex reread the live Canvas final-demo assignment, which allocates 20 minutes
including questions, and the frozen senior-project handoff. Using the writing
skill while honoring the repository destination, it prepared
\path{demo/DEMO_SCRIPT.md}: a proposed 16-minute walkthrough with four minutes
for questions/delays, suggested speaker handovers, configuration explanations,
a Gitea Actions/Jenkins SWOT chart and an evidence checklist. Tool mechanics
were checked against the official Gitea Actions overview and Jenkins Pipeline
handbook; deployment tradeoffs are identified as engineering assessment.
The Windows illustration is distinguished from the Linux output, authored
diagrams from source extraction, and shared-host observations from exclusive
job attribution.
The script keeps the real baseline Jenkins run, final issue/change and artifact
references as readiness dependencies. The existing strict snapshot verifier
must continue preserving original provenance when a later intentional product
increment is prepared. No provider rename, issue/comment publication, new job,
pipeline execution, commit or push was performed in this access/script task.
The original senior checkout and frozen imported files remain unchanged.
The complete group manual is rebuilt with TinyTeX and affected pages are
visually reviewed; only reproducible current-task scratch is removed.
\section{Baseline PR Conflict Resolution}
Date: November 25, 2026 Eastern; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent reported Billy's approvals and his merge of the security PR, then
asked Codex to inspect the baseline PR and prepare the commands to push its
resolution with a fresh login prompt. Chrome showed approval and passing
checks on PR~31, with conflicts in the AI log and Document History. A fetch
verified security PR~30 at merged main \texttt{8e06815}. Both branches had
added independent entries at the same positions; no application or pipeline
code conflicted.
Codex preserved the six uncommitted access/script files before starting a
local merge of that main into the baseline branch. It retained both original
task records, both history entries, the security host inventory and the later
web-access/script work. The complete manual is rebuilt with TinyTeX and
affected pages are visually reviewed. Frozen upstream bytes are checked again;
the real artifact-only Jenkins baseline remains pending the reviewed merge.
The merge is left ready for Vincent to commit and push. Codex does not commit,
push, merge the remote PR, change approvals or run a pipeline in this task.
+3
View File
@@ -12,7 +12,10 @@ link each entry to the changed chapter, table, figure, or controlled artifact.
\multicolumn{4}{l}{\small\itshape Document Update History (continued)}\\
\toprule \textbf{Date / Version} & \textbf{Author Initials} & \textbf{Change} & \textbf{Changed At}\\ \midrule
\endhead \bottomrule \endlastfoot
November 25, 2026 / 6.4 baseline integration & VS, CDX & Resolved the baseline PR conflicts against merged security PR~30, preserving both original AI and history records and the later access/rehearsal work. Verified the frozen snapshot and rebuilt the complete manual. Vincent retains commit/push and remote merge authority; the actual artifact-only Jenkins run remains pending. & \hyperref[Chapter:AIPromptLog]{AI log}\\
November 25, 2026 / 6.4 demo rehearsal & VS, CDX & Restored authorized home web access to Jenkins and Grafana with one /32 addition to the existing allowlist. Validated configuration, recreated only Caddy and verified authentication, denied-source behavior and healthy existing sites. Prepared a timed final-demo script, two-tool SWOT, configuration explanations and rubric checklist; actual baseline Jenkins verification and the subsequent issue-linked source increment remain pending review/merge. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
November 25, 2026 / 7.0 demo preparation & VS, CDX & Imported Vincent's frozen TikZRefinery 0.1.4-alpha checkpoint with byte-level provenance. Verified Windows and isolated cloud builds, eight suites on each platform, portable Windows module loading, both report editions, source-extracted diagrams and a versioned Linux image. Prepared an artifact-only Jenkins pipeline; actual Jenkins checkout/archive verification and the separate issue-linked provider rename remain pending. Existing assignments and live services are retained. & \hyperref[Chapter:AIPromptLog]{AI log}\\
November 23, 2026 / 7.0 maintenance & VS, CDX & At Vincent's request, patched the live Jenkins controller and trusted delivery agent to Temurin 21.0.13.1+2 for CVE-2026-114938. Retained application versions, plugins, persistent mounts and recovery images; verified controller HTTP and agent reconnection. Updated future build recipes, image selectors and current host inventory. Local Zammad remains stopped; Assignment 9 remains incomplete. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
November 15, 2026 / 6.4 & VS, BY, CDX & Verified Billy's PR~\#27 review and Vincent's merge; completed human-approved production rollback (build 8), blocked staging fault (9), and original-configuration recovery with changed=0 (10). Preserved build 7's pre-deployment runner error, measured HTTPS interruptions and monitoring sampling limits. Added original CSVs, hashes, runtime state, timelines, source/access links and final evidence; created issue~\#28 with Vincent's approval during finalization. Updated the Hosts table and architecture to production v1/staging v2; Passwords hints and permissions are unchanged. Prepared the complete manual for submission review. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\
November 15, 2026 / 6.3 & BY, VS, CDX & Recorded PR~\#26's review/merge and successful Jenkins v1/v2 releases 5/6, zero-change reruns, actual vsun1 approvals and identical per-release staging/production digests. Saved the four real selectors for review. Applied the reviewed production probe/panel after healthy v1, verified live targets/Grafana and preserved one HTTP 502 sample during v2 replacement. Updated both-app inventory and architecture; prepared a staging-only fault patch and reviewed-history/revert procedure for the still-pending recovery exercises. Passwords hints and access scopes are unchanged. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\
November 15, 2026 / 6.2 & VS, CDX & Verified PR~\#25's review/merge and ran pricing build 4: scans/publication and initial staging checks passed; the unchanged rerun blocked at the three-second Docker health deadline. Tested ten seconds under identical limits in an isolated temporary container: eight checks passed, then the container was removed. Prepared the health correction and separate v2 source/test change for one review preserving both commits. Updated staging inventory, diagram and actual evidence; Passwords hints are unchanged. No production approval or completed release is claimed. & \ChapterRef{SecureDelivery}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\
+14 -1
View File
@@ -36,6 +36,16 @@ staging-only fault; build 10 restored staging v2 with changed=0. Final productio
is v1 and staging v2. The production probe and Grafana panel were added after
healthy production. No credential or permission changed during these runs.
On November 25, 2026, Vincent authorized adding his current home IPv4 source
as a single /32 to the existing web allowlist for Jenkins and Grafana.
The former team entry and campus rules were preserved. Only Caddy was
recreated to receive the updated environment; its image, certificate/config
volumes and all other running container identities were retained. The address
and rollback environment remain outside Git on the authorized host.
HTTPS login pages were reachable from the laptop; anonymous protected
requests still required authentication, and an unlisted source received 403.
Service accounts, application permissions and credential hints are unchanged.
\section{Hosts}
\small
\begin{tabularx}{\linewidth}{@{}L{3.3cm}Y@{}}
@@ -47,12 +57,15 @@ healthy production. No credential or permission changed during these runs.
\bottomrule \endlastfoot
Role & Gitea work hub (Gitea 1.27.3 behind Caddy 2.11.4 TLS proxy); since
22 Oct 2026 also the Jenkins 2.580.1 LTS controller, which runs the CI builds;
its Java runtime was patched to Temurin 21.0.13.1+2 on 23 Nov 2026;
since 28 Oct 2026 also the monitoring stack (Prometheus 3.15.1, Grafana OSS
13.2.5, Node Exporter 1.12.1, Blackbox Exporter 0.29.1). The Assignment 3 Color Buttons app (29 Sep 2026) is retired: container
stopped with restart policy \texttt{no}; its Caddy route remains\\
Delivery agent & Legacy node \texttt{ssw590-vince-delivery}, label
\texttt{delivery-trusted}, one exclusive executor; image
\texttt{ssw590-delivery-agent:20261114}. RAM / RAM+swap: 512 / 768 MiB,
\texttt{ssw590-delivery-agent:}\allowbreak
\texttt{20261114-java21.0.13.1-2}, with patched Temurin 21.0.13.1+2
(23 Nov 2026). RAM / RAM+swap: 512 / 768 MiB,
0.5 CPU; separate pinned BuildKit: 256 / 384 MiB, 0.5 CPU.
Private WebSocket to Jenkins and SSH through Docker host gateway with pinned
public-IP host-key alias. Docker socket control grants host administration.