651 Commits
Author SHA1 Message Date
Owen Schwartz 256143adea Merge pull request #160 from madjinn/fix/local-fallback-switch
Move the peer to the local winner after a local fallback
2026-10-12 14:10:12 -04:00
madjinn a3dc1977a8 Move the peer to the local winner after a local fallback
When the active local endpoint fails, rapidTestOnLocalFallback races the
public endpoint against the remaining local candidates. If a local
candidate wins, RapidTestLocalEndpoints records it as the active local
endpoint but leaves the WireGuard peer alone. The caller is meant to move
the peer, but only did so when no local endpoint was active, which is
never the case once the winner has been recorded.

The peer therefore stayed on the public endpoint while the monitor
treated the site as local: checkLocalEndpoints kept seeing the winner
answer and checkHolepunchEndpoints skipped the site, so nothing moved the
peer or requested relay. A client that can't reach the site's public
endpoint (e.g. one on the site's LAN behind a router without NAT
hairpinning) lost the site until it was restarted.

Move the peer when the winner is still the active local endpoint.

Introduced in 3d88b32 ("Rapid test again when we fail local").
2026-10-07 01:53:31 +02:00
Owen a0304fae0f Merge branch 'main' into dev 2026-10-01 16:07:00 -04:00
Owen Schwartz 79bd1c9a0d Merge pull request #156 from fosrl/dependabot/go_modules/patch-updates-5a19867194
Bump github.com/miekg/dns from 1.1.70 to 1.1.73 in the patch-updates group across 1 directory
2026-10-01 16:06:46 -04:00
Owen Schwartz 1132b37c1d Merge pull request #148 from fosrl/dependabot/github_actions/aquasecurity/trivy-action-d2a0b60797ff03db6132bd4e2b293f9b37081297
Bump aquasecurity/trivy-action from 97e0b3872f55f89b95b2f65b3dbab56962816478 to d2a0b60797ff03db6132bd4e2b293f9b37081297
2026-10-01 16:06:12 -04:00
Owen Schwartz 71c0e511fb Merge pull request #147 from fosrl/dependabot/github_actions/docker/setup-buildx-action-4.3.0
Bump docker/setup-buildx-action from 3.12.0 to 4.3.0
2026-10-01 16:05:53 -04:00
Owen Schwartz 6066204fa1 Merge pull request #146 from fosrl/dependabot/github_actions/docker/setup-qemu-action-4.2.0
Bump docker/setup-qemu-action from 3.7.0 to 4.2.0
2026-10-01 16:05:43 -04:00
Owen Schwartz faaadcc430 Merge pull request #145 from fosrl/dependabot/github_actions/actions/checkout-7.0.1
Bump actions/checkout from 6.0.1 to 7.0.1
2026-10-01 16:05:34 -04:00
Owen Schwartz 486e17f927 Merge pull request #144 from fosrl/dependabot/github_actions/softprops/action-gh-release-3.0.3
Bump softprops/action-gh-release from 2.4.2 to 3.0.3
2026-10-01 16:05:24 -04:00
Owen 332d47b8aa Update newt 2026-10-01 16:04:33 -04:00
Owen 5f0c611a04 Route watch working 2026-10-01 14:28:09 -04:00
Owen 98fe56ed13 Exclude the websocket routes 2026-10-01 12:27:24 -04:00
Owen 815f3e506c Handle upstream dns ipv6 properly 2026-09-30 09:05:57 -04:00
dependabot[bot] 9dfaf14699 Bump github.com/miekg/dns in the patch-updates group across 1 directory
Bumps the patch-updates group with 1 update in the / directory: [github.com/miekg/dns](https://github.com/miekg/dns).


Updates `github.com/miekg/dns` from 1.1.70 to 1.1.73
- [Commits](https://github.com/miekg/dns/compare/v1.1.70...v1.1.73)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-version: 1.1.73
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-29 20:53:26 +00:00
Owen Schwartz b119feaf7f Merge pull request #157 from fosrl/dev
Update go to 1.26
1.10.0
2026-09-29 15:44:20 -04:00
Owen 510820efec Update go to 1.26 2026-09-29 15:43:58 -04:00
Owen Schwartz 39930f51f7 Merge pull request #155 from fosrl/dev
1.10.0
v1.10.0
2026-09-29 14:53:37 -04:00
Owen fbb4882343 Update to go 1.26 2026-09-29 14:52:45 -04:00
Owen 01a69bde30 Update newt 2026-09-29 14:50:10 -04:00
Owen 88e279d7a6 Make log message more clear 2026-09-29 10:28:34 -04:00
Owen 7dd3eb1347 DisableRoutesAndAliasesOnExitNode should also remove from allowedips 2026-09-28 15:59:37 -04:00
Owen 29d1d91ebb Tie DisableRoutesAndAliases to exit nodes being in or not 2026-09-28 15:08:23 -04:00
Owen 8d58df58e6 Also exclude the dns servers from the tunnel 2026-09-28 12:21:56 -04:00
Owen 9ef3399e8f Add DisableRoutesAndAliases 2026-09-25 15:12:26 -04:00
Owen c4474e6e41 Support updating sites 2026-09-25 11:51:10 -04:00
Owen bc89ff19a1 Fix Windows dual-stack hole punch socket and honor disableHolepunch
Fixes fosrl/olm#134
2026-09-24 14:33:57 -04:00
Owen b53312939f Exclude the holepunch endpoints as well 2026-09-24 11:56:42 -04:00
Owen 8b02cf2f32 Support gateway sites 2026-09-24 11:56:42 -04:00
Owen e04e7e0bcf Support batched relay,unrelay,local,unlocal messages 2026-09-24 11:55:53 -04:00
Owen c543f39986 Move phase out to note 2026-09-15 11:14:05 -04:00
Owen 472e32b16f Add AI disclosure 2026-09-15 11:14:04 -04:00
Owen fadce960fb Basic subnet router and dns server config added 2026-09-15 11:14:04 -04:00
Milo Schwartz 75ca3f873e Merge pull request #149 from fosrl/dev
update readme
2026-09-03 16:48:56 -04:00
miloschwartz eb58aa162e update readme 2026-09-03 16:48:34 -04:00
dependabot[bot] 85da75f8bc Bump aquasecurity/trivy-action
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 97e0b3872f55f89b95b2f65b3dbab56962816478 to d2a0b60797ff03db6132bd4e2b293f9b37081297.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/97e0b3872f55f89b95b2f65b3dbab56962816478...d2a0b60797ff03db6132bd4e2b293f9b37081297)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: d2a0b60797ff03db6132bd4e2b293f9b37081297
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 20:53:12 +00:00
dependabot[bot] ed2b51315f Bump docker/setup-buildx-action from 3.12.0 to 4.3.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.12.0 to 4.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/8d2750c68a42422c14e847fe6c8ac0403b4cbd6f...37fe631027851001ddb9b187196cc803df7f5f0e)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 20:53:09 +00:00
dependabot[bot] 643aa1ee49 Bump docker/setup-qemu-action from 3.7.0 to 4.2.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.7.0 to 4.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/c7c53464625b32c7a7e944ae62b3e17d2b600130...96fe6ef7f33517b61c61be40b68a1882f3264fb8)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 20:53:03 +00:00
dependabot[bot] 8b6dbaf9b3 Bump actions/checkout from 6.0.1 to 7.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...3d3c42e5aac5ba805825da76410c181273ba90b1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 20:52:59 +00:00
dependabot[bot] aff11abfce Bump softprops/action-gh-release from 2.4.2 to 3.0.3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.4.2 to 3.0.3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/5be0e66d93ac7ed76da52eca8bb058f665c3a5fe...efb35369e0ad2afab669f228072c1b0d510eae64)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 20:52:54 +00:00
Owen Schwartz 57319c8fc1 Merge pull request #142 from fosrl/dev
1.9.1
1.9.1
2026-09-01 13:54:24 -04:00
Owen 06102ad706 Add connection management methods and tests for websocket client
Fixes #139
v1.9.1
2026-09-01 12:12:26 -04:00
Owen 7a3d1196b4 Add immediate ping methods for websocket connection liveness checks 2026-09-01 11:20:18 -04:00
Owen c7b71ca9d7 Separate out the dns handler for darwin so they don't fight 2026-09-01 10:40:51 -04:00
Owen Schwartz 2b25313b05 Merge pull request #140 from totalolage/fix/normalize-server-route-cidr
fix: normalize bare server IP before route setup
2026-08-24 12:07:04 -04:00
Filip Kalný 6dbacdd316 fix: normalize bare server IPs before route setup 2026-08-20 20:27:17 +02:00
Owen Schwartz 8c1db4bada Merge pull request #138 from fosrl/dev
1.9.0
1.9.0 v1.9.0
2026-08-19 16:51:34 -04:00
Owen 31f4a3a121 Update newt 2026-08-19 16:47:18 -04:00
Owen 6ed41854c9 Merge branch 'aig' into dev 2026-08-19 16:46:31 -04:00
Owen b9f892255d Just always include the nat fix on all platforms 2026-08-13 15:56:54 -04:00
Owen e7b7243345 Improve nat performance 2026-08-13 12:18:51 -04:00