[PR #250] [MERGED] 1.10.2 #2218

Closed
opened 2026-05-03 05:56:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/newt/pull/250
Author: @oschwartz10612
Created: 3/4/2026
Status: Merged
Merged: 3/4/2026
Merged by: @oschwartz10612

Base: mainHead: dev


📝 Commits (9)

  • 1cf75b0 perf: optimize reverse NAT lookup with O(1) map instead of O(n) iteration
  • 5977667 Merge branch 'fosrl:main' into optimize-reverse-nat-lookup
  • c42a606 perf: optimize subnet rule matching with BART
  • 9738565 fix: address code review issues for BART subnet lookup
  • ec399e9 Merge pull request #204 from LaurenceJJones/optimize-subnet-lookup-bart
  • 3f84354 Merge branch 'optimize-reverse-nat-lookup' of github.com:LaurenceJJones/newt into LaurenceJJones-optimize-reverse-nat-lookup
  • 6c6ba45 Merge branch 'LaurenceJJones-optimize-reverse-nat-lookup' into dev
  • 7920295 Fix --port
  • e474866 Fix icmp when ports disabled

📊 Changes

6 files changed (+267 additions, -135 deletions)

View changed files

📝 clients/clients.go (+5 -3)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 main.go (+11 -9)
📝 netstack2/proxy.go (+42 -123)
netstack2/subnet_lookup.go (+206 -0)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

  • Fix --port flag not working
  • Fix icmp not working if UDP and TCP turned off
  • Improve performance of NAT and proxy lookups
  • Update packages

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/newt/pull/250 **Author:** [@oschwartz10612](https://github.com/oschwartz10612) **Created:** 3/4/2026 **Status:** ✅ Merged **Merged:** 3/4/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (9) - [`1cf75b0`](https://github.com/fosrl/newt/commit/1cf75b00ff8022832dc4d4c9f2915fa87a5d5e6c) perf: optimize reverse NAT lookup with O(1) map instead of O(n) iteration - [`5977667`](https://github.com/fosrl/newt/commit/5977667291917aaf623a301da11601345b2d32dd) Merge branch 'fosrl:main' into optimize-reverse-nat-lookup - [`c42a606`](https://github.com/fosrl/newt/commit/c42a606bbd22facb8235bf05919edbfa2e784a3f) perf: optimize subnet rule matching with BART - [`9738565`](https://github.com/fosrl/newt/commit/9738565a3a218ff2a70b90cf068955caed949ea4) fix: address code review issues for BART subnet lookup - [`ec399e9`](https://github.com/fosrl/newt/commit/ec399e9d4daed2bde293139b5bd4974649ed7d8a) Merge pull request #204 from LaurenceJJones/optimize-subnet-lookup-bart - [`3f84354`](https://github.com/fosrl/newt/commit/3f84354e7f889e34b5cfca3d8680e1ec7c302cdb) Merge branch 'optimize-reverse-nat-lookup' of github.com:LaurenceJJones/newt into LaurenceJJones-optimize-reverse-nat-lookup - [`6c6ba45`](https://github.com/fosrl/newt/commit/6c6ba45024550c70eda1c1f0f5500dc54b43217d) Merge branch 'LaurenceJJones-optimize-reverse-nat-lookup' into dev - [`7920295`](https://github.com/fosrl/newt/commit/7920295b8c9a955faaecc5dddd7c6f2f485398c1) Fix --port - [`e474866`](https://github.com/fosrl/newt/commit/e474866f841dbcd5f7fe56487dcecc8230a5c61f) Fix icmp when ports disabled ### 📊 Changes **6 files changed** (+267 additions, -135 deletions) <details> <summary>View changed files</summary> 📝 `clients/clients.go` (+5 -3) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `main.go` (+11 -9) 📝 `netstack2/proxy.go` (+42 -123) ➕ `netstack2/subnet_lookup.go` (+206 -0) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description - Fix --port flag not working - Fix icmp not working if UDP and TCP turned off - Improve performance of NAT and proxy lookups - Update packages --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-03 05:56:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#2218