Skip to content

Releases

MapViewer3D Addon 0.4.2

Choose a tag to compare

@github-actions github-actions released this 21 Oct 16:58

MapViewer3D addon 0.4.2 – fixes from a code review of 0.4.1

Before this release the whole change set (addon and share gateway) went through a /code-review high pass; 10 findings, all fixed, each with a test.

Security

  • Only administrators manage share links. The gateway used to accept any console key with maps: Read (a bot, a monitor): such a key could publish links, delete everybody's links or take over the gateway's key. A key must now also hold Addons: Read (read-only; it marks an administrator). The addon tells you when a key lacks it.
  • A remembered gateway address is confirmed before the key is sent to it. The address lives in addon storage that every user of the addon can change; it is shown to you and has to be confirmed. Addresses derived from the console's own address need no question.
  • The package check cannot be bypassed by a URL on the same line. A real comment scanner replaces the sed stripping ('https://x'; localStorage.setItem(...) used to pass).

Fixes

  • The Realtime Data health check sees a stopped agent (HTTP 503) again; 0.4.1 served the last good answer instead.
  • A key the console refused is reported as such (also after the layers were closed), not as "agent not reachable".
  • Behind a reverse proxy on the same host every visitor no longer shares one rate limit and one ban (the address the proxy appends in X-Forwarded-For is used).
  • The gateway no longer probes its own key (4 requests) on every admin call.
  • A double click on Create link creates one link.
  • Visitors get a sanitised Realtime snapshot for the polling fallback instead of a 404.
  • Dead code removed.

Notes

  • Permissions unchanged (files:addon-data). Gateway changes are in branch ddp.
  • Your API key for the addon now needs one more read-only scope for share links: Addons: Read (Settings → API Keys).

Package: mapviewer3d-0.4.2.zip, SHA-256 81e2a42b07ea64675d8c6045faadabc9c3b2524f15d11480317309b61f644c9d

MapViewer3D Addon 0.4.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 16:07

MapViewer3D addon 0.4.1 – fixes from the review of 0.4.0

Thanks to yacketrj for the careful review of 0.4.0 in the catalog pull request. Everything he reported is fixed, each with a test.

Security

  • The key label in the connection panel is a hash. It used to be a segment of the key (split at _), which for a key with few underscores could be most of the secret. It is now an 8-digit hash of the whole key and never a piece of it.
  • The administrator's key goes only to a share gateway. The addon used to send the key to each guessed gateway address (https://<console>:8798 …) in the very first probe. It now first asks the address who it is without any credential (GET /mvshare, no Authorization, no cookies, no redirects); only an address that answers as the share gateway gets the key.
  • Full 256-bit digests for terrain tiles and building models. The data release data-v1 listed only the first 64 bits of each digest and the addon compared by prefix. data-v2 (same tiles, new index files) lists full digests, compared in full; data-v1 is still accepted by prefix. The addon is pinned to data-v2.
  • Package checks are stricter: the set of scripts is fixed (a new file must be reviewed), browser storage APIs are allowed only in the files that mean to use them and only the intended ones, and dynamic code or computed access to globals is refused anywhere. tests/verify-package.mjs proves each rule catches its violation.

Fixes

  • tools/pin-data.mjs really pins the catalog checksum now (it silently skipped let) and fails when a declaration is missing.
  • Realtime Data: a replaced connection can no longer mark the new one as disconnected or cancel its watchdog.
  • A transient console error (5xx, timeout, 429) keeps the last good data and is retried within seconds, instead of emptying the layer.
  • Error messages in the live status are translated; "key refused by the console" is told apart from "position agent not running".
  • A base that failed to load is retried with growing pauses instead of never.
  • Clicking in open space no longer selects an object behind the camera.
  • Removed dead code (player interpolation that could never run).

Notes

  • Permissions unchanged (files:addon-data). Share links and everything else as in 0.4.0.
  • Gateway (branch ddp): GET /mvshare is answered cross-origin for this identification.

Package: mapviewer3d-0.4.1.zip, SHA-256 68acdaba23b37b97255e9dc7a112c1673759dda1c3867eaa900af888a511c2dc

MapViewer3D Addon 0.4.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 21:30

MapViewer3D addon 0.4.0 – share links for your players, layer list like the Console's Layers

New

  • Share links. Press Share link … in the addon, choose how long the link is valid (1 hour to any own duration) or create a link without expiry with one click, and choose what it shows (Realtime Data, bases as 3D buildings, player positions and names; players are off by default). Players open the map in a browser without a console account. Links are random 256-bit tokens (only their hash is stored on the server), can be revoked at any time (open sessions end within seconds; a revoked link is deleted) and never carry an API key. They are served by the small share gateway mvshare of the MapViewer3D stack (branch ddp) – see SHARE.md there. Nothing to set up in the dialog: the addon finds the gateway and the gateway checks your API key against the console.
  • Realtime Data status. The connection panel states whether your API key gets Realtime Data and, if not, why (key lacks the scope, console without Realtime Data, position agent not running).
  • Layer list structured like the Console's Layers: players/vehicles/bases/storage, Spice & resources, World, Realtime Data and Display, with group switches, a count per layer (empty layers are greyed with an explanation) and the Console's default layers.

Notes

  • Permissions unchanged (files:addon-data). The addon talks to the console as before; the only new connection is to the share gateway address of the administrator, and only when the share dialog is used. The API key is never stored (also not by the share dialog).
  • Without a gateway the addon works exactly as 0.3.x; the share dialog then asks for the gateway's address.
  • Realtime Data is built into Dune Docker since v1.4.50.

Package: mapviewer3d-0.4.0.zip, SHA-256 d41accb26cef8541dbb6fc2ddca60525b3784d3b628c6647a254b824dda947b7

Beta.17

Beta.17 Pre-release
Pre-release

Choose a tag to compare

@dev-prophet-code dev-prophet-code released this 16 Oct 09:19

Beta.17 – Live Search, Terrain Toggles, Coordinate Deep-Links, Performance & Security Hardening

New (EN) / Neu (DE)

  • Live full-text search (#searchInput) / Volltextsuche in Echtzeit: Search online players, bases (name & owner), vehicles (type & owner) and locations/POIs as you type and fly straight to any result.
  • Terrain display toggles / Gelände-Schalter: Toggle the 1 km grid, contour lines (25 m / 100 m) and wireframe independently in the control panel.
  • Direct coordinate links / Direktlinks auf Kartenpositionen: URL hash #<map>@<partition>/<x>,<y> selects the map/instance and flies to the target coordinates; new Copy link button in the object popup.
  • Keyboard & modal controls / Erweiterte Tastatursteuerung: Camera flight now also supports arrow keys and PageUp/PageDown; all modals close with Escape or backdrop click.

Improved & Fixed / Verbessert & Behoben

  • Heightfield raymarching: Replaces Three.js triangle mesh raycasting on hover/click with fast analytic heightfield raymarching + binary search refinement.
  • Faster terrain shader: Skips expensive multi-octave triFbm rock noise on pure sand surfaces (rocky <= 0.005).
  • True LRU tile cache (512 tiles) & sorted /sample queries: Prevents cache thrashing on large unsorted elevation batches and checks request cancellation.
  • Atomic mapimage.png cache writes, live-proxy cache pruning, and cleared elevation caches on map switch.

Security / Sicherheit

  • Brute-force rate limiting on HTTP Basic Auth (-password: 1 min lockout per IP after 10 failed attempts).
  • Continuous SSRF / DNS-rebinding protection (blockSpecialTargets) and disabled redirects on all Console HTTP clients.
  • Resilient machine binding across DHCP hostname suffixes (e.g. .local, .lan).
  • HTTP server timeouts (ReadHeaderTimeout: 10s, IdleTimeout: 120s) and cached Content-Security-Policy header.

Details: CHANGELOG - EN.md · CHANGELOG - DE.md

MapViewer3D Addon 0.3.1

Choose a tag to compare

@github-actions github-actions released this 15 Oct 19:09

Addon package and SHA-256 checksum.

0.3.1 fixes the automatic reconnection of the Realtime Data stream: after a watchdog timeout (65 s without stream data) the layer stayed disconnected until the page was reloaded. A timeout now reconnects while a layer is attached; closing the last layer and a refused or revoked API key still end the stream for good. Found by the review of the catalog pull request (thank you). New regression tests in tests/realtime.mjs.

SHA-256 of mapviewer3d-0.3.1.zip: 0d169eca6080d544acd62f9a895738f7ec0f4f7e6a497bfd38a01925dffde716

v0.3.0 stays as it is (its checksum is pinned).

Beta.16

Beta.16 Pre-release
Pre-release

Choose a tag to compare

@dev-prophet-code dev-prophet-code released this 07 Oct 16:16

Beta.16 – Realtime Data through the Dune Docker Console, encrypted

  • Sandworms, enemies, civilians, vehicles and storms reach a viewer on your own PC through the Dune Docker Console with the API key you already use (new API key row Realtime Data; players additionally need Players → Read). Used only over HTTPS or locally; if the server does not offer it, the switches stay hidden.
  • Finds the server's optional encrypted front door (mvtls, port 8797) and offers it with its fingerprint to compare; pinned certificates for self-signed consoles (-api-pin).
  • Switch server button with an encrypted server list.
  • Fix: https://server without a port now means 443.

Server side: the API key scope Realtime Data and Encrypted API Access are part of Dune Docker v1.4.50 (merged pull requests #242 and #243); the position agent runs next to it (branch ddp, which also keeps the patches for older Dune Docker versions). Without them the viewer behaves like Beta.15. Details: CHANGELOG.

MapViewer3D Addon 0.3.0

Choose a tag to compare

@dev-prophet-code dev-prophet-code released this 07 Oct 16:17

Addon package and SHA-256 checksum.

New: Realtime Data (live sandworms, enemies, civilians, vehicles, storms) when the console offers it; switches stay hidden otherwise.

MapViewer3D Addon 0.2.1

Choose a tag to compare

@github-actions github-actions released this 01 Oct 17:03

Addon package and SHA-256 checksum.

MapViewer3D Addon 0.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 03:15

Addon package and SHA-256 checksum.

Beta.9

Beta.9 Pre-release
Pre-release

Choose a tag to compare

@dev-prophet-code dev-prophet-code released this 01 Oct 04:31

Beta.9 – live sandworms, enemies, civilians and vehicles

New optional position agent (bin/mvagent-linux-amd64 / -arm64, Linux, root on the game host, read-only) reads NPC, sandworm and vehicle positions from the game server processes (~10 Hz); the viewer shows them live (-agent http://127.0.0.1:8796). Verified with game build 2134304; re-detects its memory offsets after game updates. Players are never forwarded; public mode shows PvE partitions only.

Docs: docs/Agent-EN.md · docs/Agent-DE.md · changelogs in the ZIP and repository.

SHA-256 of MapViewer3D-Beta.9.zip: 66b2d2fe75a936b0d7d59a89e3151ea13fd018405efe3a872f8114a6e7d64d78