NI
5434ab03b2
Bump copyright date to 2021
2021-03-02 21:32:54 +08:00
NI
c6683b1311
Change the authentication workflow. This will allow Sshwifty to run on a multi-node autobalanced cluster. After deploy this version, users might have to reload the frontend page before continue using Sshwifty.
2021-03-02 20:54:58 +08:00
NI
706eb93150
Deploy the GitHub username change
2020-08-26 11:08:58 +08:00
NI
441374c0d4
Fix typo: Enviroment -> Environment
2020-08-17 12:56:03 +08:00
NI
d86c92867c
Configuration: 1) Add scheme syntax support to Preset Meta; 2) Some wrong defaults has now been fixed
2020-08-13 23:04:54 +08:00
NI
13542949c2
Make application/controller/static.go the source code generate trigger instead of application/controller/static_pages.go
2020-07-18 18:33:48 +08:00
NI
15497da408
Reformat static_page_generater/main.go
2020-07-16 09:50:19 +08:00
NI
c2da4491b0
Stop gzip more file types: Text, MD
2020-07-16 09:34:32 +08:00
NI
bc7f20ebef
Code clean up
2020-04-06 18:56:59 +08:00
NI
d8a599baf9
Separate invalid key and unmatched key error
2020-04-06 18:55:20 +08:00
NI
1009cd4284
Use a better method to reload command presets
2020-03-12 21:19:20 +08:00
NI
b2210ce2b6
Reconfigure Environment configuration loader as well
2020-02-23 22:03:31 +08:00
NI
e7ca6d95ed
Allowing Commands to reconfigure app Configuration, this is will allow default ports to be currently added to remote presets
2020-02-23 17:23:24 +08:00
NI
9b2513c89d
Clean up code inside the configuration loaders
2020-02-08 11:17:56 +08:00
NI
921b887550
Adjust message text for ErrAccessControlDialTargetHostNotAllowed
2020-02-08 11:17:16 +08:00
NI
67c99e3092
Implemented the host name auto suggestion, and added Preset feature
2020-02-07 21:34:16 +08:00
NI
edc6aeab92
Stop gzipping image/*. They will be fully compressed by a image compresser
2019-12-30 18:41:51 +08:00
NI
b5ebe6759c
Update copyright date to 2020. Happy new year!
2019-12-29 14:11:54 +08:00
NI
a5696d6b63
Don't gzip woff files, as they usually already compressed
2019-12-13 14:33:47 +08:00
NI
d3c569f68d
Make browserconfig.xml to be root-url accessible (Can be accessed through /browserconfig.xml).
2019-12-08 17:00:03 +08:00
NI
2356a7c155
Change static assets and websocket interface to /sshwifty/assets and /sshwifty/socket. This should allow user to map Sshwifty to a subdirectory behind a reverse proxy
2019-12-06 19:05:36 +08:00
NI
4d0b689a7d
Two changes to the static file generater: 1) It now imports source file data as literal string, saves runtime conversion cost; 2) image/x-icon will no longer be compressed
2019-10-18 22:33:42 +08:00
NI
da7f06f01b
Adjust favicon a bit more
2019-10-01 16:44:58 +08:00
NI
ec5099c111
More detailed debug log
2019-09-24 22:47:32 +08:00
NI
128d24d92d
Add the one missing blank line
2019-09-24 22:47:13 +08:00
NI
6349d1ede5
Fixed a bug: That 4096 bytes can all be used to buffer a AES-GCM block
2019-09-20 22:07:09 +08:00
NI
a074586dcb
Allowing the entire Stream payload to be relayed to the remote, not just the first part of the payload.
2019-09-19 14:56:48 +08:00
NI
020a1e8eaf
Adding timeout detection to both SSH and Telnet command as well. This will prevent a dead remote connection to block backend request processing
2019-09-19 14:54:54 +08:00
NI
6aa585c228
Use more accurate size to verify payload length
2019-09-19 14:48:19 +08:00
NI
c7df33f14f
Prevent SetDeadline, SetReadDeadline and SetWriteDeadline from setting up unlimited deadline, and also impose our own timeout retry mechanism.
2019-09-18 18:51:17 +08:00
NI
90db2755cd
More robust way to handle write pause and resume
2019-09-16 23:21:02 +08:00
NI
d03ab083d7
Statically save Content-Type in generated files as well.
2019-09-13 14:21:24 +08:00
NI
11d6a58a36
Better Timeout in Socks5 handshake
2019-09-03 21:40:57 +08:00
NI
bf68b88919
Fix the problematic SSH handshake timeout
2019-09-02 22:21:23 +08:00
NI
b1cd29cc27
Close connection when SSH handshake fails.
2019-09-02 12:37:51 +08:00
NI
e414144331
Typo: Authenication => Authentication
2019-08-29 21:38:55 +08:00
NI
3749460d14
SSH: Don't timeout during handshake if we're waiting for user input
2019-08-29 21:36:25 +08:00
NI
8fe5d677ec
Add error.html
2019-08-27 17:24:37 +08:00
NI
6cfc5b0e07
Better HTTP caching
2019-08-27 15:43:38 +08:00
NI
0becf0d7fc
Rename CommandConfiguration to Configuration
2019-08-19 21:34:25 +08:00
NI
1070c2bcf2
Add timeout for SSH handshake
2019-08-19 21:29:47 +08:00
NI
33076628a4
Don't set the initial deadline if the upper wants to set it
2019-08-19 19:27:22 +08:00
NI
d074eb986f
Handle SIGTERM as well. Why not.
2019-08-18 10:26:54 +08:00
NI
541e4b9233
Add a initial read deadline to Socks5 Conn.
...
This allows us to actually implement the socks5 dial timeout without depend on the timeout setting on the socks5 proxy server.
2019-08-17 10:26:04 +08:00
NI
929c3d4477
Add a delay inside the key verification process.
2019-08-14 17:25:00 +08:00
NI
1c3527a67a
Memory usage should be reduced even a bit more, as unused buffer space is now been cut off of decoded static data.
2019-08-14 12:34:22 +08:00
NI
e6c68194ad
Change cipherRWBufferSize to match the one on the client, so we don't run cipher that often (Adds overhead).
2019-08-14 08:15:01 +08:00
NI
5e6a774bd8
Fixed typo Passpharse => Passphrase #2
...
Thanks for reporting.
2019-08-13 17:37:06 +08:00
NI
36ee034bcf
Use ReadTimeout*0.8 as max heartBeatTimeout rather than ReadTimeout/2.
...
Heartbeat is usually returned very quickly, no need to force two heartbeat within one read timeout period.
User can change the configuration to bring back the setting if needed.
2019-08-13 10:55:48 +08:00
NI
f3336d61a0
Make DialTimeout configurable.
2019-08-12 23:50:24 +08:00