Bill Church
c1d3a42d22
Merge branch 'edgarogh-safe-shutdown'
2020-03-19 10:31:58 -04:00
Bill Church
04503e5d8f
chore: add .dockerignore
2020-03-19 10:30:19 -04:00
Bill Church
675b4f5a3a
feat: add SIGTERM to safe shutdown feature
2020-03-19 10:30:06 -04:00
Bill Church
6a3a47a13d
fix: missing ENTRYPOINT for Dockerfile
2020-03-19 10:29:40 -04:00
Edgar Onghena
2934c66bf4
Add safeShutdownDuration config info to README.md
2020-03-18 19:50:11 +01:00
Edgar Onghena
61672c3f1e
Add shutdown middleware to prevent requests
2020-03-18 19:35:52 +01:00
Edgar Onghena
61f19ae3ce
Make "safeShutdownDuration" configurable
...
Defaults to 300s = 5min
2020-03-18 19:25:48 +01:00
Edgar Onghena
eb7d91ffbc
Add safe shudown
...
- SIGINT is intercepted and force-quits the 2nd time
- Live countdown on Web UI
- Countdown ignored if all clients disconnect
- Clean exit function
2020-03-18 19:01:53 +01:00
Bill Church
7a89d45e48
chore: 3.0 release
2020-03-15 14:07:58 -04:00
Bill Church
58c3601af0
Module updates ( #185 )
...
* chore: removed compression option code, standardjs
* chore: update packages
* chore: update favicon.ico location
* chore: standardjs run
* chore: update changelog
2020-03-14 13:18:20 -04:00
Bill Church
fcfa6874cd
chore: update readme
2020-03-14 11:49:25 -04:00
Bill Church
546ac911c9
Merge branch 'pathchanges'
2020-03-14 11:25:33 -04:00
Bill Church
4686d1d6f2
Merge branch 'master' into pathchanges
2020-03-14 11:24:56 -04:00
Bill Church
5e76bb527e
chore: update changelog
2020-03-14 11:19:42 -04:00
Bill Church
2db504467c
chore: pull changes from master
2020-03-14 11:10:29 -04:00
Bill Church
ec9870e2a6
chore: remove old ilx build scripts
2020-03-14 11:10:04 -04:00
Bill Church
d61aec3862
chore: pull changelog and readme from master
2020-03-14 11:08:28 -04:00
Bill Church
152ac1e898
chore: update to read-config-ng
2020-03-14 09:48:02 -04:00
Bill Church
506918dc68
config.json fix from #177
2020-03-14 09:47:38 -04:00
Bill Church
2bc5c030e3
chore: move read-config to read-config-ng
2020-03-14 09:27:40 -04:00
Bill Church
dd33a8b6b0
chore: move root path for all resources under /ssh
2020-03-14 09:06:10 -04:00
Chia-Chi Hsu
42f973b479
Fix: update config.json.sample ( #177 )
2020-01-17 04:43:25 -08:00
Bill Church
2289036605
chore: update validator to 12.1 for better IPv6 support
2019-11-23 09:21:36 -05:00
Bill Church
d79e050b87
Update ChangeLog.md
2019-11-23 09:03:01 -05:00
Bill Church
e796f9fb58
fix: subnet unauthorized now emits "ssherror" which persists across websocket termination
2019-11-23 09:00:28 -05:00
Bill Church
16a27ce62a
Pr/163 ( #164 )
...
* Add configuration option to restrict connections to specified subnets
Signed-off-by: Matt Oswalt <matt@keepingitclassless.net>
* Remove accidentally included message
Signed-off-by: Matt Oswalt <matt@keepingitclassless.net>
* Move to cidr-matcher
Signed-off-by: Matt Oswalt <matt@keepingitclassless.net>
* feat: Add configuration option to restrict connections to specified subnets
2019-11-23 08:45:59 -05:00
Bill Church
9a96637cb4
Username get ( #162 )
...
* feat(auth): ssh private key auth implemented via config.json
If config.json is present and user.privatekey has an ssh-rsa private key defined as well as a user.name, the SSH server will staticlly authenticate to whatever host is specified on the URL with those credentials.
The ssh-rsa private key must have is line returns replaced with the litaral \n
Example: "-----BEGIN RSA PRIVATE KEY-----\nblahblahblah\n"
* docs:update README.com
2019-11-15 17:34:13 -05:00
Bill Church
342df8eb9c
feat(auth): ssh private key auth implemented via config.json ( #161 )
...
If config.json is present and user.privatekey has an ssh-rsa private key defined as well as a user.name, the SSH server will staticlly authenticate to whatever host is specified on the URL with those credentials.
The ssh-rsa private key must have is line returns replaced with the litaral \n
Example: "-----BEGIN RSA PRIVATE KEY-----\nblahblahblah\n"
2019-11-15 17:22:53 -05:00
Bill Church
65d6ec6845
feat(config): specify local source address and port for client connections fixes #152 ( #158 )
2019-11-15 15:55:54 -05:00
Bill Church
ca20321625
update build environment ( #157 )
...
* Accept default username/password overrides from config. Clarified supplying custom config. (#146 )
* feat(auth): username and password may now be sourced from config.json fixes #104
* style:remove test changelog
* build:remove uglify from build process and reaplce with terser
* style:format changelog
2019-11-15 13:01:51 -05:00
Bill Church
212df80fb6
User pass ( #156 )
...
* Accept default username/password overrides from config. Clarified supplying custom config. (#146 )
* feat(auth): username and password may now be sourced from config.json fixes #104
2019-11-15 12:58:50 -05:00
Bill Church
eebc32b2c9
Merge branch 'package-updates'
...
build: fix stuff
2019-11-15 11:21:03 -05:00
Bill Church
b8318d2238
build: Add standard-version to build process
2019-11-15 11:20:12 -05:00
Bill Church
9f3c661bdc
chore(release): 0.2.10-0
2019-11-15 11:06:09 -05:00
Bill Church
9355ad7b5c
Updated packages: ( #153 )
...
Updated packages:
"colors": "~1.4.0",
"compression": "~1.7.4",
"debug": "^4.1.1",
"express": "~4.17.1",
"express-session": "~1.17.0",
"socket.io": "2.2.0",
"ssh2": "~0.8.6",
"terser-webpack-plugin": "^2.2.1",
"validator": "~12.0.0",
"xterm-addon-fit": "^0.3.0",
"xterm-addon-search": "^0.3.0",
"xterm-addon-web-links": "^0.2.1"
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.5",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"file-loader": "^4.2.0",
"postcss-discard-comments": "^4.0.2",
"standard": "^14.3.1",
"style-loader": "^1.0.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2",
"xterm": "^4.2.0"
2019-11-15 10:50:40 -05:00
Bill Church
93303ad132
Updated packages:
...
Updated packages:
"colors": "~1.4.0",
"compression": "~1.7.4",
"debug": "^4.1.1",
"express": "~4.17.1",
"express-session": "~1.17.0",
"socket.io": "2.2.0",
"ssh2": "~0.8.6",
"terser-webpack-plugin": "^2.2.1",
"validator": "~12.0.0",
"xterm-addon-fit": "^0.3.0",
"xterm-addon-search": "^0.3.0",
"xterm-addon-web-links": "^0.2.1"
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.5",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"file-loader": "^4.2.0",
"postcss-discard-comments": "^4.0.2",
"standard": "^14.3.1",
"style-loader": "^1.0.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2",
"xterm": "^4.2.0"
2019-11-15 10:50:15 -05:00
Bill Church
1cbb195739
remove big-iip ILX code
2019-10-18 17:55:14 -04:00
Bill Church
4ad7e7ed3f
lock package versions
2019-10-18 17:24:22 -04:00
Bill Church
341e61eb01
Merge branch 'master' of github.com:billchurch/WebSSH2
2019-10-01 09:29:55 -04:00
Bill Church
1be03d79f5
rebuild
2019-10-01 09:29:52 -04:00
bara666
c4315a2f91
Update README.md ( #144 )
...
Change exmple URL, param color change to headerBackground
2019-09-30 13:30:15 -04:00
Jared Henderson
c2c3aee311
make it clear that you install in the app
dir ( #150 )
...
I got confused from the instructions, I think similarly to #147 .
2019-09-30 13:29:43 -04:00
Bill Church
dbcf973773
remove module provisioning
2019-09-18 08:57:33 -07:00
Bill Church
56086b01dd
Missing require('fs') in server/app.js
See issue [ #135 ](../../issues/135)
...
- Missing require('fs') in `server/app.js` See issue [#135 ](../../issues/135)
- Patched read-config to mitigate vulnerability in js-yaml
- issue not exploitable on webssh2 implementation
- patched anyway
- sending my patch upstream to read-config, webssh2 package.json points to patched version in my repository https://github.com/billchurch/nodejs-read-config
- See https://github.com/nodeca/js-yaml/issues/475 for more detail
2019-06-13 14:39:47 -04:00
Bill Church
7cdcbec5f1
add missing fs
...
that was embarassing... fixes #135
2019-06-13 13:43:46 -04:00
Bill Church
95eb700a21
0.2.8 ready for pr ( #133 )
...
* make config.json optional
* update package for 14.1
* push.sh - reset permissions after module load
* build script updates
* update build scripts
2019-05-25 22:54:32 -04:00
Bill Church
63f368dee2
Update .gitignore
2019-05-16 11:52:38 -04:00
Bill Church
1b40a37d83
update build scripts, removed BIG-IP version prefix
2019-05-16 07:35:52 -04:00
Bill Church
b7d3ec3152
scripts update
2019-05-13 20:29:19 -04:00
Bill Church
28283ecd9f
Update README.md
2019-02-12 08:53:50 -05:00