Commit Graph

508 Commits (master)

Author SHA1 Message Date
Apex Liu 37b697fd8b 1. LDAP支持SSL配置项;2. 正确处理 SIGINT/SIGHUP/SIGTERM 信号,优雅退出; 2021-06-09 16:45:36 +08:00
Apex Liu d9a15640e6 修正:ssh无法保持连接;
改进:支持配置LDAP使用SSL选项;
新增:docker打包脚本;
2021-06-08 22:01:31 +08:00
Apex Liu aee95b2cba [ssh] fix not works with pub-key auth mode.
[web] support alive check with PING.
2021-05-19 01:02:22 +08:00
Apex Liu 47c2fdcff4 1. 修正:SSH连接后,超时断开后,客户端可能会反复重连,最终导致核心服务假死;
2. 修正:后台配置超时无操作自动断开时,配置为0,即永不超时,选项不生效。
2021-03-04 01:25:23 +08:00
Apex Liu f6cc313f87 新增:使用PING的方式检查主机在线情况。 2020-12-16 02:18:41 +08:00
Apex Liu 3a42600b73 修正:审计页面没有显示用户姓名,仅显示了用户登录账号名;
修正:telnet配置为无用户名密码登录时,总是提示参数错误;
其他:去掉构建脚本对python2的支持;
2020-12-05 01:33:47 +08:00
Apex Liu a50b540b95 修正:SSH会话结束后,未更新结束状态到数据库,导致WEB页面始终显示会话未结束。 2020-11-07 02:13:37 +08:00
Apex Liu d8c6bd0c84 格式化代码;使用auto和nullptr。 2020-11-03 01:29:48 +08:00
Apex Liu f26c71d52d 重构核心服务SSH模块,修正以下问题:
1. 某些情况下会卡在登录流程(通道中创建shell操作与收到服务端数据操作造成死锁);
2. 某些情况下连接断开了,但web界面仍然显示使用中(没有正确处理断开事件,没有更新数据库);
3. cat一个大文件会很慢,有时会导致连接断开(每个数据包都完整解析导致处理时间过长);
4. 连接/认证过程出错(密码错误、协议不支持、远程连接超时等等),均会提示用户重新输入密码(改为断开连接,避免造成误解);
2020-11-02 02:50:49 +08:00
Apex Liu b7d9f6f0d8 大幅度改进SSH模块,增加稳定性。 2020-10-15 02:50:33 +08:00
Apex Liu 85e6f4dd28 .tmp. not works yet. 2020-09-11 01:20:11 +08:00
Apex Liu 7bf682af0f Merge branch 'feature/tp-api' of github.com:tp4a/teleport into feature/tp-api 2020-07-15 03:12:11 +08:00
Apex Liu 90d67e9ef2 修正:当TP服务器配置为 `https`方式访问时,RDP录像播放器不能正确获取录像文件。 2020-07-15 03:11:43 +08:00
Apex Liu 579873f296 fix: cannot search description and cid of host in remote ops page. 2020-07-13 11:50:03 +08:00
Apex Liu 9fa10ea7de try to downgrade to libssh 0.8.9. 2020-07-07 00:56:52 +08:00
Apex Liu 32ba720ad1 改进:[API] 获取会话ID时发生错误,能给出错误描述。 2020-07-03 03:29:14 +08:00
Apex Liu 5322b88053 加入API,可获取临时会话ID 2020-07-03 03:14:02 +08:00
Apex Liu 856a762b56 fix: add missing files for tp-api. 2020-07-02 00:17:51 +08:00
Apex Liu 9cd7c609f9 开始实现第三方服务可调用的API接口。 2020-07-01 03:06:00 +08:00
Apex Liu c863a37094 修正:密码过期强制修改密码的页面,会显示500内部错(使用urllib的unquote函数时,应该是urllib.parse.unquote而不是urllib.unquote)。 2020-07-01 03:04:46 +08:00
Apex Liu 7d05421c8c 修复:双因子认证添加界面和总览界面的时间显示不正常的问题。
(#218)
2020-06-27 01:08:35 +08:00
Apex Liu fd9a6a15bf prepare for 3.6.5-rc2 2020-06-22 01:01:15 +08:00
Apex Liu e7635e7756 改进:TP核心服务每60秒向已连接的客户端和远程主机发送keep-alive消息,防止连接中断。但仍保留无操作超时就断开的限制。 2020-06-19 02:22:26 +08:00
Apex Liu 7b46c3bc63 修正:用户连续登录失败导致账号被锁定后,即使解锁,接下来第一次登录失败也会立即锁定。#217
(#217)
2020-06-19 01:26:02 +08:00
Apex Liu e50c66f0e1 修正一处改出来的bug。 2020-06-16 01:40:17 +08:00
Apex Liu 69f5374478 准备发布3.5.6 2020-06-16 00:58:58 +08:00
Apex Liu c264b6c753 修复:编辑用户界面,设置用户有效期时,选择日期对话框显示不正常。
Issue: 213
2020-06-15 02:33:54 +08:00
Apex Liu ed01ae7328 修复:删除用户失败(sql语句问题) 2020-06-14 11:46:25 +08:00
Apex Liu a14f59ba6c .tmp. 2020-06-14 02:40:59 +08:00
Apex Liu e126b6f61c remove unused param. 2020-06-06 20:41:40 +08:00
Apex Liu 771f3cdd33 comment out sql string log. 2020-06-05 16:33:43 +08:00
Apex Liu 45ee30b95d update Python module for Linux. 2020-06-05 15:17:58 +08:00
Apex Liu bc494cac5c update Python module for Windows. 2020-06-05 00:58:17 +08:00
Apex Liu 4c53f88c8b 版本升级到3.5.5,准备发布测试版。 2020-06-05 00:39:52 +08:00
Apex Liu ddd01abeb0
Merge pull request #205 from horizonlin/feature/mstsc
处理重置过期密码页面无法正确获取带特殊字符的用户名
2020-05-19 09:57:47 +08:00
Apex Liu 35fd509c75 .temp. 2020-04-28 10:09:59 +08:00
Apex Liu 03d47c8fcd .temp. 2020-04-26 14:53:04 +08:00
horizonlin edd6c1ecdf
修复用户名带特殊符号时修改过期密码界面无法正确获取密码的问题 2020-04-22 11:17:36 +08:00
horizonlin 6b12da5eb8
处理重置过期密码页面无法正确获取带特殊字符的用户名 2020-04-22 09:02:54 +08:00
horizonlin 9770920100
Update login.js
处理重置过期密码时用户名有特殊字符情况下无法正确获取用户名的情况
2020-04-22 08:53:27 +08:00
Apex Liu 1c8c9daa99 准备3.5.3测试版本。 2020-03-26 20:32:35 +08:00
Apex Liu b4014b5af6 build on macos. 2020-01-15 20:07:34 +08:00
Apex Liu 2217aab770 .temp. 2019-12-17 01:18:49 +08:00
Apex Liu d960f889ab Merge branch 'feature/mstsc' of github.com:tp4a/teleport into feature/mstsc 2019-12-10 17:34:00 +08:00
Apex Liu 66bed4d53e try to use Enum type. 2019-12-10 17:33:40 +08:00
Apex Liu 7b0cc6f33d .temp. 2019-12-05 09:36:59 +08:00
Apex Liu a43f7b0f35 .temp. 2019-12-02 19:50:55 +08:00
Apex Liu 0b10a1b1aa try to use 'place-holder' in sql. 2019-11-29 20:33:14 +08:00
Apex Liu bfd8ef11e9 Merge branch 'feature/mstsc' of github.com:tp4a/teleport into feature/mstsc 2019-11-28 12:26:18 +08:00
Apex Liu 65e22960da add python modules for MySQL. 2019-11-28 12:26:06 +08:00