mieru

module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: GPL-3.0

README

mieru / 見える

mieru【見える】是一款安全的、无流量特征、难以主动探测的,基于 TCP 或 UDP 协议的 socks5 网络代理软件。

mieru 代理软件由称为 mieru【見える】的客户端软件和称为 mita【見た】的代理服务器软件这两部分组成。

原理和协议

mieru 的翻墙原理与 shadowsocks / v2ray 等软件类似,在客户端和墙外的代理服务器之间建立一个加密的通道。GFW 不能破解加密传输的信息,无法判定你最终访问的网址,因此只能选择放行。

有关 mieru 协议的讲解,请参阅 mieru 代理协议

特性

  1. 使用高强度的 AES-256-GCM 加密算法,基于用户名、密码和系统时间生成密钥。以现有计算能力,mieru 传输的数据内容无法被破解。
  2. mieru 实现了客户端和代理服务器之间所有传输内容的完整加密,不传输任何明文信息。网络观察者(例如 GFW)仅能获知时间、数据包的发送和接收地址,以及数据包的大小。除此之外,观察者无法得到其它任何流量信息。
  3. 当 mieru 发送数据包时,会在尾部填充随机信息。即便是传输相同的内容,数据包大小也不相同。
  4. 在使用 UDP 传输协议时,mieru 不需要客户端和服务器进行握手,即可直接发送数据。
  5. 当服务器无法解密客户端发送的数据时,不会返回任何内容。如果使用 TCP 传输协议,也不会阻断 TCP 连接。因此 GFW 很难通过主动探测发现 mieru 服务。
  6. mieru 支持多个用户共享代理服务器。
  7. 支持 IPv4 和 IPv6。
  8. 客户端软件支持 Windows,Mac OS 和 Linux 系统。

使用教程

  1. 服务器安装与配置
  2. 客户端安装与配置
  3. 运营维护与故障排查
  4. 翻墙安全指南

编译

编译 mieru 的客户端和服务器软件,建议在 Linux 系统中进行。编译过程可能需要翻墙下载依赖的软件包。

编译所需的软件包括:

  • curl
  • env
  • git
  • go (version >= 1.17)
  • sha256sum
  • tar
  • zip

编译 debian 安装包需要:

  • dpkg-deb
  • fakeroot

编译 RPM 安装包需要:

  • rpmbuild

编译时,进入项目根目录,调用指令 ./build.sh 即可。编译结果会存放在项目根目录下的 release 文件夹。

联系作者

关于本项目,如果你有任何问题,请提交 GitHub Issue 联系我们。

许可证

使用本软件需遵从 GPL 第三版协议。

Directories

Path Synopsis
cmd
mieru
Binary mieru is the client of mieru proxy.
Binary mieru is the client of mieru proxy.
mita
Binary mita is the server of mieru proxy.
Binary mita is the server of mieru proxy.
pkg
cli
kcp
Package kcp is imported from https://github.com/xtaci/kcp-go
Package kcp is imported from https://github.com/xtaci/kcp-go
log
rng
socks5
Package socks5 is imported from https://github.com/armon/go-socks5
Package socks5 is imported from https://github.com/armon/go-socks5
socks5client
Package socks5client is imported from https://github.com/h12w/socks Package socks implements a SOCKS (SOCKS4, SOCKS4A and SOCKS5) proxy client.
Package socks5client is imported from https://github.com/h12w/socks Package socks implements a SOCKS (SOCKS4, SOCKS4A and SOCKS5) proxy client.
udpsession
Package session is imported from https://github.com/xtaci/kcp-go It is a Reliable-UDP library for golang.
Package session is imported from https://github.com/xtaci/kcp-go It is a Reliable-UDP library for golang.
test
cmd/httpserver
httpserver is a simple HTTP server listening on port 8080.
httpserver is a simple HTTP server listening on port 8080.
cmd/sockshttpclient
sockshttpclient is a HTTP client that connects to HTTP server via a socks proxy.
sockshttpclient is a HTTP client that connects to HTTP server via a socks proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL