랭킹으로 돌아가기

🔥居家办公,远程开发神器

protobuftlsgolangshellvnccode-server
스타 성장
스타
4.5k
포크
487
주간 성장
이슈
18
2k4k
2021년 8월2023년 3월2024년 11월2026년 7월
아티팩트Go Modulesgo get github.com/lwch/natpass
README

natpass

natpass Go Report Card license QQ群711086098 downloads

新一代主机管理工具,支持shell管理,支持远程桌面管理实现原理

  1. 如何部署
  2. 规则配置
  3. 开发文档

功能与特性:

  1. 支持私有化部署
  2. 较小的内存占用(约20M左右)
  3. 支持tls安全连接
  4. 支持多路异步IO
  5. 支持虚拟链路层
  6. 支持链路和终端会话监控
  7. protobuf数据编码
  8. 支持web shell
    • linux和mac系统支持创建pty设备和颜色输出
    • windows系统支持powershell
  9. 支持web vnc
    • 支持基本的键盘鼠标操作
    • 支持全屏显示
    • 支持滚动
    • 支持远程剪贴板设置与读取
  10. 支持code-server
  11. 支持多种操作系统
  • linux
  • windows
  • macos

效果图

dashboard页面

dashboard

命令行

platform 386 amd64 arm arm64
windows
macos
linux

shell

远程桌面

platform 386 amd64 arm arm64
windows
macos
linux

vnc

windows剪贴板内容

vnc-clipboard

code-server支持

code-server

性能

在vmware环境下创建4C2G(AMD Ryzen 7 4800U with Radeon Graphics)测试环境,并进行all in one部署server、remote端和local端,使用bench规则进行压测,结果如下:

bench

  1. 压测结果仅包含local端发起连接到remote端收到连接并返回成功的整个过程
  2. 实验结果表明,在4C2G环境下可达到上万+的qps,且p99和p100均在60ms以下

TODO

  1. 支持include的yaml配置文件
  2. 通用的connect、connect_response、disconnect消息
  3. dashboard页面
  4. 文件传输
  5. web远程桌面
  6. 流量监控统计页面,server还是client?
  7. web端管理规则
  8. 支持录屏

编译

  1. 由于html/dashboard等目录下引用第三方库时使用软连接的方式进行处理, 因此在windows环境下进行编译时需要将这些软连接的目录进行手工替换, 第三方库的代码都在上级目录下可找到。

stars

stars

免责声明

本软件仅用于个人研究学习,包括但不限于以下条款:

  1. 严禁用于黑客攻击、远程控制他人计算机等违法违规行为
  2. 软件使用者使用该软件造成的任何损失均与软件作者无关, 一切后果由使用者自己负责
  3. 严禁用于一切商业用途,包括但不限于提供云桌面、云主机等

贡献代码

为了更好的发展,我们鼓励大家为natpass项目做出贡献及提出建议,项目的地址为https://github.com/lwch/natpass,因此在gitee上提交的pr将不被接受,请大家将pr提交到github的同名项目中。

관련 저장소
protocolbuffers/protobuf

Protocol Buffers - Google's data interchange format

C++Otherprotobufprotocol-buffers
protobuf.dev
71.6k16.2k
google/flatbuffers

FlatBuffers: Memory Efficient Serialization Library

C++Apache License 2.0flatbuffersserialization
flatbuffers.dev
26.2k3.6k
go-kratos/kratos

Your ultimate Go microservices framework for the cloud-native era.

GoGo ModulesMIT Licensegolangframework
go-kratos.dev
25.8k4.2k
halfrost/Halfrost-Field

✍🏻 Source Code Deep Dives, System Design & Engineering Blogs | Halfrost-Field 冰霜之地:源码解析、系统设计与工程实践笔记

GoGo ModulesCreative Commons Attribution Share Alike 4.0 Internationaliosobjective-c
halfrost.com
13.2k1.9k
fullstorydev/grpcurl

Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

GoGo ModulesMIT Licensegrpcprotobuf
fullstory.com/resources/content/fullstory-engineering-blog/
12.7k570
bufbuild/buf

The best way of working with Protocol Buffers.

GoGo ModulesApache License 2.0protocol-buffersprotoc
buf.build
11.3k364
protobufjs/protobuf.js

Protocol Buffers for JavaScript and TypeScript. Very fast, fully conformant, and unusually versatile. No protoc required.

JavaScriptnpmOtherjavascripttypescript
10.6k1.8k
golang/protobuf

Go support for Google's protocol buffers

GoGo ModulesBSD 3-Clause "New" or "Revised" Licensegogolang
10.1k1.6k
quasar/Quasar

Remote Administration Tool for Windows

C#MIT Licenseratremote
9.9k2.6k
cloudwego/kitex

Go RPC framework with high-performance and strong-extensibility for building micro-services.

GoGo ModulesApache License 2.0rpcgo
cloudwego.io/docs/kitex/
8k914
twitchtv/twirp

A simple RPC framework with protobuf service definitions

GoGo ModulesApache License 2.0twirpgo
twitchtv.github.io/twirp/docs/intro.html
7.5k324
Kotlin/kotlinx.serialization

Kotlin multiplatform / multi-format serialization

KotlinApache License 2.0kotlinserialization
5.9k677