Skip to content

Release 0.2.1: pack.bind, so the pack server can stay on this machine - #6

Merged
mgilardi merged 1 commit into
mainfrom
pack-bind
Nov 11, 2026
Merged

mgilardi merged 1 commit into
mainfrom
pack-bind

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

Adds pack.bind: the address the built-in pack server listens on. Empty (the default) keeps today's behavior; 127.0.0.1 keeps it on the server's machine. A typo stops the pack server instead of widening it.

Tested: 4 unit tests, and the live suite with pack.bind: 127.0.0.1 everywhere, 335/335 on Paper 26.1.2, including a check that the port is refused on the machine's network address.

🤖 Generated with Claude Code

The built-in pack server listened on every address, including a Mac's
public IPv6 with its firewall off. The owner chose Mac-only for the map
ports on 2026-11-10. pack.bind sets the address: empty (the default)
listens everywhere as before, 127.0.0.1 keeps it local. Anything that
isn't an IP address stops the pack server rather than widening.

Players coming in through playit never reached 8164 anyway (the tunnel
doesn't carry it), so binding it to loopback breaks nothing that works.

Tested: 4 unit tests; the live suite now runs every group with
pack.bind 127.0.0.1 and checks the port is refused on the machine's
network address: 335/335 on Paper 26.1.2. Not run on 26.2 or 26.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit bd76743 into main Nov 11, 2026
2 checks passed
@mgilardi
mgilardi deleted the pack-bind branch November 11, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant