Commit Graph

345 Commits

Author SHA1 Message Date
Iwasaki Yudai
6013e43933 Merge pull request #76 from QuentinPerez/fix
Remove a mutex unlock
2015-10-12 12:11:43 -07:00
Manfred Touron
788c9942ad
Log passed arguments
i.e:

    2015/10/12 18:14:11 127.0.0.1:56983 200 GET /auth_token.js
    2015/10/12 18:14:11 New client connected: 127.0.0.1:56984
    2015/10/12 18:14:11 127.0.0.1:56984 passed arguments are: "--server_id XXXXXXXXXXXXXXX --type serial --auth_token YYYYYYYYYYYYYYYY"
    2015/10/12 18:14:11 Command is running for client 127.0.0.1:56984 with PID 95770
    2015/10/12 18:14:11 127.0.0.1:56984 101 GET /ws
    2015/10/12 18:14:11 Command exited for: 127.0.0.1:56984
2015-10-12 18:20:48 +02:00
Quentin Perez
04deb4902f Remove a mutex unlock 2015-10-12 10:28:36 +02:00
Iwasaki Yudai
f7b54e9e5a Format .gotty 2015-10-12 15:54:41 +09:00
Iwasaki Yudai
a9d26bec2c Run commands in Make on wercker 2015-10-12 13:34:31 +09:00
Iwasaki Yudai
c8fb306521 Move gitter badge to right place 2015-10-12 10:57:24 +09:00
Iwasaki Yudai
1bcc6bd9ce Change description of --permit-arguments 2015-10-12 10:57:24 +09:00
Iwasaki Yudai
589ec6b50a Handle hterm preferences with better care 2015-10-12 10:57:21 +09:00
Iwasaki Yudai
86151f1ac9 Merge pull request #75 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-10-09 21:28:12 -07:00
The Gitter Badger
23804fa2ff Add Gitter badge 2015-10-09 22:08:51 +00:00
Iwasaki Yudai
ec70160666 Merge pull request #74 from rmetzler/fix-typo
fix typo
2015-10-09 12:43:03 -07:00
Richard Metzler
eb200ce579 fix typo 2015-10-09 11:15:18 +02:00
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