[PR #603] [MERGED] add test cases and new feature assgin a random port if remote_port is 0 #4218

Closed
opened 2026-05-05 14:37:52 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/603
Author: @fatedier
Created: 1/17/2018
Status: Merged
Merged: 1/17/2018
Merged by: @fatedier

Base: devHead: test


📝 Commits (7)

  • ff4bdec add test case
  • 3bb404d more test case
  • 584e098 frpc: add status command
  • afde0c5 packages: add package github.com/rodaine/table
  • 9a5f0c2 fix ci
  • 3f6799c add remoteAddr in NewProxyResp message
  • b2c8466 new feature: assign a random port if remote_port is 0 in type tcp and

📊 Changes

45 files changed (+2067 additions, -691 deletions)

View changed files

📝 .travis.yml (+1 -1)
📝 client/admin.go (+2 -1)
📝 client/admin_api.go (+134 -1)
📝 client/control.go (+83 -263)
📝 client/proxy.go (+2 -3)
client/proxy_manager.go (+349 -0)
📝 client/service.go (+2 -2)
📝 client/visitor.go (+4 -4)
📝 cmd/frpc/main.go (+147 -31)
📝 cmd/frps/main.go (+1 -1)
📝 conf/frpc_full.ini (+1 -1)
📝 glide.lock (+4 -2)
📝 glide.yaml (+2 -0)
📝 models/config/client_common.go (+17 -9)
📝 models/config/proxy.go (+10 -8)
📝 models/config/server_common.go (+98 -57)
📝 models/msg/msg.go (+5 -4)
📝 server/control.go (+12 -11)
📝 server/dashboard.go (+1 -1)
📝 server/dashboard_api.go (+2 -2)

...and 25 more files

📄 Description

No description provided


🔄 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/fatedier/frp/pull/603 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 1/17/2018 **Status:** ✅ Merged **Merged:** 1/17/2018 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `test` --- ### 📝 Commits (7) - [`ff4bdec`](https://github.com/fatedier/frp/commit/ff4bdec3f75ac07f59edbbbbf1f5e958efcbf63a) add test case - [`3bb404d`](https://github.com/fatedier/frp/commit/3bb404dfb51a8948dcee9e513744363d2c5c0f63) more test case - [`584e098`](https://github.com/fatedier/frp/commit/584e098e8e90c665dfa32ec1317734ab27fef5a4) frpc: add status command - [`afde0c5`](https://github.com/fatedier/frp/commit/afde0c515cb00454bdfe55ed2095a0f7dea814ab) packages: add package github.com/rodaine/table - [`9a5f0c2`](https://github.com/fatedier/frp/commit/9a5f0c23c4246131aedebfe180487a2f9cbab5c5) fix ci - [`3f6799c`](https://github.com/fatedier/frp/commit/3f6799c06a0fe79e77acb7c7bd7cce25cf5698f0) add remoteAddr in NewProxyResp message - [`b2c8466`](https://github.com/fatedier/frp/commit/b2c846664d0a627aa16f164bf7b5d1e19212b225) new feature: assign a random port if remote_port is 0 in type tcp and ### 📊 Changes **45 files changed** (+2067 additions, -691 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+1 -1) 📝 `client/admin.go` (+2 -1) 📝 `client/admin_api.go` (+134 -1) 📝 `client/control.go` (+83 -263) 📝 `client/proxy.go` (+2 -3) ➕ `client/proxy_manager.go` (+349 -0) 📝 `client/service.go` (+2 -2) 📝 `client/visitor.go` (+4 -4) 📝 `cmd/frpc/main.go` (+147 -31) 📝 `cmd/frps/main.go` (+1 -1) 📝 `conf/frpc_full.ini` (+1 -1) 📝 `glide.lock` (+4 -2) 📝 `glide.yaml` (+2 -0) 📝 `models/config/client_common.go` (+17 -9) 📝 `models/config/proxy.go` (+10 -8) 📝 `models/config/server_common.go` (+98 -57) 📝 `models/msg/msg.go` (+5 -4) 📝 `server/control.go` (+12 -11) 📝 `server/dashboard.go` (+1 -1) 📝 `server/dashboard_api.go` (+2 -2) _...and 25 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:37:52 -06:00
Sign in to join this conversation.
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: github-starred/frp#4218
No description provided.