Skip to content

Commit

Permalink
v3.12.0 release
Browse files Browse the repository at this point in the history
1. Support more special characters in username and password when exporting client configuration.
2. Aggregate users in "mita get metrics" command output.
3. Expose session info and memory statistics as gRPC API.
4. Update dependency versions.
  • Loading branch information
enfein committed Feb 24, 2025
1 parent 2991cf1 commit c3f96c5
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PROJECT_NAME=$(shell basename "${ROOT}")
# - pkg/version/current.go
#
# Use `tools/bump_version.sh` script to change all those files at one shot.
VERSION="3.11.2"
VERSION="3.12.0"

# Build binaries and installation packages.
.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion build/package/mieru/amd64/debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: mieru
Version: 3.11.2
Version: 3.12.0
Section: net
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion build/package/mieru/amd64/rpm/mieru.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: mieru
Version: 3.11.2
Version: 3.12.0
Release: 1%{?dist}
Summary: Mieru proxy client
License: GPLv3+
Expand Down
2 changes: 1 addition & 1 deletion build/package/mieru/arm64/debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: mieru
Version: 3.11.2
Version: 3.12.0
Section: net
Priority: optional
Architecture: arm64
Expand Down
2 changes: 1 addition & 1 deletion build/package/mieru/arm64/rpm/mieru.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: mieru
Version: 3.11.2
Version: 3.12.0
Release: 1%{?dist}
Summary: Mieru proxy client
License: GPLv3+
Expand Down
2 changes: 1 addition & 1 deletion build/package/mita/amd64/debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: mita
Version: 3.11.2
Version: 3.12.0
Section: net
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion build/package/mita/amd64/rpm/mita.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: mita
Version: 3.11.2
Version: 3.12.0
Release: 1%{?dist}
Summary: Mieru proxy server
License: GPLv3+
Expand Down
2 changes: 1 addition & 1 deletion build/package/mita/arm64/debian/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: mita
Version: 3.11.2
Version: 3.12.0
Section: net
Priority: optional
Architecture: arm64
Expand Down
2 changes: 1 addition & 1 deletion build/package/mita/arm64/rpm/mita.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: mita
Version: 3.11.2
Version: 3.12.0
Release: 1%{?dist}
Summary: Mieru proxy server
License: GPLv3+
Expand Down
6 changes: 3 additions & 3 deletions docs/operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
You can run `mieru get connections` command on the client to view the current connections between client and server. An example of the command output is as follows.

```
Session ID Protocol Local Remote State Recv Q+Buf Send Q+Buf Last Recv Last Send
2187011369 UDP [::]:59998 1.2.3.4:5678 ESTABLISHED 0+0 0+1 1s 1s
1466481848 UDP [::]:59999 1.2.3.4:5678 ESTABLISHED 0+0 0+1 3s 3s
SessionID Protocol Local Remote State RecvQ+Buf SendQ+Buf LastRecv LastSend
3078661580 UDP [::]:34453 12.34.123.45:5852 ESTABLISHED 0+0 0+0 0s (31) 0s (28)
3408448183 UDP [::]:34453 12.34.123.45:5852 ESTABLISHED 0+0 0+0 3s (22) 3s (21)
```

Similarly, you can run `mita get connections` command on the server to view the current connections between the server and all clients.
Expand Down
6 changes: 3 additions & 3 deletions docs/operation.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
可以在客户端运行 `mieru get connections` 指令查看当前客户端与服务器之间的连接。该指令输出的一个示例如下。

```
Session ID Protocol Local Remote State Recv Q+Buf Send Q+Buf Last Recv Last Send
2187011369 UDP [::]:59998 1.2.3.4:5678 ESTABLISHED 0+0 0+1 1s 1s
1466481848 UDP [::]:59999 1.2.3.4:5678 ESTABLISHED 0+0 0+1 3s 3s
SessionID Protocol Local Remote State RecvQ+Buf SendQ+Buf LastRecv LastSend
3078661580 UDP [::]:34453 12.34.123.45:5852 ESTABLISHED 0+0 0+0 0s (31) 0s (28)
3408448183 UDP [::]:34453 12.34.123.45:5852 ESTABLISHED 0+0 0+0 3s (22) 3s (21)
```

类似的,可以在服务器运行 `mita get connections` 指令查看当前服务器与所有客户端之间的连接。
Expand Down
16 changes: 8 additions & 8 deletions docs/server-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@ Before installation and configuration, connect to the server via SSH and then ex

```sh
# Debian / Ubuntu - X86_64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita_3.11.2_amd64.deb
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita_3.12.0_amd64.deb

# Debian / Ubuntu - ARM 64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita_3.11.2_arm64.deb
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita_3.12.0_arm64.deb

# RedHat / CentOS / Rocky Linux - X86_64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita-3.11.2-1.x86_64.rpm
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita-3.12.0-1.x86_64.rpm

# RedHat / CentOS / Rocky Linux - ARM 64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita-3.11.2-1.aarch64.rpm
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita-3.12.0-1.aarch64.rpm
```

## Install mita package

```sh
# Debian / Ubuntu - X86_64
sudo dpkg -i mita_3.11.2_amd64.deb
sudo dpkg -i mita_3.12.0_amd64.deb

# Debian / Ubuntu - ARM 64
sudo dpkg -i mita_3.11.2_arm64.deb
sudo dpkg -i mita_3.12.0_arm64.deb

# RedHat / CentOS / Rocky Linux - X86_64
sudo rpm -Uvh --force mita-3.11.2-1.x86_64.rpm
sudo rpm -Uvh --force mita-3.12.0-1.x86_64.rpm

# RedHat / CentOS / Rocky Linux - ARM 64
sudo rpm -Uvh --force mita-3.11.2-1.aarch64.rpm
sudo rpm -Uvh --force mita-3.12.0-1.aarch64.rpm
```

Those instructions can also be used to upgrade the version of mita software package.
Expand Down
16 changes: 8 additions & 8 deletions docs/server-install.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@

```sh
# Debian / Ubuntu - X86_64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita_3.11.2_amd64.deb
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita_3.12.0_amd64.deb

# Debian / Ubuntu - ARM 64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita_3.11.2_arm64.deb
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita_3.12.0_arm64.deb

# RedHat / CentOS / Rocky Linux - X86_64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita-3.11.2-1.x86_64.rpm
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita-3.12.0-1.x86_64.rpm

# RedHat / CentOS / Rocky Linux - ARM 64
curl -LSO https://github.com/enfein/mieru/releases/download/v3.11.2/mita-3.11.2-1.aarch64.rpm
curl -LSO https://github.com/enfein/mieru/releases/download/v3.12.0/mita-3.12.0-1.aarch64.rpm
```

## 安装 mita 软件包

```sh
# Debian / Ubuntu - X86_64
sudo dpkg -i mita_3.11.2_amd64.deb
sudo dpkg -i mita_3.12.0_amd64.deb

# Debian / Ubuntu - ARM 64
sudo dpkg -i mita_3.11.2_arm64.deb
sudo dpkg -i mita_3.12.0_arm64.deb

# RedHat / CentOS / Rocky Linux - X86_64
sudo rpm -Uvh --force mita-3.11.2-1.x86_64.rpm
sudo rpm -Uvh --force mita-3.12.0-1.x86_64.rpm

# RedHat / CentOS / Rocky Linux - ARM 64
sudo rpm -Uvh --force mita-3.11.2-1.aarch64.rpm
sudo rpm -Uvh --force mita-3.12.0-1.aarch64.rpm
```

上述指令也可以用来升级 mita 软件包的版本。
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/current.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
package version

const (
AppVersion = "3.11.2"
AppVersion = "3.12.0"
)

0 comments on commit c3f96c5

Please sign in to comment.