nx_edgeprobe_diag.nx
buildroot/runtime/nx_edgeprobe_diag.nx
about
nx_edgeprobe_diag.nx -- ONE-SHOT diagnostic. v2: send a MODERN TLS 1.3 ClientHello (supported_versions
+ key_share, SNI=nishifamily.com) to 127.0.0.1:8443 and dump the reply. v1 proved the LEGACY 1.2 hello
gets read_r=0 (clean close) from the edge. If v2 yields a TLS record (byte 20..23) the edge ServerHellos
a modern hello and this is the exact hex to transplant into hp_build_ch. Throwaway; retire after.
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 6 | const K_MAGIC_8443: i64 = 8443 |
| 7 | const K_MAGIC_4096: i64 = 4096 |
| 8 | const K_MAGIC_4095: i64 = 4095 |
functions
| 10 | func ep_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 11 | func ep_n(v: i64) -> i64 |
| 16 | func ep_hexv(c: i64) -> i64 { if c >= 97 { return c - 87 } return c - 48 } called by 1: main |
| 17 | func ep_sockaddr(buf: *u8, port: i64) -> i64 called by 1: main |
| 24 | func main() -> i64 |