Compare commits

...
52 Commits
Author SHA1 Message Date
zhiyong.luo be718c21ce bug-fixed 2021-11-24 20:36:50 +08:00
zhiyong.luo b7283c0f59 bug-fixed 2021-11-24 20:35:45 +08:00
zhiyong.luo b992e9179d bug-fixed 2021-11-16 12:42:24 +08:00
zhiyong.luo 9895d8ee43 Update readme.md 2021-11-06 23:07:09 +08:00
zhiyong.luo 77fa72af0b bug-fixed 2021-11-05 21:43:35 +08:00
zhiyong.luo c0ece35452 Delete window_x86v0.30.2.tar 2021-11-05 21:42:42 +08:00
zhiyong.luo 4ed4eb8ec8 Delete linux_x86v0.30.2.tar 2021-11-05 21:42:31 +08:00
zhiyong.luo 4bb4aae511 Delete linux_x86_64v0.30.2.tar 2021-11-05 21:42:22 +08:00
zhiyong.luo 8b8b3ef4c3 Delete linux_armv7v0.30.2.tar 2021-11-05 21:42:11 +08:00
zhiyong.luo 25604ab19c bug-fixed 2021-11-05 21:41:58 +08:00
zhiyong.luo 01c8fe74a8 bug-fixed 2021-10-27 23:59:01 +08:00
zhiyong.luo c553603178 bug-fixed 2021-10-27 23:57:48 +08:00
zhiyong.luo 268165faf5 bug-fixed 2021-10-27 21:58:16 +08:00
zhiyong.luo 195fab7c1c Update readme.md 2021-10-26 15:09:15 +08:00
zhiyong.luo 100a6da558 Update readme.md 2021-10-26 15:08:38 +08:00
zhiyong.luo 6c512a2d74 Add files via upload 2021-10-26 14:51:58 +08:00
zhiyong.luo f39d607592 Add files via upload 2021-10-25 14:04:09 +08:00
zhiyong.luo c6f03fed0a bug-fixed 2021-10-23 00:06:28 +08:00
zhiyong.luo c975a19eee Delete app-release.apk 2021-10-23 00:06:03 +08:00
zhiyong.luo be509a680b bug-fixed 2021-10-22 23:59:19 +08:00
zhiyong.luo eefe8158ff bug-fixed 2021-10-21 18:42:05 +08:00
zhiyong.luo 2e17ac32d9 bug-fixed 2021-10-21 18:41:24 +08:00
zhiyong.luo 9c997e1411 bug-fixed 2021-10-20 18:29:44 +08:00
zhiyong.luo 92138aadb4 bug-fixed 2021-10-20 18:28:56 +08:00
zhiyong.luo 0c5cda270a Update readme.md 2021-10-20 10:44:20 +08:00
zhiyong.luo 628b1dac4b bug-fixed 2021-10-20 10:32:48 +08:00
zhiyong.luo 98a9e66b29 bug-fixed 2021-10-20 10:32:05 +08:00
zhiyong.luo 0cc496948f Update readme.md 2021-10-19 20:17:36 +08:00
zhiyong.luo 710ec0efac Delete window_x86v0.30.tar 2021-10-19 20:12:42 +08:00
zhiyong.luo 44a260ac5d Delete linux_x86v0.30.tar 2021-10-19 20:12:32 +08:00
zhiyong.luo f25ac089c6 Delete linux_x86_64v0.30.tar 2021-10-19 20:12:20 +08:00
zhiyong.luo 992dc2d9f5 Delete linux_armv7v0.30.tar 2021-10-19 20:12:10 +08:00
zhiyong.luo d2980e4e23 bug-fixed 2021-10-19 20:11:53 +08:00
zhiyong.luo 0f65577dc2 bug-fixed 2021-10-19 20:10:47 +08:00
zhiyong.luo 886f567e1d Update readme.md 2021-09-26 10:06:50 +08:00
zhiyong.luo 1763a1a5cb Update readme.md 2021-09-24 23:26:54 +08:00
zhiyong.luo 1de341ca4d bug-fixed 2021-09-24 23:22:27 +08:00
zhiyong.luo dc2c4f0f10 Delete window_x86v0.29.tar 2021-09-24 23:21:18 +08:00
zhiyong.luo f7053748f3 Delete linux_x86v0.29.tar 2021-09-24 23:21:04 +08:00
zhiyong.luo dc6f27853a Delete linux_x86_64v0.29.tar 2021-09-24 23:20:52 +08:00
zhiyong.luo df53000db8 Delete linux_armv7v0.29.tar 2021-09-24 23:20:39 +08:00
zhiyong.luo 0067da639d bug-fixed 2021-09-24 23:20:18 +08:00
zhiyong.luo 70f630ee2c Update readme.md 2021-08-17 09:40:39 +08:00
zhiyong.luo 2e517ea3a1 Update readme.md 2021-08-12 17:36:31 +08:00
zhiyong.luo a0b193f5f0 Update readme.md 2021-08-09 10:06:07 +08:00
zhiyong.luo 7b87163118 Add files via upload 2021-06-07 14:53:04 +08:00
zhiyong.luo 86fe2d1818 Create language.js
multi-language support
2021-06-07 14:32:57 +08:00
zhiyong.luo 0d3a63c04d bug-fixed 2021-05-20 11:14:19 +08:00
zhiyong.luo 33688bf2cf Update readme.md 2021-05-18 15:57:35 +08:00
zhiyong.luo 72fee147e1 Update readme.md 2021-05-18 15:41:14 +08:00
zhiyong.luo 94098e6cf3 bug-fixed 2021-05-17 13:21:36 +08:00
zhiyong.luo 548672635f bug-fixed 2021-05-17 13:20:58 +08:00
21 changed files with 251 additions and 1 deletions
BIN
View File
Binary file not shown.
+212
View File
@@ -0,0 +1,212 @@
var g_languages = [
["中文"//0
,"确 定"//1
,"取 消"//2
,"刷 新"//3
,"清缓存"//4
,"改密码"//5
,"保 存"//6
,"自动刷新"//7
,"删 除"//8
,"登 录"//9
,"注 册"//10
,"返回登录"//11
,"移动网关"//12
,"用户登录"//13
,"用户名"//14
,"密码"//15
,"自动登录"//16
,"用户注册"//17
,"邀请码"//18
,"确认密码"//19
,"姓名"//20
,"联系电话"//21
,"邮箱"//22
,"同意协议"//23
,"必须填写邀请码"//24
,"描述"//25
,"基础信息"//26
,"发送"//27
,"接收"//28
,"总内存"//29
,"已用内存"//30
,"内存峰值"//31
,"状态"//32
,"在线"//33
,"离线"//34
,"系统状态"//35
,"工作线程数"//36
,"空闲线程数"//37
,"最大连接数"//38
,"当前连接数"//39
,"待处理事件"//40
,"检测线程数"//41
,"服务集合"//42
,"本地端口"//43
,"路由指向"//44
,"协议"//45
,"远程IP"//46
,"远程端口"//47
,"服务端"//48
,"修改配置"//49
,"官方代理"//50
,"访问点配置"//51
,"访问点序号"//52
,"访问点名称"//53
,"访问点描述"//54
,"协商端口号"//55
,"输入小于64的数字..."//56
,"输入节点名..."//57
,"输入简短描述..."//58
,"协商端口号默认不指定..."//59
,"必须输入访问点序号,且为<64的整数"//60
,"更改密码"//61
,"旧密码"//62
,"新密码"//63
,"恭喜您:注册请求成功,请务必妥善保管你的服务ID"//64
,"登录失败,请验证输入的用户名密码!"//65
,"登录中..."//66
,"注册失败,请确认信息填写无误!"//67
,"密码修改失败!!"//68
,"请等待..."//69
,"注册中..."//70
,"必须输入原密码"//71
,"密码不能为空"//72
,"新密码不能和原密码相同"//73
,"确认密码不一致"//74
,"访问点名称不能为空,且长度<64"//75
,"访问点简要描述不能为空,且长度<64"//76
,"必须填写邀请码"//77
,"必须填写用户名"//78
,"必须设置密码"//79
,"必须设置确认密码,且确保与密码一致"//80
,"必须填写昵称"//81
,"你真的要删除当前配置的代理点吗?"//82
,"正在自动登录,请稍后..."//83
,"网络不可用,请确认网络设置"//84
,"端口"//85
,"服务端模式"//86
,"访问点"//87
,"待检测"//88
,"连接检测中..."//89
,"旧版本"//90
,"登录失败!用户不存在或密码错误"//91
,"密码修改成功!请妥善保管您的密"//92
,"密码修改成功!下次登录需重新输入新密码"//93
,"注册失败!邀请码有误"//94
,"密码修改失败,请稍后再试"//95
,"转发配置错误[本地端口需大于1024]"//96
,"转发端口配置错误[需小于65536]"//97
,"远程端口配置错误,范围[1-65535]"//98
,"转发配置错误[端口冲突]"//99
,"转发配置错误[未知错误]"//100
,"配置修改成功!将在下次重启时生效"//101
,"移动网关将保持提供服务"//102
,"服务启动时间"//103
],
["English"
, "OK" //1
, "Cancel" //2
, "Refresh" //3
, "Clear" //4
, "Chpass" //5
, "Save" //6
, "Refresh" //7
, "Delete" //8
, "Login" //9
, "Register" //10
, "Back to login" //11
, "Mobile Gateway" //12
, "User login" //13
, "User name" //14
, "Password" //15
, "Auto login" //16
, "User registration" //17
, "Invitation code" //18
, "Confirm password" //19
, "Name" //20
, "Contact number" //21
, "Mailbox" //22
, "Agreement of consent" //23
, "Invitation code must be filled in" //24
, "Desc" //25
, "Information" //26
, "SND" //27
, "RX" //28
, "Tot-mem" //29
, "Usage" //30
, "Max-usage" //31
, "Status" //32
, "Online" //33
, "Offline" //34
, "Summery" //35
, "Tot-threads" //36
, "Idle threads" //37
, "Max-sockets" //38
, "Connections" //39
, "Pending event" //40
, "Event threads" //41
, "Services" //42
, "Local port" //43
, "Routing to" //44
, "Protocol" //45
, "Peer IP" //46
, "Peer port" //47
, "Server" //48
, "Configure" //49
, "Agent" //50
, "Endpoint configuration" // 51
, "Endpoint IDX"//52
, "Endpoint name" // 53
, "Endpoint Desc" // 54
, "Negotiation port" //55
, "Enter a number less than 64..." //56
, "Enter node name..." //57
, "Enter a short description..." //58
, "No need specified by default..." //59
, "The access point number must be entered and is an integer of <64" //60
, "Change password" //61
, "Old password" //62
, "New password" //63
, "Congratulations: registration request is successful. Please keep your service ID properly" //64
, "Login failed. Please verify the user name password you entered!"// 65
, "Logging in..." //66
, "Registration failed. Please confirm that the information is filled in correctly!"// 67
, "Password modification failed!!"// 68
, "Please wait..." //69
, "Registered..." //70
, "Must enter original password" //71
, "Password cannot be empty" //72
, "New password cannot be the same as the original password" //73
, "Confirm password is inconsistent" //74
, "Endpoint name cannot be empty and length is <64" //75
, "Endpoint brief description cannot be empty and length is <64" //76
, "Invitation code must be filled in" //77
, "User name must be filled in" //78
, "Password must be set" //79
, "Confirm password must be set and be sure to be consistent with password" //80
, "Must fill in nickname" //81
, "Do you really want to delete the currently configured proxy point?"// 82
, "Logging in automatically, please wait..." //83
, "Network not available, please confirm network settings "//84
, "Port" //85
, "Server mode" //86
, "EP" // 87 Endpoint
, "Waiting for detection" //88
, "Connection detection..." //89
, "Old version" //90
, "Login failed! User does not exist or password error "//91
, "Password modified successfully! Please keep your secret in good condition "//92
, "Password modified successfully! The next login requires a new password to be re entered "//93
, "Registration failed! Invitation code error "//94
, "Password modification failed. Please try again later "//95
, "Forwarding configuration error [local port needs to be greater than 1024]" //96
, "Forward port configuration error [less than 65536]" //97
, "Remote port configuration error, range [1-65535]" //98
, "Forward configuration error [port conflict]" //99
, "Forward configuration error [unknown error]" //100
, "Configuration modification succeeded! Will take effect on the next reboot "//101
, "The SmarGate will remain in service" // 102
, "Service start time" // 103
]
];
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+39 -1
View File
@@ -1,5 +1,7 @@
# 中文 | [English](https://github.com/lazy-luo/smarGate/blob/master/README_en.md)
# 快速概览
# 快速概览<a href=https://github.com/lazy-luo/smarGate/wiki/快速上手手册>【快速上手手册】</a><br>
* 平台适配,支持linux、windows、macos、android、(tob,小型机:hp-unix、solaris、AIX<br>
* cpu架构,支持x86、arm、mipstobalpha、PowerPC、SPRAC<br>
* 注重安全,“内网”到“内网”的穿透,无需映射任何端口到外网,不更改任何防火墙配置<br>
* 注重带宽,”4G手机+v6宽带“采用P2P方式访问内网服务(v4支持NAT1-3穿透)<br>
* 注重节约,无需购买vps、无需公网IP;家中淘汰Android手机可做服务器<br>
@@ -14,6 +16,11 @@
* 支持自定义代理服务器 <br>
* 免费,测试稳定后考虑开源. <br>
* 包含一个android客户端和需内网安装的服务端.<br>
# APP端配置(必须)--- 无法正常使用典型情况
* 必须配置“允许后台运行”权限,否则切后台即被系统断连
* 必须配置“休眠时始终保持网络连接”,否则一旦休眠则被系统断连
* 可以配置“允许自启动”权限,否则Android服务端模式下无法开机启动(v0.30版本)
* 可以配置“麦克风”权限,否则Android服务端无法提供语音监听功能(v0.30版本)
## smarGate是什么?<br>
#### 官方命名为“移动网关”,通过手机客户端将位于内网的服务端网络进行按需暴露,核心引擎采用c++实现。<br>
#### “移动网关”是用户私有网关,所有共享访问入口都在客户端,不是类似其它穿透工具主推的面向域名的公共访问入口。打个比方:smarGate是将防盗门随身携带,其它穿透产品是将防盗门放到公共场所,额...虽然需要钥匙,但有种职业叫开锁匠<br>
@@ -87,6 +94,17 @@
* 使用TCP协议进行p2p穿透,提升安全性<br>
* 不是所有的网络都支持p2p,取决于两端NAT类型
* v0.14以上版本,直接支持ipv6,且能提供防火墙穿透
* P2P测试结论:一端是NAT4,另一端是NAT3或NAT4时无法打通<br>
注:NAT1-〉Full Cone NAT2-〉Restricted Cone NAT3-〉Port Restricted Cone NAT4-〉Symmetric<br>
<table>
<th>服务端 NAT</th><th>客户端 NAT</th><th>P2P成功</th>
<tr><td>NAT1-3</td><td>NAT1-3</td><td>YES</td></tr>
<tr><td>NAT1-2</td><td>NAT4</td><td>YES</td></tr>
<tr><td>NAT4</td><td>NAT1-2</td><td>YES</td></tr>
<tr><td>NAT4</td><td>NAT3-4</td><td>NO</td></tr>
<tr><td>NAT3-4</td><td>NAT4</td><td>NO</td></tr>
</table>
* 支持外网发布(有违安全设计理念,免费版不提供支持)<br>
* 其它内网穿透工具的主推模式,将内网服务直接映射到外网端口<br>
@@ -198,6 +216,26 @@ ps:捐赠建议附上注册用户名<br>
<mark><font size=5 color=darkred>更新历史</font></mark>
</summary>
### 2021-11-06更新到v0.30.3: <br>
1、修复app端内存占用只显示jvm不包含native的BUG<br>
2、优化网络引擎,提升高并发下的稳定性及公平性 <br>
### 2021-10-17更新到v0.30.2: <br>
1、自定义代理支持ssl验证<br>
2、网络P2P情况下,支持配置成ssl隧道( **要求服务端必须配置证书** )<br>
```
<app-parameter>
<ssl-tunnel-required value="first" /><!-- 取值有3个:none、first、only -->
...
</app-parameter>
```
3、其他优化<br>
### 2021-09-24更新到v0.30: <br>
1、提供了Android服务端开机自启动支持(仅服务端模式,且需要自行手动授权)<br>
2、网络P2P情况下,Android服务端支持实时音频(麦克风权限需要自行手动授权,必须打开SG界面才能录音)<br>
3、其他优化<br>
### 2021-05-03更新到v0.29.2: <br>
1、修复Android高版本无法退出问题<br>
2、优化网络:修复了可能带来网络延迟的BUG,进一步提升网络传输速度<br>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 540 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 623 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 609 KiB

Binary file not shown.
Binary file not shown.