Harden discovery rendezvous service
This commit is contained in:
parent
804e19c51a
commit
ef30369865
8 changed files with 57 additions and 7 deletions
|
|
@ -27,6 +27,9 @@ The default listener is `127.0.0.1:7770`.
|
|||
curl http://127.0.0.1:7770/health
|
||||
```
|
||||
|
||||
Set `NETFISHING_DISCOVERY_BUILD_REVISION` to the deployed Git commit. The health response reports
|
||||
both the package version and that build revision, which makes production/source drift visible.
|
||||
|
||||
Run the focused tests with:
|
||||
|
||||
```bash
|
||||
|
|
@ -66,6 +69,9 @@ The game first requests UPnP forwarding, then uses same-socket UDP rendezvous an
|
|||
This covers common home NAT configurations without changing ENet gameplay authority. Symmetric
|
||||
NAT and some carrier-grade networks can still require a future ENet-compatible relay fallback.
|
||||
Expose the configured traversal port over UDP in both the host firewall and provider firewall.
|
||||
The rendezvous listener intentionally processes its small, bounded packets serially so arbitrary
|
||||
datagrams cannot create unbounded worker threads. Apply conservative edge rate limits as an
|
||||
additional deployment control.
|
||||
|
||||
## API
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue