LAN opt-in, mDNS, security hardening, path routing #12
Reference in New Issue
Block a user
Delete Branch "feat/community-feedback-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
_numa._tcp.localon 224.0.0.251:5353), reusing existing DNS parser. Instance ID in TXT for multi-instance self-filtering127.0.0.1by default; auto0.0.0.0when LAN is enabled. Configurable viaapi_bind_addrand proxybind_addrstrip = true). Segment-boundary matching prevents/apifrom matching/apiary. REST API:GET/POST/DELETE /services/{name}/routesCloses #11
Test plan
sudo numastarts with LAN disabled (no multicast traffic)[lan] enabled = true→ mDNS announcements visible viadns-sd -B _numa._tcp127.0.0.1by default; LAN hosts cannot reach dashboardapi_bind_addr = "0.0.0.0"→ dashboard accessible from LANcurl -X POST localhost:5380/services/app/routes -d '{"path":"/api","port":5001}'→ route created (covered by unit tests)app.numa/api/users→ proxied to:5001/api/users(covered by unit tests — resolve_route)app.numa/apiary→ NOT matched by/apiroute (segment boundary) (covered by unit tests)strip: truestrips prefix correctly (covered by unit tests)make allpasses (fmt, clippy, audit, build) (CI green)🤖 Generated with Claude Code