code wiki / _hdl_build / nx_inet_fetch_deploy.nx

nx_inet_fetch_deploy.nx

buildroot/runtime/_hdl_build/nx_inet_fetch_deploy.nx

2493 B37 linesdepth 11pulls 23 transitivereach 0 importersview sourcekind tooltopic inet
docsdependenciesstructsconstsfunctions

about

nx_inet_fetch_deploy.nx -- deploy the team's sovereign fetch ELF to the NAS (which HAS internet egress) and RUN it there, so the team's OWN client reaches the real internet. This is the team's remote-execution capability: ssh_put the binary -> chmod +x -> run -> stream its output back. The egress host is a real-world dependency the operator provides (the NAS); the FETCH itself is 100% the team's sovereign code. The password is read from /tmp/nxpw (written by the runner, deleted after) -- never stored. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_ssh_lib.nx nx_ssh_put_lib.nx nx_inet_fetch_deploy.nx

imports: nx_syscalls.nxnx_ssh_lib.nxnx_ssh_put_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ssh_puts sys_write ssh_open_session sys_socket sys_mmap ↻ ssh_sockaddr nx_connect_bounded nx_fcntl sys_connect sys_mmap ↻ sys_poll ssh_kex sys_write ↻ sys_mmap ↻ ssh_read_line sys_read ↻ ssh_read_packet sys_mmap ↻ ssh_read_full sys_read ↻ ssh_u32be ssh_put_bytes ssh_put_byte ssh_put_bytes ↻ ssh_put_str ssh_put_u32 ssh_put_bytes ↻ ssh_put_u32 ↻ ssh_send_packet sys_mmap ↻ ssh_put_u32 ↻ ssh_put_bytes ↻

structs

none

consts

none

functions

10func main() -> i64