Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:10
· 179 commits to main since this release

Fixes from the first field test: a home network with a real router, and a
laptop behind a corporate VPN whose network inspects TLS. Nothing changes
on the wire; 0.2.0 and 0.2.1 machines work together. The known limits of
0.2.0 still apply.

Seen in that test: a2p2 net on --map-port obtained a mapping from a real
home router by PCP, and a connection from outside reached the listener through
it. A network that inspects TLS blocks a2p2 across its boundary, as the
limits in the README now say.

Added

  • A way to give feedback. Problems and ideas go to the project's
    GitHub issues, through two issue forms and a README section. A new
    recipe, recipes/reporting-a-problem.md, tells an agent when to file,
    what a report holds, what never to paste and how to trim a2p2 status
    and a2p2 doctor output. The agent shows its user the exact text and
    files only after a yes. Security problems still go through SECURITY.md.

Fixed

  • The team launcher marked a run ended before its last a2p2 calls.
    The supervisor wrote the roster's ended and then the report, which
    calls a2p2, so anything that stopped the daemon and removed the home
    once it saw ended had them started again by that call and left a daemon
    running. The report is now written first and ended is set last. The
    launcher's test now waits for the supervisor to exit before it stops the
    daemon, and fails if any daemon, process or directory of its run is left.
  • A first invite could not be used from outside the network. With
    a2p2 net on --map-port, the router's external address is advertised
    to members only after one of them reaches it, so the first invite of a
    room carried only the machine's local addresses, and no one outside
    could join. An invite now also carries the live mapped address, first in
    its list, whether or not a member has reached it. What the machine
    advertises to members is unchanged.
  • A re-signed certificate was called "not an a2p2 machine". When a
    network re-signs the other machine's certificate, a2p2 net check now
    reports the connection as intercepted and shows the issuer name the
    certificate claims, which it does not verify. The advice says the
    certificate is not the other machine's own, most likely a TLS-inspecting
    proxy, that a2p2 refuses such a connection because it could not tell
    the other machine from whatever answers, and what to do. A join or a
    pull that meets the same condition says the same, and so does the
    closing advice of bare a2p2 net check. What is accepted and refused
    is unchanged. (Issue 1.)
  • "No route to host" on the local network blamed the address. When a
    VPN or firewall on this machine blocks local-network access, the system
    answers "no route to host" at once for addresses on the network it is
    attached to. a2p2 net check now says a VPN or firewall on this machine
    is probably blocking it, in the HOST:PORT form and in the closing
    advice of the member check, and no longer tells the reader to check the
    address. A neighbour that does not answer keeps the old advice. (Issue 2.)