notParsec / 문서전체 문서

데이터·검증 자료

evidence/ubuntu-deployment.json

design/evidence/ubuntu-deployment.json

출처: 현재 작업 폴더 · 원문 다운로드

{
  "verifiedAtUtc": "2026-09-20T16:53:26.757137+00:00",
  "checkoutAtStart": "acb927790b3f7ac16124098a7581d1565228eb95",
  "gitAtStart": "main clean; origin/main verified equal via SSH as ahn",
  "executionIdentity": "root (uid=0); sandbox disabled by user",
  "origin": "https://n3m.kr",
  "listen": "127.0.0.1:18080",
  "serverSourceCommit": "bc9333e62d4c4585551a9db98e6e066845c7129e",
  "deployedBinary": "/opt/notparsec/notparsec-control-server",
  "sha256": "d354130e9dbda6f87fb2f39996e05189c90e390bfa2de1080a6c2ce7718d7ff5",
  "bytes": 6570808,
  "services": {
    "notparsec-control": {
      "MainPID": "2006272",
      "ActiveState": "active",
      "SubState": "running"
    },
    "notparsec-backup.timer": {
      "ActiveState": "active",
      "SubState": "waiting"
    },
    "nginx": {
      "MainPID": "1720963",
      "ActiveState": "active",
      "SubState": "running"
    },
    "workspace": {
      "MainPID": "1967752",
      "ActiveState": "active",
      "SubState": "running"
    },
    "ops-monitor": {
      "MainPID": "1543380",
      "ActiveState": "active",
      "SubState": "running"
    },
    "gitlab-runsvdir": {
      "MainPID": "1543556",
      "ActiveState": "active",
      "SubState": "running"
    }
  },
  "publicEndpoints": {
    "/": {
      "status": 200,
      "tlsVerifyResult": 0
    },
    "/gitlab/": {
      "status": 302,
      "tlsVerifyResult": 0
    },
    "/health/live": {
      "status": 200,
      "tlsVerifyResult": 0
    },
    "/health/ready": {
      "status": 200,
      "tlsVerifyResult": 0
    },
    "/v1/devices": {
      "status": 401,
      "tlsVerifyResult": 0
    }
  },
  "publicAuthenticatedValidation": {
    "result": "passed",
    "command": "sudo python3 deploy/ubuntu/verify-public.py",
    "path": "this Ubuntu host -> public Cloudflare edge -> existing origin Nginx -> installed systemd service with isolated state",
    "checks": [
      "Ed25519 enrollment/authentication/challenge replay rejection",
      "session approval, signed single-use ticket and awaiting_password gate",
      "WSS 101, snapshot, reconnect generation/revision",
      "grant revocation closes session; device revocation closes WSS and returns 401",
      "oversized body 413; query token 400",
      "systemd restart invalidates token; identity/revocation/session persists",
      "actual Linux Rust host CLI enrollment, heartbeat and list",
      "no enrollment codes/tokens/query marker in safe access log or service journal"
    ],
    "isolatedStateRemoved": true,
    "runtimeOverrideRemoved": true,
    "productionSigningKeyPreserved": true,
    "physicalWindowsDevices": false,
    "separateExternalNetwork": false
  },
  "productionDatabase": {
    "schema": 3,
    "devices": 0,
    "integrity": "ok",
    "directoryMode": "0700",
    "dbAndKeyMode": "0600",
    "owner": "notparsec:notparsec"
  },
  "backup": {
    "timerEnabled": true,
    "timerActive": true,
    "serviceManuallyTriggered": "passed",
    "calendarFiringObserved": false,
    "bundleHashIntegrityPermissions": "passed",
    "manualBundle": "/var/backups/notparsec/daily-20260920T163945-2001669"
  },
  "rollback": {
    "bundle": "/var/backups/notparsec/pre-update-20260920T164540-2005125",
    "schema": 3,
    "sameRelease": true,
    "result": "passed"
  },
  "previousSchemaBinaryIsolatedTests": {
    "result": "3 passed, 0 skipped",
    "binary": "target/rollback-baseline/debug/notparsec-control-server",
    "productionCrossVersionDowngrade": false
  },
  "failureRecovery": {
    "intentionalSignal": "SIGKILL",
    "result": "new PID and readiness 200 after Restart=on-failure",
    "productionKeyPreserved": true
  },
  "nginx": {
    "configTest": "passed",
    "preexistingFileChange": "n3m.kr HTTPS block: one include only; all other pre-existing nginx files matched baseline",
    "initialBackup": "/var/backups/notparsec/nginx-1789922360206206033",
    "boundedAuthBurst": {
      "requests": 40,
      "concurrency": 12,
      "statuses": {
        "422": 12,
        "429": 28
      },
      "path": "direct origin TLS with n3m.kr SNI"
    },
    "logRotation": "forced notparsec log rotation passed; new file 0640 www-data:adm and records received",
    "journalNamespace": "notparsec; 8MiB observed, configured 64MiB/7 days"
  },
  "existingServices": "nginx/workspace/ops-monitor/gitlab-runsvdir: original MainPID, start timestamp and active state preserved",
  "certificateRenewal": {
    "command": "certbot renew --cert-name n3m.kr --dry-run --non-interactive",
    "result": "passed for n3m.kr and 3 existing SAN domains",
    "productionCertificateReplaced": false,
    "timerEnabled": true
  },
  "cloudflare": {
    "configurationChanged": false,
    "additionalRecordsRequired": false,
    "pythonDefaultUserAgent": "HTTP 403, error 1010",
    "explicitAppUserAgent": "notParsec/0.1.0; public HTTPS/WSS passed",
    "originalRustClientFailureReproduced": false
  },
  "regression": {
    "rustFmt": "passed",
    "workspaceClippyWarningsDenied": "passed",
    "rustWorkspaceTests": 23,
    "hostClientBuild": "passed on Linux",
    "isolatedNginxTlsWss": "passed",
    "deviceCliSmoke": "passed; real presence expiry",
    "windowsArtifactsRebuilt": false,
    "htmlTests": 29,
    "pythonSyntax": "passed",
    "gitDiffCheck": "passed"
  },
  "notVerified": [
    "actual host reboot",
    "next calendar backup firing",
    "DB lock/disk-full/write-failure injection",
    "long-duration proxy timeout/idle reconnection",
    "off-host disaster recovery copy",
    "two physical Windows PCs and separate external network",
    "Windows EXE rebuild after HTTP client identification change",
    "video/audio/remote input/host lease enforcement"
  ]
}