code wiki / _hdl_build / nx_connect_censor_transport.nx
nx_connect_censor_transport.nx
buildroot/runtime/_hdl_build/nx_connect_censor_transport.nx
about
nx_connect_censor_transport.nx -- CONNECT capability: censorship-resistant transport (CIQ vision frontier
cell; incumbents "just get blocked" -- a fixed protocol signature lets DPI fingerprint + drop them). Nishi
wraps the wire in the SOVEREIGN ChaCha20 stream so there is NO static signature for a DPI box to match,
and the bytes look uniform/random. MEASURED head-to-head against a DPI filter that scans for the known
protocol header: the naive transport is BLOCKED (signature found); Nishi's PASSES (no signature) and has
higher byte-diversity. Exceed by construction. Reuses nx_chacha20.nx. 100% sovereign. license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_chacha20.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
| 10 | const CTR_SIG: *u8 = "NXPROTO1" // the naive protocol's static header = the DPI fingerprint |
functions
| 12 | func tw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func tn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;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 } |
| 15 | func contains(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 23 | func distinct_bytes(buf: *u8, n: i64) -> i64 |
| 32 | func main() -> i64 |