Commit graph

7 commits

Author SHA1 Message Date
billchurch
7cbfed20e9 refactoring, socket.io update
more refactoring, code standards, updated socket.io to 1.7.4, increment
release to 0.1.1
2017-06-03 16:50:45 -04:00
billchurch
4540cc6e0e updated documents, added validation to user input strings
term= query option to specify TERM environment variable for host, valid
strings are alpha-numeric with a hypen (validated). Otherwise the
default ssh.term variable from `config.json` will be used.
- validation for host (v4,v6,fqdn,hostname), port (integer 2-65535),
and header (sanatized) from URL input
2017-05-27 18:12:02 -04:00
billchurch
a0b0ec8632 support utf-8 characters
pull request form @bara666. this closes #12 cheers!
2017-05-27 14:42:37 -04:00
billchurch
2e912dd9cc refactoring
moved some events into socket/index.js to better organize code
created session.ssh property for application session variables
moved crypto algorithms to config.json and assigned to
..session.ssh.algorithms variable
2017-05-26 11:25:44 -04:00
billchurch
e90f04253a declaring variable 2017-05-20 21:31:42 -04:00
billchurch
41508276b6 additional debug log statements 2017-05-20 18:00:15 -04:00
billchurch
2c1c3ac911 error handling fixups
added some additional error handing functions and debugging points
- `DEBUG=ssh` will put the ssh2 module into debug mode
- `debug=WebSSH2` will output additional debug messages for functions
and events in the application (not including the ssh2 module debug)
- created socket/index.js to start the process of separating out app
functions, just holds error logging function at this point
- corrected some events on public/client.js so the primary error cause
is not overwritten
- ensure that ssh connection is terminated when websocked is
disconnected by the client
2017-05-20 17:26:18 -04:00