code wiki / _hdl_build / nx_nist_unwall.nx
nx_nist_unwall.nx
buildroot/runtime/_hdl_build/nx_nist_unwall.nx
about
nx_nist_unwall.nx -- R-RSI-006 (NIST-blog-unwalled). The nist.gov blog was filed WALLED
(exit-2, "h2/ALPN suspect"). Wall-triage (nx_wall_triage + _wt_probe_one, 2026-06-14) REFUTED
that for the blog PATH: https://www.nist.gov/blogs returns HTTP/1.1 200 via OUR sovereign
client; only the apex https://www.nist.gov/ hangs (124, redirect/apex, NOT an ALPN wall).
This organ un-walls it for real: fetch the blog with nx_https_get (the team's sovereign HTTPS
GET) and STORE the body to knowledge/library/nist_blog.txt (a real library source, like the
R-RSI-004 fetches). NEGATIVE CONTROL: a known h2-only host (rumble.com) must STILL FETCH-FAIL
our HTTP/1.1 client -- so a 200 from nist proves reachability, not a trivially-succeeding fetch.
Sovereign (nx_cc->nxasm_x86, no gcc); egress is the operator-provided real-world dependency.
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_str.nxnx_syscalls.nxnx_csprng.nxnx_x509_trust_store.nxnx_pem_loader.nxnx_https_get.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 17 | const NU_MAGIC_2097152: i64 = 2097152 |
| 18 | const NU_MAGIC_262144: i64 = 262144 |
| 20 | const NU_BLOG: *u8 = "https://www.nist.gov/blogs" |
| 21 | const NU_RUMBLE: *u8 = "https://rumble.com/" |
| 22 | const NU_OUT: *u8 = "knowledge/library/nist_blog.txt" |
| 23 | const NU_CA: *u8 = "/etc/ssl/certs/ca-certificates.crt\x00" |
functions
| 25 | func nu_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 } |
| 26 | func nu_putn(v: i64) -> i64 { let bb: *u8 = sys_mmap(28); var m: i64=v; if m<0 {m=0-m}; let t: *u8 = sys_mmap(28); var k: i64=0; if m==0 {t[0]=48;k=1}; while m>0 {t[k]=48+(m%10); m=m/10; k=k+1}; var i: i64=0; while i<k {bb[i]=t[k-1-i]; i=i+1}; sys_write(1, bb, k); return 0 } |
| 29 | func nu_contains(buf: *u8, n: i64, needle: *u8) -> i64 |
| 43 | func nu_fetch(url: *u8, out: *u8, cap: i64) -> i64 |
| 51 | func main() -> i64 |