Commit Graph

183 Commits (dd69dc8ab729833dba99e3d235e636358821cfe8)

Author SHA1 Message Date
Apex Liu a8629eaf60 改进SSH命令记录处理,尚未完成。 2017-11-22 02:42:17 +08:00
Apex Liu 1aa89aea9a temp. 2017-11-21 20:00:09 +08:00
Apex Liu 3dd61ebfae 开始修正SSH会话中记录命令行的功能(主要是各种Esc组合键的判断)。 2017-11-21 02:25:24 +08:00
Apex Liu 06366e6052 反复测试,SSH协议稳定了(需要使用改过的libssh,session.c),目前在Win平台测试,未发现崩溃、无法连接、连接时卡住、结束时还显示“使用中”等问题。 2017-11-21 00:39:26 +08:00
Apex Liu 48dfcd964d 貌似解决了SSH连接、断开连接但始终显示“使用中”的问题,还需要更大规模测试。 2017-11-20 18:46:05 +08:00
Apex Liu 17b843500e 问题:SecureCRT,只是是标签页“复制标签”出多个标签页,最后直接关闭窗口,就会出现一些通道不会被关闭的问题。ssh_event_dopoll()也不会报错说网络断开~~~ 2017-11-20 06:04:20 +08:00
Apex Liu 907cb1b9e1 改进:
1. SSH按通道进行记录录像,避免一个会话多个通道时录像数据混杂导致播放混乱;
  2. 无论是SSH-Shell还是SSH-SFTP,均能够根据实际建立连接并进行操作正确记录其类型,方便界面展示;
  3. 核心模块能够处理连接信息的引用计数,因此SFTP上编辑、保存文件可以正常工作了;
  4. 能够正确处理绝大部分断开连接后状态还在“使用中”的问题,但SecureCRT通过“连接SFTP标签页”后,有时仍然存在此问题。
2017-11-20 04:19:04 +08:00
Apex Liu 83b9ba01bc 准备改进核心服务关于session管理部分,以及ssh转发模块关于录像记录部分。 2017-11-19 22:51:48 +08:00
ApexLiu 2d0ce5da20 temp. 2017-10-31 01:09:09 +08:00
Apex Liu 65f2d1ceae temp. 2017-10-30 18:14:48 +08:00
ApexLiu a49590705d temp. 2017-10-30 09:42:02 +08:00
ApexLiu 3d2754799f temp 2017-10-29 18:22:15 +08:00
ApexLiu 8019bf8be3 . 2017-10-26 11:08:24 +08:00
ApexLiu 3a62227af6 . 2017-10-26 09:54:28 +08:00
ApexLiu 5155d4ff5d temp. 2017-10-19 18:59:08 +08:00
Apex Liu 7e7c63253a temp. 2017-10-12 20:35:57 +08:00
ApexLiu 3e2f06a740 可以在MacOS上编译tp_core和libtpssh了 :) 2017-09-13 21:33:49 +08:00
Apex Liu b43fbc4382 配合WEB界面调整一些会话参数。 2017-09-07 02:47:08 +08:00
Apex Liu 3528c857ac . 2017-08-29 18:03:01 +08:00
Apex Liu 1b92d81d89 . 2017-08-27 03:06:51 +08:00
Apex Liu f286f7d718 整理代码 2017-08-23 03:35:40 +08:00
Apex Liu be59d1a612 整理代码。 2017-08-22 17:31:35 +08:00
Apex Liu eef2ce4460 整理代码,调整参数名称,避免混淆。 2017-08-21 17:32:17 +08:00
Apex Liu 191d007678 . 2017-08-21 05:22:35 +08:00
Apex Liu 73d51a2563 prepare for v3. 2017-08-21 01:54:37 +08:00
Apex Liu ab7f6e555e typo. 2017-08-09 11:16:55 +08:00
Apex Liu 17ff40746e . 2017-06-29 19:27:57 +08:00
Apex Liu 33aeaacdd1 2017-06-26 17:25:11 +08:00
Apex Liu 9b353f89c8 try to fix putty can not connect to centos 6.8, but not fixed. 2017-06-06 20:47:40 +00:00
Apex Liu 70d53e7bdc 升级版本到v2.2.10.1,准备发布。 2017-06-07 00:47:32 +08:00
Apex Liu 833ac9deb6 修正:数据库升级时,sqlite未能正确判断。 2017-06-06 20:57:20 +08:00
Apex Liu 15e5c47125 升级到版本v2.2.9.4,准备发布。 2017-06-05 17:50:57 +08:00
Apex Liu e66e002161 修正:某些主机ssh服务不支持查询所支持的认证方式,导致无法进行ssh连接。 2017-06-05 17:06:43 +08:00
Apex Liu 1a3f7f3378 升级服务端版本号到 2.2.9.3,准备发布新版本。 2017-06-04 03:41:56 +08:00
Apex Liu 11567dd6f4 . 2017-06-01 03:04:14 +08:00
Apex Liu 22900ebf9f 支持全量的数据库导入导出(仅数据,不含表结构)。 2017-05-31 19:00:31 +08:00
Apex Liu 10090648ff temp: hard code for ssh fix not work on linux. 2017-05-30 14:33:16 +00:00
Apex Liu 0314268926 解决某些情况下ssh远程连接卡住的问题(已经在Win上测试通过)。 2017-05-30 05:04:27 +08:00
Apex Liu f861da6d66 支持ssh“交互式登录”,以支持FreeBSD10等系统(默认设置为仅允许交互式登录或私钥登录方式)。 2017-05-29 04:29:42 +08:00
Apex Liu 4ae6d4c5b5 1. 无法连接到远程主机时,连接超时设置为10秒; 2. 解决RDP连接出错时,仍然汇报连接成功的问题。 2017-05-28 13:08:37 +08:00
Apex Liu ef23397be8 支持记录SFTP操作日志了,能记录文件打开、删除,目录创建、删除,改名以及创建符号链接等操作。 2017-05-27 23:51:20 +08:00
Apex Liu 9ab930bd55 1. 设定服务端版本为2.2.8.1,准备发布;2. 为docker发布调整默认数据目录路径(安装目录下的data目录),包括配置文件、日志文件、录像文件、数据库文件等; 2017-05-24 17:28:28 +08:00
Apex Liu b485eb7857 temp: add dashboard. 2017-05-12 19:35:15 +08:00
apexliu 67c321dfa6 temp. 2017-05-04 08:14:17 +00:00
Apex Liu 13250ec081 1. try to fix crash on Linux by use libssh multi-thread initialization function.
2. update libssh to v0.7.5.
3. update build script to match libssh threads library.
2017-04-30 17:46:11 +00:00
Apex Liu 32e0991164 修正:配置了端口号后不能正常工作。 2017-04-18 18:56:45 +08:00
Apex Liu eb39a062e5 升级版本号到2.2.6.1,准备发布修订版。 2017-04-17 17:49:44 +08:00
Apex Liu e2e0097a4a #10 问题仍然存在,暂时屏蔽可能导致此问题的代码,再进行测试。 2017-04-17 17:40:17 +08:00
Apex Liu 9bce1dbe1d fix rdp replay data file re-location. 2017-04-16 14:39:17 +00:00
apexliu 4c47d82c68 升级版本号到2.2.5.1,准备发布新版本。 2017-04-16 11:24:31 +08:00
apexliu 59f14d3e73 修正被锁定的用户仍然可以登录;修正录像文件中记录的起始时间不正确;增加ssh回放界面显示会话详细信息; 2017-04-16 06:15:07 +08:00
Apex Liu d71217d50f 统一录像文件格式。 2017-04-14 18:40:20 +08:00
Apex Liu 8e8a06628d change class name, otherwise crash when rdp and ssh work together. 2017-04-12 18:08:33 +00:00
apexliu fe34aafa49 rdp works with freerdp on Windows. 2017-04-10 00:36:38 +08:00
Apex Liu 4ee850c83e temp. 2017-04-07 15:05:29 +08:00
apexliu d1270e38ab temp. 2017-04-07 03:27:15 +08:00
Apex Liu 669fc79eae temp. 2017-04-06 18:46:58 +08:00
apexliu f80e12c244 准备发布版本v2.1.2.1。 2017-03-30 04:39:03 +08:00
apexliu 61c1b69cd9 修正web播放录像时的录像文件路径,避免core服务设置了非默认重放文件路径后web出现找不到文件的问题。 2017-03-29 02:56:05 +08:00
apexliu 349d679742 fixme: win全新安装并初始化数据库后,必须重启web服务,否则数据库访问总是会失败。 2017-03-28 01:55:29 +08:00
apexliu c473b1973b Merge branch 'dev' of github.com:eomsoft/teleport into dev
# Conflicts:
#	server/tp_core/core/main.cpp
#	server/tp_core/core/ts_env.cpp
#	server/tp_core/core/ts_env.h
#	server/www/teleport/app/eom_app/app/db.py
2017-03-28 01:16:30 +08:00
Apex Liu b3a617614e works on linux now. 2017-03-27 17:10:26 +00:00
apexliu a592da9626 修复调整路径带来的小bug。 2017-03-27 05:11:47 +08:00
apexliu d3c581a857 fixme: Windows版本的web服务有问题,一旦从服务管理器中停止,就会自动被删除。 2017-03-27 03:20:51 +08:00
Apex Liu f142793394 temp. 2017-03-16 18:45:31 +08:00
Apex Liu 83e9b9439e temp. 2017-03-08 19:12:37 +08:00
Apex Liu 455e1b534d update libssh to 0.7.4. 2017-03-08 14:24:58 +08:00
apexliu 36efcb1989 temp. 2017-03-07 05:59:48 +08:00
apexliu bc4a8f730b temp. 2017-03-07 01:54:45 +08:00
ApexLiu 33a0c33663 fix some bugs when automatic build on Linux. 2017-03-07 01:46:05 +08:00
Apex Liu 72583eb676 add core-json-rpc `get_config` 2017-03-06 15:47:45 +08:00
apexliu bfedef4a4e temp. 2017-03-06 09:13:25 +08:00
Apex Liu e6d3696f0d 核心服务不再直接访问数据库了(同时也不再依赖sqlite的代码了),全部通过与web服务的json-rpc接口进行数据交换,由web服务访问数据库。 2017-03-04 04:13:49 +08:00
Apex Liu 852aba747a temp. 2017-03-03 02:30:28 +08:00
Apex Liu 6d43737a78 使用tornado的异步请求方式解决了core和web相互调用时tornado无法响应的问题,目前普通用户SSH登录功能可用了,但是还有大量代码需要调整为异步方式。 2017-03-03 01:40:16 +08:00
Apex Liu 411eab32f0 Now core server not access database directly anymore.
TODO: tornado must use asynchronous handler otherwise core and web will lock each other.
2017-03-02 06:12:37 +08:00
Apex Liu 9d23ba299b 调整配置管理页面,目前暂时使用直接编辑配置文件的方式进行设置。 2017-02-08 00:04:16 +08:00
Apex Liu 772fcf4537 解决助手程序只有安装后第一次运行时可以保存配置的问题(安装到Program Files目录下,普通用户没有写权限),现在将配置文件移动到%APPDATA%/Roaming/eomsoft/teleport/assist/cfg目录下了,日志文件在%APPDATA%/Roaming/eomsoft/teleport/assist/log目录下。 2017-02-07 02:07:42 +08:00
Apex Liu b6e3448792 tmp. 2017-01-16 21:28:13 +08:00
Apex Liu 3ec1bea6ea 为适配跨平台调整代码。此版本可以在Windows和Linux平台编译通过,但尚未进行测试。 2017-01-11 23:50:29 +08:00
Apex Liu 4cc96b0025 libtpssh.so now build on Linux. 2017-01-11 23:24:21 +08:00
Apex Liu c5f1b9091a tp_core now build on Linux. 2017-01-11 20:04:11 +08:00
Apex Liu 8ac48cccf5 add teleport core service with SSH protocol supported, works on Windows now. 2017-01-08 23:53:37 +08:00