Commit Graph

111 Commits (6454bf03005ae6a2cff011bff1480e59f4d56006)

Author SHA1 Message Date
Apex Liu 15e85d61ef [assist] refactor assist, communicate with web-app through web-socket.
[web] fix: shown invalid date when select valid from/to date in user-edit UI.
2021-11-25 14:40:25 +08:00
Apex Liu 931d4016e7 .tmp. 2021-07-12 16:22:55 +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 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 9fa10ea7de try to downgrade to libssh 0.8.9. 2020-07-07 00:56:52 +08:00
Apex Liu e7635e7756 改进:TP核心服务每60秒向已连接的客户端和远程主机发送keep-alive消息,防止连接中断。但仍保留无操作超时就断开的限制。 2020-06-19 02:22:26 +08:00
Apex Liu a14f59ba6c .tmp. 2020-06-14 02:40:59 +08:00
Apex Liu b4014b5af6 build on macos. 2020-01-15 20:07:34 +08:00
Apex Liu dbe893c88c try to solve bug: connect to ssh server, sometimes block when send data to client. 2019-11-22 05:52:14 +08:00
Apex Liu 958712745b 1. use jsoncpp c++11 interface in telnet module. 2. fix timeout when create ssh channel on libssh session. 2019-11-22 02:59:52 +08:00
Apex Liu 1e9145203b build on linux. 2019-11-21 03:41:46 +08:00
Apex Liu 2908a54f79 调整ssh的录像相关,未完成。 2019-11-20 04:09:16 +08:00
Apex Liu f579c8cb69 .temp. 2019-11-20 00:09:33 +08:00
Apex Liu f78fc3b4fe 调整win平台使用libssh静态库。 2019-07-02 23:44:01 +08:00
Apex Liu f1cab131cb .temp. 2019-06-29 18:00:24 +08:00
Apex Liu bb14ecb8d6 .temp. 2019-06-29 04:24:37 +08:00
Apex Liu 2a65dafd25 .fix typo. 2019-01-11 18:33:46 +08:00
Apex Liu e58ca64e3f Fixed: 1. some SSH session can not terminate; 2. some times core service crash. 2019-01-04 19:39:33 +08:00
Apex Liu 96fe0a4bca Windows平台编译支持visual studio 2017环境。 2018-12-28 02:28:51 +08:00
Apex Liu 6ffa716e4b build on CentOS 7 and test. Upgrade to libssh-0.8.5. Upgrade all python-module like PIL, etc. 2018-11-27 01:06:59 +08:00
Apex Liu 46cd77420d 修复ssh远程连接后执行 rz 命令无法工作的问题。 2018-11-04 08:58:30 +08:00
Apex Liu b1524fd6a0 try to fix thread problem when use libuv. 2018-11-03 14:11:02 +08:00
Apex Liu 05d91e0610 Build and test on macOS, include tp_core and assist. 2018-09-28 02:59:15 +08:00
Apex Liu 35a53e8c7e build with python 3.7 (miniconda) on MacOS and works. 2018-09-27 04:38:29 +08:00
Apex Liu a6f03f3a66 build with Python 3.7 works on Windows now. 2018-09-24 04:04:09 +08:00
Apex Lu b521beef38 build with Python3.7.0, it's works. :) 2018-09-24 02:47:50 +08:00
Apex Liu be816eb564 Merge remote-tracking branch 'remotes/origin/dev' into feature/python-3.7 2018-09-22 02:24:39 +08:00
Apex Liu 7943f50212 Python3.7 works on Windows Platofrm now. 2018-09-22 02:12:53 +08:00
Apex Liu e326b3ac48 修正了无法远程连接SSHv1.99的交换机的问题。 2018-09-22 00:51:56 +08:00
Apex Liu 0521729c91 fixed: can not auto-login with telnet protocol for Huawei network device. 2018-09-20 01:50:01 +08:00
Apex Lu 3db03008d6 try to fix telnet issues. 2018-09-19 02:04:34 +08:00
Apex Liu 6485e33018 compile on windows. 2018-09-18 02:46:41 +08:00
Apex Liu d3e94f9672 除libssh库外,其他的C/C++的第三方库和pythong的第三方库进行了升级。 2018-09-16 14:42:23 +08:00
Apex Liu b6284d6188 tmp. 2018-05-15 17:30:40 +08:00
Apex Liu 5b1f639cfa merge v3 to dev. 2018-05-11 17:03:46 +08:00
Apex Liu 50d814869c Assist support freerdp on MacOS. 2018-05-07 17:12:00 +08:00
Apex Lu eb73b637a9 adjust for build Linux version. 2018-05-05 10:53:33 +08:00
Apex Liu e7c657e132 强制中断在线会话功能完成。版本升级到v3.0.1.6,准备作为beta版本发布。 2018-05-05 00:58:19 +08:00
Apex Liu 3eb59eb071 增强:强制中断在线会话功能实现了,SSH协议已测试,RDP和TELNET协议尚未实现。 2018-05-04 01:30:54 +08:00
Apex Liu 39c94b67be 支持会话无操作超时设置,默认15分钟没有操作则断开连接。 2018-04-30 01:54:59 +08:00
apexliu 60d3f63d7d update ver to 3.0.0.5-ctp for next release. 2018-04-11 13:24:06 +08:00
Apex Liu 24baf11273 实现:运维授权策略中,“连接控制->RDP选项”设置的选项可以起作用了。 2018-04-11 01:30:55 +08:00
Apex Liu ddcfb1ae13 . 2018-04-09 16:19:50 +08:00
Apex Liu 860af40359 尝试修正telnet协议,在连接某些网络设备时,能连接但是没有记录审计录像的问题,同时尝试修正无需认证的网络设备可能会卡死的情况。 2018-04-09 00:26:06 +08:00