[PR #124] [MERGED] Prelude layer for net.Conn #154

Closed
opened 2026-10-13 21:04:06 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-go/pull/124
Author: @FrogRocky
Created: 3/22/2026
Status: ✅ Merged
Merged: 3/25/2026
Merged by: @ygurov

Base: experimental ← Head: experimental-fixes


📝 Commits (8)

📊 Changes

11 files changed (+1320 additions, -116 deletions)

View changed files

📝 conceal/conn_framed.go (+72 -40)
📝 conceal/conn_masquarade.go (+30 -6)
📝 conceal/conn_prelude.go (+100 -17)
➕ conceal/stream_record.go (+19 -0)
📝 conn/bind_stream.go (+6 -1)
📝 conn/conceal.go (+120 -29)
➕ conn/conceal_pipeline_test.go (+455 -0)
📝 device/device_test.go (+132 -0)
📝 go.mod (+5 -9)
📝 go.sum (+11 -14)
➕ tests/netns_tcp_masquerade.sh (+370 -0)

📄 Description

added prelude layer to net.Conn && test for it


🔄 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/amnezia-vpn/amneziawg-go/pull/124 **Author:** [@FrogRocky](https://github.com/FrogRocky) **Created:** 3/22/2026 **Status:** ✅ Merged **Merged:** 3/25/2026 **Merged by:** [@ygurov](https://github.com/ygurov) **Base:** `experimental` ← **Head:** `experimental-fixes` --- ### 📝 Commits (8) - [`e298020`](https://github.com/amnezia-vpn/amneziawg-go/commit/e29802049dcd3e6a3f77468ab6ae83cc2d59c4d8) test - [`07aa57b`](https://github.com/amnezia-vpn/amneziawg-go/commit/07aa57b0de884d49e22bca956a64b4dbd71d72c2) fix of tests - [`610f03c`](https://github.com/amnezia-vpn/amneziawg-go/commit/610f03c3f9d966ae06fea85ee54050adc900a04b) implemented prelude connection layer for net.Conn - [`7942244`](https://github.com/amnezia-vpn/amneziawg-go/commit/794224425f6335692c85262dd9a9ed6e2c8fdfa3) added stream record layer to conceal - [`653c79f`](https://github.com/amnezia-vpn/amneziawg-go/commit/653c79fb2825109e611c1150bf8c4602ed695714) omit junk on tcp - [`613bd56`](https://github.com/amnezia-vpn/amneziawg-go/commit/613bd568d4533d60f1585bfd5afc7b65e3e3bb15) added end-to-end tests - [`9901f9a`](https://github.com/amnezia-vpn/amneziawg-go/commit/9901f9a3a6f1115ffe5ce9cae8d4ed939f7c1783) fix e2e - [`9c33b53`](https://github.com/amnezia-vpn/amneziawg-go/commit/9c33b5395d030dce95ddd33a1ce5a81194a79f88) fix e2e ### 📊 Changes **11 files changed** (+1320 additions, -116 deletions) <details> <summary>View changed files</summary> 📝 `conceal/conn_framed.go` (+72 -40) 📝 `conceal/conn_masquarade.go` (+30 -6) 📝 `conceal/conn_prelude.go` (+100 -17) ➕ `conceal/stream_record.go` (+19 -0) 📝 `conn/bind_stream.go` (+6 -1) 📝 `conn/conceal.go` (+120 -29) ➕ `conn/conceal_pipeline_test.go` (+455 -0) 📝 `device/device_test.go` (+132 -0) 📝 `go.mod` (+5 -9) 📝 `go.sum` (+11 -14) ➕ `tests/netns_tcp_masquerade.sh` (+370 -0) </details> ### 📄 Description added prelude layer to net.Conn && test for it --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 21:04:06 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-go#154
No description provided.