Commit graph

348 commits

Author SHA1 Message Date
Manfred Touron 7c5864a9c3
Merge pull request #83 from moul/dev/moul/gomod
build: switch to go modules
2018-11-16 15:17:22 +01:00
Manfred Touron 668e34ccab
build: switch to go modules 2018-11-16 15:02:47 +01:00
Manfred Touron 95477715fc
Merge pull request #75 from vdaviot/closed_session
[FIX] session status and duration displaying properly
2018-11-16 10:19:38 +01:00
Manfred Touron ecc004a485
Merge pull request #74 from vdaviot/unset_hop
[FIX] unsetting hop on host
2018-11-16 10:18:10 +01:00
valentin.daviot 9f0657374b
unsetting work properly 2018-11-16 10:12:49 +01:00
Manfred Touron 61b7f72e94
Merge pull request #76 from vdaviot/active_session_list
[FIX] Session ls on big databases
2018-11-16 10:10:30 +01:00
Manfred Touron db000baaa5
Merge pull request #67 from moul/renovate/configure
Configure Renovate
2018-11-16 10:05:42 +01:00
valentin.daviot a1a3a29d00
session status and duration displaying properly 2018-11-16 10:03:37 +01:00
valentin.daviot 2ea73a941f
listing active session 2018-11-16 10:01:23 +01:00
valentin.daviot e860b60d20
session status and duration displaying properly 2018-11-16 10:01:23 +01:00
Manfred Touron d6be01b9b7
build: temporarily disable gometalinter before changing to another solution 2018-11-16 09:59:18 +01:00
Manfred Touron 64c8e01c33
Merge pull request #80 from ahhx/idle-timeout
add idle connection timeout and idle-timeout flag
2018-11-16 09:53:02 +01:00
ahh acce797e55 add logging 2018-11-15 13:56:10 -05:00
ahh 175fc8d68b add timeout and flag 2018-11-15 13:38:18 -05:00
Renovate Bot b9d1cf69c7
Add renovate.json 2018-08-19 01:32:26 +00:00
Manfred Touron 41eeb364f8 Ignore some circle CI tests 2018-08-18 23:43:48 +02:00
Manfred Touron a22f8f0b7b
Merge pull request #58 from adyxax/master
Added `hostgroup update` and `usergroup update` features
2018-04-06 09:34:17 +02:00
Julien Dessaux bd1c3609a7 Added hostgroup update and usergroup update features 2018-04-05 16:25:43 +02:00
Manfred Touron c5e75df64f Post-release version bump 2018-04-02 22:36:07 +02:00
Manfred Touron 6b181dd291 v1.8.0 2018-04-02 22:36:06 +02:00
Manfred Touron 4ab88cad10 fix merge 2018-04-02 22:36:06 +02:00
Manfred Touron b902953df4 Update changelog 2018-04-02 22:36:06 +02:00
Manuel Sabban e141368734 Add log for exec request. 2018-04-02 22:36:06 +02:00
Manfred Touron 980da40988 Update Readme and Changelog 2018-04-02 22:28:10 +02:00
Manfred Touron 22d25f1e70
Merge pull request #44 from sabban/tunnel
Logtunnel
2018-03-24 00:02:31 +01:00
Manfred Touron 84d77d0a9f
Merge pull request #52 from adyxax/master
Added ssh key import feature in "key import"
2018-03-23 23:29:37 +01:00
Julien Dessaux b0afdf933a Added ssh key import feature in "key import" 2018-03-21 17:48:11 +01:00
Manuel e9eef9a49e add an acceptable error management. 2018-03-19 18:06:03 +01:00
Manfred Touron 6f2b58cbdc chore: esthetics + update changelog 2018-03-14 18:17:40 +01:00
Manfred Touron 09ac2c35f3
Merge pull request #54 from jle64/dont_crash_on_missing_user
Show 'n/a' in case of missing information to avoid crashing.
2018-03-14 18:13:08 +01:00
Jonathan Lestrelin 47a6fc9906 Show 'n/a' in case of missing information to avoid crashing. 2018-03-14 17:40:48 +01:00
Manuel c3d49fde95 Merge branch 'master' of https://github.com/moul/sshportal into tunnel 2018-03-12 12:31:17 +01:00
Manfred Touron ec1e4d5c8a Update README and CHANGELOG 2018-02-28 17:22:59 +01:00
Manfred Touron e65ef7ccc1
Merge pull request #47 from mathieui/multi-hops
Implement proxied connections
2018-02-28 17:20:18 +01:00
Manfred Touron 68e7fd2090
Merge pull request #49 from moul/dev/moul/fix-mysql-delete
Fix `--assign` commands when using MySQL driver
2018-02-28 16:56:29 +01:00
Manfred Touron b958f8461f Fix commands when using MySQL driver ([#45](https://github.com/moul/sshportal/issues/45)) 2018-02-28 16:54:32 +01:00
Manfred Touron a08d84e7ed
Merge pull request #48 from moul/dev/moul/fix-make-dev-cmd
Small fixes
2018-02-28 16:29:36 +01:00
Manfred Touron 2b66d8d56a Ingore /log directory 2018-02-28 14:35:38 +01:00
Manfred Touron a40789e1f2 Fix 'make dev' rule 2018-02-28 14:35:06 +01:00
Mathieu Pasquet 63571af252 Add hops management in "host update"
- allow changing the hop set for this host
- allow removing hops altogether
2018-02-27 17:54:57 +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
Manfred Touron e6a02a85f0
Fix typo in template 2018-02-03 00:45:05 +01:00
Manuel Sabban 2c3de75f3d
Logtunnel (#1)
* * When a new channel is opened we got stuck in the select loop in
bastionsession.go, and we couldn't open a new channel. The fix is
easy it calls the bastionsession.ChannelHandler in a goroutine,
at the cost of some error management. I think this is ok because
we can allow a channel to fail on his own. This seems to be
* This add the tunnel feature, which use a new concurrent channel.
* This add some pcap logging for tunnel.
For now it is logged only one way, and the logged ip packet seems
buggy.

* Add logtunnuel as a package.
The logfile format is a tweaked version of ttyrec format file as it will be easy to review the use of human readable tunnel...

To get the ChannelHandler work as a go routine I had to deactivate lint errcheck for logcahnnel. I think this could be a problem. What is your thoughts about this ?
2018-01-18 11:20:37 +01:00
Manfred Touron 7c4aab34ed
Merge pull request #39 from moul/moul/alt/gh-tmpl
Add GitHub templates
2018-01-11 13:15:37 +01:00
Manfred Touron a8480f82e0
Merge pull request #38 from QuentinPerez/split-main
cleanup main
2018-01-11 13:15:09 +01:00
Manfred Touron a5dacca9a1
Create ISSUE_TEMPLATE.md 2018-01-08 10:04:09 +01:00
Manfred Touron 31ba233b34
Create PULL_REQUEST_TEMPLATE.md 2018-01-08 09:41:10 +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 9cc09b320d
Merge pull request #36 from moul/sabban
Add audit feature
2018-01-05 11:09:26 +01:00
Manfred Touron cb3c1056e5 Small fixes 2018-01-05 11:05:42 +01:00