Skip to content

Releases: peterldowns/localias

[wip] testing

21 Oct 20:33
5692b42
Compare
Choose a tag to compare
[wip] testing Pre-release
Pre-release
wip-release-testing

update nix hashes

v2.2.0+commit.d73df9b

23 Sep 20:35
d73df9b
Compare
Choose a tag to compare
version: v2.2.0, use v prefix for golang

2.1.0+commit.fcaac03

19 Sep 19:59
fcaac03
Compare
Choose a tag to compare
fix: smarter host IP determination for mDNS (#38)

Serving `.local` aliases over mDNS requires broadcasting the IP address
of the host machine, so that other devices on the network can connect to
it. Previous to this PR, localias would do lookups by trying to lookup
`{hostname}.local`. As reported in
https://github.com/peterldowns/localias/issues/34, and previously in
https://github.com/peterldowns/localias/issues/20 and
https://github.com/peterldowns/localias/issues/21, this had a variety of
issues and did not work consistently.

This PR attemtps to fix this problem once and for all by finding the
host's IP by iterating through the network interfaces and looking for
non-loopback IPV4 addresses. I tested that this fixes the problem
reported in #34 by manually setting my hostname to
`something.fritz.box`, seeing that `localias` would fail to determine
the IP address, then running this code and seeing that it worked
correctly.

In addition to the IPV4 addresses that are found, this code also
broadcasts `127.0.0.1` and `::1` so that DNS requests on macOS respond
instantly. For some reason, if an IPV6 address is not included in the
mDNS response, running `curl myhost.local` will always have a 5-6 second
delay on macOS. I can't explain it but I have a workaround.

2.1.0+commit.e0e2587

18 Sep 17:28
e0e2587
Compare
Choose a tag to compare
docs: mDNS does not work inside WSL2

2.1.0+commit.46b0a47

12 May 18:06
46b0a47
Compare
Choose a tag to compare
fix: install root certs correctly by changing how daemonization works…

2.1.0+commit.2eef727

12 May 19:55
2eef727
Compare
Choose a tag to compare
bump version in README

2.0.3+commit.fe5d709

04 Apr 18:25
fe5d709
Compare
Choose a tag to compare
ci: remove brew bottling scripts

I'm going to follow the goreleaser pattern of skipping bottles/casks
and just doing binary installs. This means I don't need to repackage
each binary into a separate artifact.

See
https://github.com/peterldowns/homebrew-tap/commit/e4756b9da030933f5e98812ddc2dcb04c1cf0f38
for an example of what the brew Formula looks like --- it just consumes
the built binaries. Simple.

2.0.3+commit.c3c6d97

03 Apr 20:15
c3c6d97
Compare
Choose a tag to compare
fix(certs): automatically refresh tls certificates with on_demand_tls…

2.0.2+commit.56d660e

20 Mar 21:25
56d660e
Compare
Choose a tag to compare
fix(mDNS): fix mDNS serving from computers with hostnames ending in .…

2.0.1+commit.e3fade1

11 Jan 16:17
e3fade1
Compare
Choose a tag to compare
fix(docs) remove references to outdated daemon subcommand