Commit Graph

32 Commits

Author SHA1 Message Date
Shuanglei Tao
b6d160a0f6 protocol: fix pthread_cond_wait usage 2018-09-09 13:37:49 +08:00
Shuanglei Tao
aac89aa617 server: custom terminal type support 2018-09-01 21:02:43 +08:00
Shuanglei Tao
176f3e18a3 protocol: replace sleep with pthread cond 2018-08-20 13:33:17 +08:00
Shuanglei Tao
0f97a69446 libwebsockets 3.0 support 2018-08-18 17:07:41 +08:00
Shuanglei Tao
be91d56904 src: seprate includes from server.h 2018-08-18 09:59:19 +08:00
Shuanglei Tao
ff1f19d9ef protocol: ignore invalid message 2018-03-24 12:17:25 +08:00
Shuanglei Tao
9dd8a97e6b protocol: avoid extra copy of pty data 2018-01-13 11:30:37 +08:00
Shuanglei Tao
26f8b17891 server: use libwebsockets's built-in ping-pong 2018-01-11 22:15:49 +08:00
Shuanglei Tao
710aa1cd98 protocol: fix a regression that may crashes the server 2018-01-10 00:09:39 +08:00
Shuanglei Tao
47ba5daa12 protocol: use binary message 2017-11-25 22:53:44 +08:00
Shuanglei Tao
784ac09f05 protocol: fix host origin checking
Thanks @ben365 (#75)
2017-10-24 20:31:39 +08:00
Shuanglei Tao
4e0801db8e Do not reconnect if process exited, fixes #50 2017-05-20 18:56:40 +08:00
Shuanglei Tao
3580e80783 Add support for the --max-clients option 2017-04-06 21:45:07 +08:00
Shuanglei Tao
35c97df863 Fix client count calculation 2017-03-21 23:14:48 +08:00
Shuanglei Tao
08ac6dc43c Fix potential segmentation fault (SIGSEGV) error
The server->clients variable may still holds reference to user data which is already freed after websocket connection closed.
2017-03-11 02:34:37 +08:00
Shuanglei Tao
4d31e534c0 Fix an issue that can bypass basic authentication
Reported by Donato Ferrante (NCC Group).
2017-03-11 02:11:52 +08:00
Shuanglei Tao
0a057b22c3 Print more details about errors 2017-02-23 19:57:17 +08:00
Shuanglei Tao
1fc2dfb3a5 Upgrade to xterm.js 2.3.2 2017-02-18 16:52:07 +08:00
Shuanglei Tao
c4dd409aac Fix signal string not work, revert to sys_signame 2017-02-08 23:14:24 +08:00
Shuanglei Tao
ffdf56e440 Execute command after authentication 2017-02-05 18:06:13 +08:00
Shuanglei Tao
c9ffa8a8d7 Add support for the --index option 2017-01-19 23:40:20 +08:00
Shuanglei Tao
70cb376208 Replace sys_signame with strsignal and rename malloc functions 2016-12-24 22:02:49 +08:00
Shuanglei Tao
085f6d54db Reformat C source files 2016-12-21 23:10:18 +08:00
Shuanglei Tao
15e2dd96a4 Enable client certificate verification if ssl CA is given 2016-11-23 23:34:56 +08:00
Shuanglei Tao
e0e6d89870 Move to xterm.js for CJK and IME support (#22) 2016-11-09 20:02:04 +08:00
Shuanglei Tao
24c3f2a880 Add support for the --client-option option 2016-10-30 11:02:57 +08:00
Shuanglei Tao
e714cc8718 Add support for the --check-origin option
requires libwebsockets 1.7.0+ since lws_parse_uri is available from 1.7.0
2016-10-10 23:42:11 +08:00
Shuanglei Tao
67d6564cfb Add support for the --readonly option 2016-10-10 22:08:17 +08:00
Shuanglei Tao
3c9884a87b Add support for the --once option 2016-10-10 21:53:03 +08:00
Shuanglei Tao
c4d16c0283 libwebsockets: hande fragmented messages, fixes #9 2016-10-01 20:34:45 +08:00
Shuanglei Tao
9174d6116c Implemented authentication for websocket connection 2016-09-25 01:00:34 +08:00
Shuanglei Tao
1f579b491a Move source files to src 2016-09-19 22:20:40 +08:00