Commit 44d98a1
installer: scope DirectAdmin adapter to control-plane only (Path A)
Clarifies PR26.3 scope after auditor disposition:
- Top-level doc-comment: "control-plane only"; full DirectAdmin
service-port surface (16+ public-facing ports) is NOT validated
here — that lands in PR26.4 via
internal/ports/panel_loader.LoadPanelConfig("directadmin") and
/etc/nftban/conf.d/panels/directadmin/main.conf.
- PR26.4 follow-up note inline at the top of directadmin.go.
- ValidateReachability error message: explicitly says
"control-plane port N not in LISTEN state — control-plane
unreachable" so the user-facing AssertionResult.Detail (and
log lines) cannot be misread as a full panel-survival claim.
- New test: ErrorMentionsControlPlane (positive: "control-plane"
is in the message; negative: no affirmative full-surface claim).
- New test: Reason_DoesNotImplyFullPortSurvival at the framework
integration layer.
- Tightened existing TestFrameworkIntegration_DA_Detected_NotReachable_Blocks
to assert the surfaced Reason mentions "control-plane".
No internal/ports import in this PR (deliberately deferred to
PR26.4). No new mutation surface; adapter remains read-only. No
cPanel/Plesk/classifier/restore code added.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0b575a8 commit 44d98a1
2 files changed
Lines changed: 111 additions & 5 deletions
Lines changed: 35 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
23 | 46 | | |
24 | 47 | | |
25 | 48 | | |
26 | | - | |
| 49 | + | |
27 | 50 | | |
28 | 51 | | |
29 | 52 | | |
| |||
148 | 171 | | |
149 | 172 | | |
150 | 173 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
154 | 181 | | |
155 | 182 | | |
156 | 183 | | |
157 | 184 | | |
158 | 185 | | |
159 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
160 | 190 | | |
161 | 191 | | |
162 | 192 | | |
| |||
Lines changed: 76 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
248 | 284 | | |
249 | 285 | | |
250 | 286 | | |
| |||
332 | 368 | | |
333 | 369 | | |
334 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
335 | 411 | | |
336 | 412 | | |
337 | 413 | | |
| |||
0 commit comments