Commit Graph

383 Commits

Author SHA1 Message Date
Iwasaki Yudai
f72b18052a Simplify title format output procedure 2015-10-08 14:45:10 +09:00
Iwasaki Yudai
46e33887c4 Ensure only one client can connect when --once is given
Using a mutex
2015-10-08 14:32:49 +09:00
Iwasaki Yudai
e1de07bce2 Release v0.0.11
* Bug fixes
* SSL/TLS client certificate authentication support by @freakhill and @uovobw
* New option `--permit-argument` to allow client to provide command line arguments by @QuentinPerez
2015-10-07 13:05:05 +09:00
Iwasaki Yudai
9e392334a7 Update resource file 2015-10-07 13:03:53 +09:00
Iwasaki Yudai
6af36bc6d9 Treat ping messages properly not to lose window title
Thanks to @rgawenda at #65.
2015-10-07 04:36:13 +09:00
Iwasaki Yudai
6edf5b450f Merge pull request #64 from QuentinPerez/handle_arguments
Added handling of —permit-arguments option
2015-10-05 01:09:59 -07:00
Quentin Perez
a4e77b2b76 Added handling of —permit-arguments option 2015-10-05 09:50:48 +02:00
Iwasaki Yudai
7715f93517 Merge pull request #69 from uovobw:add-tls-client-certificate-authentication 2015-10-05 16:30:06 +09:00
Iwasaki Yudai
57923e98c4 Merge pull request #67 from freakhill/master
support for client certificate
2015-10-04 20:43:55 -07:00
Iwasaki Yudai
36dfe5deac Merge pull request #71 from moul/header-server
Add 'Server' HTTP header with current GoTTY version
2015-10-04 19:49:32 -07:00
Manfred Touron
f75cc9771a
Add 'Server' HTTP header with current GoTTY version
$ curl -I http://gotty.server/
    HTTP/1.1 200 OK
    Accept-Ranges: bytes
    Content-Length: 407
    Content-Type: text/html; charset=utf-8
    Last-Modified: Fri, 02 Oct 2015 08:04:28 GMT
    Server: GoTTY/0.0.10
    Date: Fri, 02 Oct 2015 08:04:28 GMT
2015-10-02 10:14:01 +02:00
Iwasaki Yudai
096f77c780 Merge pull request #68 from QuentinPerez/mutex
Added mutex to avoid concurrent writes
2015-09-30 12:32:50 -07:00
Iwasaki Yudai
9534205004 Merge pull request #66 from freakhill/patch-1
fix typo
2015-09-30 12:15:44 -07:00
Andrea Lusuardi - uovobw
7321b43f67 Add client certificate fields to the configuration struct
Add relevant logic
2015-09-30 19:06:55 +02:00
Andrea Lusuardi - uovobw
5eb5959c93 Add tls client certificate authentication flags 2015-09-30 19:06:28 +02:00
Andrea Lusuardi - uovobw
5de1ece388 Update readme for client certificate authentication 2015-09-30 19:06:05 +02:00
Andrea Lusuardi - uovobw
82c17f8271 Add client certificate options to default configuration file 2015-09-30 19:05:45 +02:00
Quentin Perez
6500449916 Added mutex to avoid concurrent writes 2015-09-30 16:59:38 +02:00
Johan Gall
7e11f664d9 support for client certificate
run go fmt
2015-09-29 00:42:34 +09:00
freakhill
84abb39358 fix typo
reconnec_ttime -> reconnect_time
2015-09-28 20:51:31 +09:00
Iwasaki Yudai
783254c3be Merge pull request #57 from moul/patch-1
Add `gotty-client` in README.md
2015-09-20 21:48:48 -07:00
Manfred Touron
9918bdce81
Add gotty-client in README.md 2015-09-20 22:14:24 +02:00
Iwasaki Yudai
c88cf7a52d Show RemoteAddr and HTTP status code in log 2015-09-20 13:41:24 +09:00
Iwasaki Yudai
af1a80c962 Fix link to termshare in README 2015-09-17 14:33:36 +09:00
Iwasaki Yudai
3857e41dbc Add alternatives section to README 2015-09-05 15:38:18 +09:00
Iwasaki Yudai
8f9d5ba582 Release v0.0.10
* Syntax check for the configuration file
* Better handling of invalid UTF-8 bytes
2015-09-02 20:21:50 -07:00
Iwasaki Yudai
4f75000256 Send data in base64 format
Raw data sometimes include invalid UTF-8 bytes and that brings errors to
WebSocket clients. To avoid the errors, encode data into base64 before
sending it.
2015-09-02 20:16:35 -07:00
Iwasaki Yudai
83923b6f39 Check config file syntax 2015-09-01 20:42:52 -07:00
Iwasaki Yudai
62f5d4aaf3 Release v0.0.9
* Fix basic authentication and reconnection conflict
* Send ping/pong to keep connections
2015-09-01 15:13:01 +09:00
Iwasaki Yudai
05d9267f20 Show message for force exit 2015-09-01 15:11:05 +09:00
Iwasaki Yudai
ff92777011 Use credential for auth_token 2015-09-01 15:11:02 +09:00
Iwasaki Yudai
0bd2f3f2c8 Add a link to how to use self-signed certificates with Safari 2015-09-01 14:57:58 +09:00
Iwasaki Yudai
00ddf781de Send ping/pong 2015-08-31 21:34:54 -07:00
Iwasaki Yudai
b711de495b Release v0.0.8
* Fixed TLS/SSL default files loading error
* Fixed Sasfari basic authentication error
2015-09-01 01:26:44 +09:00
Iwasaki Yudai
fc590d5bc3 Add note for self-signed cert issue of safari 2015-08-31 16:09:14 +09:00
Iwasaki Yudai
0e81c484a9 Authenticate WS connection using token
Safari doesn't support basic authentication for websocket sessions.
This commit introduces a token-based authentication only for websocket
connection.
The token is shared by all clients and that might be not secure. However,
basic authentication itself is insecure and the credential is already
shared by clients, so don't mind.
2015-08-31 15:54:34 +09:00
Iwasaki Yudai
e7e607b3d7 Fix TLS crt/key file loading 2015-08-31 07:16:34 +09:00
Iwasaki Yudai
5622bf7538 Release v0.0.7
* Favicon has been added
2015-08-30 21:54:37 +09:00
Iwasaki Yudai
a4a3f1a01d Add index_file to .gotty` 2015-08-30 17:28:47 +09:00
Iwasaki Yudai
eb2f2d08bc Fix some texts 2015-08-30 17:20:49 +09:00
Iwasaki Yudai
a40dde8d3a Use "GoTTY" not "gotty" 2015-08-30 16:51:08 +09:00
Iwasaki Yudai
f654030be3 Fix enable_random_url default value 2015-08-30 16:50:51 +09:00
Iwasaki Yudai
ee77ec1b3a Add favicon 2015-08-30 16:44:18 +09:00
Iwasaki Yudai
e79e78a323 Fix typo in README 2015-08-30 07:11:08 +09:00
Iwasaki Yudai
4814a38708 Fix link to .gotty in README 2015-08-30 07:10:12 +09:00
Iwasaki Yudai
f133c28cf8 Release v0.0.6
* Profile file is merged into config file
2015-08-30 07:04:48 +09:00
Iwasaki Yudai
678258ecf1 Log received hterm preferences in console 2015-08-30 06:51:05 +09:00
Iwasaki Yudai
b821754e8a Add sample .gotty file 2015-08-30 06:48:45 +09:00
Iwasaki Yudai
d3e48aa3ae Merge profile and config files and support custom index file 2015-08-29 13:23:00 +09:00
Iwasaki Yudai
25a5bc0b89 Fix default config file loading 2015-08-28 21:11:46 -07:00