ahh
a651da451e
refactor: split package main
...
sshportal refactor. Focused on splitting up package main into packages
main, dbmodels, crypto, and bastion.
2019-01-03 21:11:43 +01:00
Manfred Touron
0f294cd62d
build: switch to golangci-lint
2018-11-16 17:20:39 +01:00
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
2a68fc3114
Support having different host.Scheme
2018-01-05 10:13:45 +01:00
Manfred Touron
b23ee4144d
The default created user now has the same username as the user starting sshportal (was hardcoded admin)
2018-01-03 19:00:52 +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
b093f61fb5
Switch to hard delete
2017-11-29 10:27:04 +01:00
Manfred Touron
86f6e87efe
Add audit log
2017-11-29 09:17:19 +01:00
Manfred Touron
1fdf37dc07
Create Session objects on each connections (history)
2017-11-27 08:22:13 +01:00
Manfred Touron
4cf73e3410
Moved demo code in the README as example
2017-11-27 08:09:22 +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