Mathieu Pasquet
75c6840ecd
Implement proxied connections
...
The feature is implemented as follows:
- when creating a host, there is a possiblity to add a "hop"
- hops are referend them with the name of the host in sshportal
- the hop ID is then saved in the DB in the hosts table
- when connecting to a host, sshportal will recurse through all the
possible hops of a host (allowing chained proxies)
2018-02-22 18:07:41 +01:00
Quentin Perez
5720123576
main: remove globalContext, and move some functions outside of the main
2018-01-07 14:09:43 +01:00
Manfred Touron
3ebcdd9c3d
Add telnet support
2018-01-05 10:14:02 +01:00
Manfred Touron
2a68fc3114
Support having different host.Scheme
2018-01-05 10:13:45 +01:00
Manfred Touron
d6bb5e44a1
Refactor bastion handler to forward every requests properly
2018-01-02 05:37:24 +01:00
Manfred Touron
b51c90a0e9
Update README
2017-12-13 11:52:19 +01:00
Manfred Touron
10f4ad49d9
Improve logging
2017-12-04 11:14:20 +01:00
Manfred Touron
7eb76c861f
Lint code + fix tests
2017-12-03 18:18:17 +01:00
Manfred Touron
3c10578584
Fix some backup/restore bugs + improve MySQL support
2017-12-02 00:01:31 +01:00
Manfred Touron
511470087b
Host key checking shared across users
2017-12-01 22:19:22 +01:00
Manfred Touron
017ee2ab39
Add MySQL support
2017-11-29 14:07:59 +01:00
Manfred Touron
86f6e87efe
Add audit log
2017-11-29 09:17:19 +01:00
Manfred Touron
0fbcc0dd41
Session management
2017-11-27 08:52:33 +01:00
Manfred Touron
1fdf37dc07
Create Session objects on each connections (history)
2017-11-27 08:22:13 +01:00
Manfred Touron
328bb0153b
Add session model
2017-11-27 07:43:52 +01:00
Manfred Touron
beeba0551b
Add 'listhosts' role ( fix #5 )
2017-11-23 18:59:59 +01:00
Manfred Touron
9cd9152a91
Switch from IsAdmin boolean to Roles
2017-11-23 17:45:16 +01:00
Manfred Touron
1bdee1a107
Refactor database helpers
2017-11-23 09:58:32 +01:00
Manfred Touron
fb4ca3d219
Use a database migration system
2017-11-19 01:30:35 +01:00
Manfred Touron
1591cbc208
Use govalidator to perform more consistent input validation
2017-11-19 01:30:13 +01:00
Manfred Touron
a087cdad09
Store and compare version in database
2017-11-15 19:17:14 +01:00
Manfred Touron
2261d27c94
Allow to set the first invite token (for testing)
2017-11-15 19:17:14 +01:00
Manfred Touron
f97c9f2878
Support assign multiple groups to hosts and users ( #2 )
2017-11-15 19:16:55 +01:00
Manfred Touron
83ad730579
Add 'config restore'
2017-11-13 23:57:52 +01:00
Manfred Touron
f03cdc095c
Add 'config backup'
2017-11-13 20:22:45 +01:00
Manfred Touron
b9d447266d
Add 'acl {create,inspect,ls,rm}' commands
2017-11-11 00:25:27 +01:00
Manfred Touron
fbb596d8f7
Add ACLs
2017-11-10 18:35:21 +01:00
Manfred Touron
2f38f0c7b4
Add some stats on 'ls' commands
2017-11-10 18:20:22 +01:00
Manfred Touron
a6518ceffd
Add 'usergroup {create,inspect,ls,rm}' commands
2017-11-10 18:06:10 +01:00
Manfred Touron
9aecb80cdc
Add 'hostgroup {create,inspect,ls,rm}' commands
2017-11-10 15:59:24 +01:00
Manfred Touron
f500aaab24
Improve mysql support
2017-11-10 15:41:06 +01:00
Manfred Touron
5cbb15d9e6
Add UserGroup and HostGroup
2017-11-08 07:57:30 +01:00
Manfred Touron
db24271ca9
Handle user invites
2017-11-07 19:44:30 +01:00
Manfred Touron
12e956dcd3
Add 'userkey {create,inspect,ls,rm}' commands
2017-11-03 23:31:46 +01:00
Manfred Touron
47d2d63f0d
Use fixed ssh host key
2017-11-03 22:54:16 +01:00
Manfred Touron
28689e1f7e
Add SSH key check + auto register of the admin account
2017-11-03 01:46:55 +01:00
Manfred Touron
e256ac66cf
Add 'user {create,inspect,ls,rm}' commands
2017-11-03 00:15:15 +01:00
Manfred Touron
cf447a84b0
Remove unimplemented group code
2017-11-02 10:27:58 +01:00
Manfred Touron
35e62e562b
Handle auth by key
2017-11-01 23:42:17 +01:00
Manfred Touron
729060f397
Add unique constraints on names with support of soft deletion
2017-11-01 23:32:36 +01:00
Manfred Touron
6d28cd6358
Create valid ssh keys + added comment field
2017-11-01 16:41:39 +01:00
Manfred Touron
61b54b8bc3
Add 'key {create,inspect,ls,rm}' commands
2017-11-01 15:48:30 +01:00
Manfred Touron
d26509d2bf
Add 'host {create,inspect,ls,rm}' commands
2017-10-31 16:22:40 +01:00
Manfred Touron
20148c913d
Small refactor
2017-10-31 09:24:18 +01:00
Manfred Touron
d7e84e615d
Add --debug options + mysql driver
2017-10-30 17:12:04 +01:00
Manfred Touron
33b8000b17
Add new demo hosts + check some errors
2017-10-30 17:01:10 +01:00
Manfred Touron
b2701e2024
Add database
2017-10-30 16:48:14 +01:00