code wiki / (root) / nx_tls12_probe_test.nx

nx_tls12_probe_test.nx

buildroot/runtime/nx_tls12_probe_test.nx

6707 B139 linesdepth 8pulls 27 transitivereach 0 importersview sourcekind gate/prooftopic tls12
docsdependenciesstructsconstsfunctions

about

nx_tls12_probe_test.nx -- LIVE probe of the sovereign TLS 1.2 ClientHello + ServerHello parse (rung 5 step 1). Connects to a host (default news.ycombinator.com, override via argv[1]), sends our rung-1 1.2 ClientHello, reads the first response record, and reports: CT= outer record ContentType (22=handshake=GOOD, 21=alert) if alert: AL= alert description (40=handshake_failure, 70=protocol_version, ...) if handshake: HT= first handshake type (2=ServerHello) ; CI= negotiated cipher suite ; SR0= server_random[0] Exit 0 iff we got a ServerHello (the live proof HN accepts our 1.2 ClientHello). license_tier: ORIGINAL

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_url.nx nx_https_url_for_fetch.nx nx_https_url_connect.nx nx_tls13_read_record_from_fd.nx nx_tls12_hello.nx nx_tls12_parse.nx nx_tls12_probe_test.nx

imports: nx_syscalls.nxnx_url.nxnx_https_url_for_fetch.nxnx_https_url_connect.nxnx_tls13_read_record_from_fd.nxnx_tls12_hello.nxnx_tls12_parse.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

16func pb_dec(c1: i64, c2: i64, v: i64) -> i64
30func main(argc: i64, argv: *i64) -> i64