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
WIP Clients implementation and ping switching
Better handling of disconnections
🔄 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/72
**Author:** [@oschwartz10612](https://github.com/oschwartz10612)
**Created:** 6/30/2025
**Status:** ✅ Merged
**Merged:** 7/11/2025
**Merged by:** [@oschwartz10612](https://github.com/oschwartz10612)
**Base:** `main` ← **Head:** `dev`
---
### 📝 Commits (10+)
- [`e8bd55b`](https://github.com/fosrl/newt/commit/e8bd55bed9d9cf31b2c1b21322348ee6132c8621) Copy in gerbil wg config
- [`f69a7f6`](https://github.com/fosrl/newt/commit/f69a7f647d8cbfcafc8ee72c4600d9a89c8b4b76) Move wg into more of a class
- [`66edae4`](https://github.com/fosrl/newt/commit/66edae42885341958ca019c9f60cc60c2226d21d) Clean up implementation
- [`fb199cc`](https://github.com/fosrl/newt/commit/fb199cc94be248891effff07cabd42c35415f7df) Tidy
- [`45a1ab9`](https://github.com/fosrl/newt/commit/45a1ab91d7f68acaf223aef4d619d5ebcf26bc1d) Dont always do wg
- [`56e7590`](https://github.com/fosrl/newt/commit/56e75902e3941db8bbeac406fae0065d6ede55aa) Adjust ws types
- [`95eab50`](https://github.com/fosrl/newt/commit/95eab504fac0c87077d75152c03c149c3fc23efd) Get wg working
- [`bff6707`](https://github.com/fosrl/newt/commit/bff6707577a830860a10aa174065b00057d909f7) Basic create wg seems to be working
- [`18d99de`](https://github.com/fosrl/newt/commit/18d99de924309bf91ba5c0684fd64463d11cdeeb) Handle messages correctly
- [`0affef4`](https://github.com/fosrl/newt/commit/0affef401c0a9994d11e83eea7fb2d903ca8c430) Properly handle key
### 📊 Changes
**19 files changed** (+3054 additions, -618 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/cicd.yml` (+1 -1)
📝 `.gitignore` (+3 -1)
📝 `README.md` (+22 -0)
📝 `docker/client.go` (+130 -32)
➕ `get-newt.sh` (+235 -0)
📝 `go.mod` (+16 -7)
📝 `go.sum` (+38 -13)
➕ `linux.go` (+83 -0)
📝 `main.go` (+356 -458)
➕ `network/network.go` (+195 -0)
📝 `proxy/manager.go` (+2 -1)
➕ `stub.go` (+32 -0)
➕ `updates/updates.go` (+173 -0)
➕ `util.go` (+463 -0)
📝 `websocket/client.go` (+160 -101)
📝 `websocket/config.go` (+0 -3)
📝 `websocket/types.go` (+0 -1)
➕ `wg/wg.go` (+981 -0)
➕ `wgtester/wgtester.go` (+164 -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
WIP Clients implementation and ping switching
Better handling of disconnections
Should:
Fix #31
Fix #52
Fix #51
Fix #39
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/72
Author: @oschwartz10612
Created: 6/30/2025
Status: ✅ Merged
Merged: 7/11/2025
Merged by: @oschwartz10612
Base:
main← Head:dev📝 Commits (10+)
e8bd55bCopy in gerbil wg configf69a7f6Move wg into more of a class66edae4Clean up implementationfb199ccTidy45a1ab9Dont always do wg56e7590Adjust ws types95eab50Get wg workingbff6707Basic create wg seems to be working18d99deHandle messages correctly0affef4Properly handle key📊 Changes
19 files changed (+3054 additions, -618 deletions)
View changed files
📝
.github/workflows/cicd.yml(+1 -1)📝
.gitignore(+3 -1)📝
README.md(+22 -0)📝
docker/client.go(+130 -32)➕
get-newt.sh(+235 -0)📝
go.mod(+16 -7)📝
go.sum(+38 -13)➕
linux.go(+83 -0)📝
main.go(+356 -458)➕
network/network.go(+195 -0)📝
proxy/manager.go(+2 -1)➕
stub.go(+32 -0)➕
updates/updates.go(+173 -0)➕
util.go(+463 -0)📝
websocket/client.go(+160 -101)📝
websocket/config.go(+0 -3)📝
websocket/types.go(+0 -1)➕
wg/wg.go(+981 -0)➕
wgtester/wgtester.go(+164 -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
WIP Clients implementation and ping switching
Better handling of disconnections
Should:
Fix #31
Fix #52
Fix #51
Fix #39
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.