Laurence
9762db4853
perf: optimize reverse NAT lookup with O(1) map instead of O(n) iteration
...
Replace O(n) linear search through NAT table with O(1) reverse lookup map
for reply packet NAT translation.
Changes:
- Add reverseConnKey type for reverse NAT lookups
- Add reverseNatTable map to ProxyHandler for O(1) lookups
- Populate both forward and reverse maps when creating NAT entries
- Replace iteration-based reverse lookup with direct map access
Performance:
- O(n) → O(1) complexity for reverse NAT lookups
- Eliminates lock-held iteration on every reply packet
- Removes string comparisons from hot path
- Expected 10-50x improvement for reverse NAT lookups
This addresses Critical #1 from performance analysis where reply path
was walking the entire NAT table to find original mapping.
Former-commit-id: 1cf75b00ff
2025-12-16 08:16:37 +00:00
Owen Schwartz
59cae0d9b0
Merge pull request #200 from water-sucks/parallelize-makefile
...
feat(build): parallelize go-build-release and github actions with matrix
Former-commit-id: d5e0771094
2025-12-13 09:51:59 -05:00
Varun Narravula
7ecd70aa1c
feat(ci): use matrix for building all makefile targets in parallel
...
Former-commit-id: 1dcb68d694
2025-12-12 15:51:53 -08:00
Varun Narravula
f3e59a822c
feat(build): double-tag docker release builds with "latest" and tag name
...
Former-commit-id: 865ac4b682
2025-12-12 15:51:20 -08:00
Varun Narravula
9b8aacd1a8
feat(build): parallelize go-build-release using separate arch rules
...
Former-commit-id: de5627b0b7
2025-12-12 15:51:15 -08:00
Owen
ec4619583f
Remove accidental file
...
Former-commit-id: 4bb0537c39
2025-12-11 23:27:13 -05:00
Owen
f78c900d54
Fix test
...
Former-commit-id: 92fb96f9bd
2025-12-11 23:24:14 -05:00
Owen Schwartz
9c5aab638b
Merge pull request #199 from water-sucks/update-nix-hash
...
fix(nix): use correct hash for vendored deps
Former-commit-id: b68b7fe49d
2025-12-11 23:21:57 -05:00
Varun Narravula
e0fdb1bf33
feat(nix): sync version number
...
Former-commit-id: 1da424bb20
2025-12-11 17:53:07 -08:00
Varun Narravula
da9ad06a44
fix(nix): use correct hash for vendored deps
...
Former-commit-id: 22e5104a41
2025-12-11 17:52:52 -08:00
Owen
ba51b4b5ea
Make sure to process version first
...
Former-commit-id: b96adeaa5b
1.7.0
2025-12-11 19:35:08 -05:00
Owen
a001b372c5
Update cicd
...
Former-commit-id: 533e0b9ca7
2025-12-11 16:40:50 -05:00
Owen
9fcfc6b236
Make cicd create draft
...
Former-commit-id: bd86abe8d5
2025-12-11 16:09:24 -05:00
Owen
7610ee6550
Merge branch 'dev'
...
Former-commit-id: d978b27ebc
2025-12-11 16:01:59 -05:00
Owen
21f34d4acc
Fix host header not working in health checks
...
Former-commit-id: cdfcf49d89
2025-12-11 14:20:52 -05:00
Owen
073fa30d66
Update iss
...
Former-commit-id: 2fb4bf09ea
2025-12-11 12:29:49 -05:00
Owen
61e0e6e5e4
Merge branch 'windows' into dev
...
Former-commit-id: dddae547f5
2025-12-11 12:22:03 -05:00
Owen
0b904d0ba8
Adjust debug function
...
Former-commit-id: 73a14f5fa1
2025-12-11 12:21:54 -05:00
Owen
2b66535db2
Add iss file
...
Former-commit-id: 67d5217379
2025-12-11 11:57:06 -05:00
Owen
cb745081aa
Update readme
...
Former-commit-id: 9f1f1328f6
2025-12-10 16:24:22 -05:00
Owen
5070264599
Kind of working
...
Former-commit-id: 30da7eaa8b
2025-12-10 15:32:49 -05:00
Owen
7689682a5a
Rename logs, optional port
...
Former-commit-id: 0fca3457c3
2025-12-10 14:07:53 -05:00
Owen Schwartz
c5b357c0f6
Merge pull request #197 from water-sucks/fix-nix-flake
...
fix(nix): use new version number, update deps hash
Former-commit-id: 1271e8235e
2025-12-09 18:22:57 -05:00
Varun Narravula
8b0831823e
fix(nix): sync release version
...
Former-commit-id: 24c6edf3e0
2025-12-09 15:16:46 -08:00
Varun Narravula
7f89eba525
fix(nix): update go deps hash
...
Former-commit-id: 1875c987fe
2025-12-09 15:16:37 -08:00
Owen
400318bbf1
Working on ipv6 stuff
...
Former-commit-id: 7cb1f7e2c2
2025-12-09 17:10:38 -05:00
Owen Schwartz
3476e8ebe1
Merge pull request #196 from marcschaeferger/release/1.6.1
...
Fix Isssue 194 failed go test before 1.7.0-rc1
Former-commit-id: 3f4f4fa15c
2025-12-09 17:09:47 -05:00
Marc Schäfer
30ee22b774
testdata: add expected telemetry metrics for connection attempts and events
...
Former-commit-id: bf33a3d81f
1.6.1
2025-12-09 22:51:48 +01:00
Owen
545a98928f
Fix formatting?
...
Former-commit-id: 21ffc0ff4b
1.7.0-rc.0
2025-12-08 15:45:29 -05:00
Owen
911d370173
Revert some to secret
...
Former-commit-id: 13de05eec6
2025-12-08 15:40:52 -05:00
Owen
5275cca272
Set username explicitly
...
Former-commit-id: 0e76b77adc
2025-12-08 15:38:56 -05:00
Owen
f64f009469
Remove bad test
...
Former-commit-id: c604f46065
2025-12-08 14:18:40 -05:00
Owen
1145bb7611
Update to secrets
...
Former-commit-id: f02e29f4dd
2025-12-08 14:12:03 -05:00
Owen
2afb855369
Merge branch 'dev'
...
Former-commit-id: 6d79856895
2025-12-08 12:17:29 -05:00
Owen
39bc78c728
Make ipc cross platform
...
Former-commit-id: bbece243dd
2025-12-08 12:17:11 -05:00
Owen Schwartz
824390a664
Merge pull request #192 from fosrl/dev
...
Add robust client connectivity support
Former-commit-id: 6948066ae4
2025-12-08 12:05:03 -05:00
Owen
097ac5068b
Handle server version and prevent backward issues with clients
...
Former-commit-id: 3bcafbf07a
2025-12-08 11:48:14 -05:00
Owen
28cea95eb0
Update readme
...
Former-commit-id: 87e2eb33db
2025-12-07 21:31:28 -05:00
Owen
e366c7d83f
Fix adding new exit nodes to hp not sending interval
...
Former-commit-id: 5ce3f4502d
2025-12-07 12:05:39 -05:00
Owen
e1e812b419
Merge branch 'main' into dev
...
Former-commit-id: e5e733123b
2025-12-06 21:09:48 -05:00
Owen Schwartz
11eb0aebc0
Merge pull request #186 from fosrl/dependabot/docker/minor-updates-60be0b6e22
...
Bump alpine from 3.22 to 3.23 in the minor-updates group
Former-commit-id: f417ee32fb
2025-12-06 12:00:18 -05:00
Owen Schwartz
01e8b29d48
Merge pull request #182 from fosrl/dependabot/github_actions/actions/setup-go-6.1.0
...
Bump actions/setup-go from 6.0.0 to 6.1.0
Former-commit-id: 37c96d0b3e
2025-12-06 12:00:11 -05:00
Owen Schwartz
7dadba1a09
Merge pull request #181 from fosrl/dependabot/github_actions/github/codeql-action-4.31.5
...
Bump github/codeql-action from 4.31.0 to 4.31.5
Former-commit-id: 78dc39e153
2025-12-06 12:00:05 -05:00
Owen Schwartz
c71dfd848f
Merge pull request #175 from fosrl/dependabot/github_actions/docker/setup-qemu-action-3.7.0
...
Bump docker/setup-qemu-action from 3.6.0 to 3.7.0
Former-commit-id: 71485743ad
2025-12-06 11:59:57 -05:00
Owen Schwartz
653a2eaec1
Merge pull request #174 from fosrl/dependabot/github_actions/docker/metadata-action-5.9.0
...
Bump docker/metadata-action from 5.8.0 to 5.9.0
Former-commit-id: 458912e5be
2025-12-06 11:59:51 -05:00
Owen Schwartz
ef5f9929b8
Merge pull request #172 from fosrl/dependabot/github_actions/softprops/action-gh-release-2.4.2
...
Bump softprops/action-gh-release from 2.4.1 to 2.4.2
Former-commit-id: 2bc91d6c68
2025-12-06 11:59:46 -05:00
Owen Schwartz
6ac88ee946
Merge pull request #170 from fosrl/dependabot/go_modules/prod-patch-updates-e67280ac4a
...
Bump github.com/docker/docker from 28.5.1+incompatible to 28.5.2+incompatible in the prod-patch-updates group
Former-commit-id: 95c3efc365
2025-12-06 11:59:40 -05:00
Owen
3f072b3c8f
Localhost working - is this the best way to do it?
...
Former-commit-id: 72a9e111dc
2025-12-05 16:33:43 -05:00
dependabot[bot]
862fb3f7a0
Bump github.com/docker/docker in the prod-patch-updates group
...
Bumps the prod-patch-updates group with 1 update: [github.com/docker/docker](https://github.com/docker/docker ).
Updates `github.com/docker/docker` from 28.5.1+incompatible to 28.5.2+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.5.1...v28.5.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-version: 28.5.2+incompatible
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Former-commit-id: 3c86edf0d5
2025-12-05 09:16:49 +00:00
dependabot[bot]
ccba829a3e
Bump alpine from 3.22 to 3.23 in the minor-updates group
...
Bumps the minor-updates group with 1 update: alpine.
Updates `alpine` from 3.22 to 3.23
---
updated-dependencies:
- dependency-name: alpine
dependency-version: '3.23'
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: minor-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Former-commit-id: 32b1b817ac
2025-12-05 09:16:47 +00:00