Commit Graph
3294 Commits
Author SHA1 Message Date
Ev Kontsevoy 36dff671be Merge branch 'master' into sasha/onelogin 2017-12-01 16:16:43 -08:00
Sasha Klizhentas f400565964 add one login docs 2017-12-01 16:09:04 -08:00
Ev Kontsevoy 53134411e1 Merge pull request #1477 from gravitational/roman/prodocs
Update docs with license info
2017-12-01 10:01:22 -08:00
Ev Kontsevoy ff7dfd6c2d Merge branch 'master' into roman/prodocs 2017-12-01 10:01:14 -08:00
Ev Kontsevoy 829523d1bd Merge pull request #1488 from gravitational/sasha/auth
Add examples to authentication.
2017-12-01 09:36:05 -08:00
Sasha Klizhentas 2fd373ee64 Add examples to authentication.
Fix documentation that lacks concrete examples of how to set up
authentication preferences.
2017-12-01 09:30:34 -08:00
Alexander Klizhentas ced54aaeeb Merge pull request #1483 from gravitational/sasha/token
add ttl support for invite tokens, fixes #1474
2017-11-29 13:54:02 -08:00
Sasha Klizhentas 4d0c9cedef update submodule 2017-11-29 13:46:04 -08:00
Sasha Klizhentas 427c651d75 Merge branch 'master' into sasha/token 2017-11-29 13:32:02 -08:00
Roman Tkachenko 99c9430718 Merge pull request #1484 from gravitational/roman/testlicense
Fix docker flow for enterprise
2017-11-29 12:54:37 -08:00
Roman Tkachenko 3667a1a773 Update e reference 2017-11-29 12:51:18 -08:00
Roman Tkachenko 2109720483 Fix docker flow for enterprise 2017-11-29 12:41:37 -08:00
Sasha Klizhentas 4b39fcf4d2 couple of UX tweaks 2017-11-29 11:28:24 -08:00
Sasha Klizhentas b1f502a0f3 add ttl support for invite tokens, fixes #1474 2017-11-28 19:39:12 -08:00
Alexander Klizhentas 2c998534aa Merge pull request #1473 from gravitational/sasha/mux
SSH/TLS multiplexer with Proxy protocol support
2017-11-26 14:07:22 -08:00
Sasha Klizhentas 5778537999 Merge branch 'master' into sasha/mux 2017-11-26 13:59:46 -08:00
Sasha Klizhentas 5c3139f111 add comment to explain two attempts 2017-11-26 13:53:30 -08:00
Roman Tkachenko 9c362b2add Merge branch 'master' into roman/prodocs 2017-11-24 14:52:57 -08:00
Roman Tkachenko bfebc648dc Merge pull request #1475 from gravitational/roman/tcschema
Fix trusted cluster extension schema
2017-11-24 14:52:05 -08:00
Roman Tkachenko 1956714df9 Add section about license file 2017-11-24 14:07:26 -08:00
Roman Tkachenko ca24536a46 Merge branch 'master' into roman/prodocs 2017-11-24 13:41:16 -08:00
Roman Tkachenko 02c027d2ea Fix trusted cluster extension schema 2017-11-24 13:35:41 -08:00
Sasha Klizhentas f8dba76147 SSH/TLS multiplexer with Proxy protocol support
This commit aadds multiplexer library of SSH/TLS on the same
listener socket. The multiplexer detects the protocol by the first
3 bytes of the incoming connection and forwards wrapped
connection either to the SSH ot TLS listeners.

The library also supports PROXY line protocol
and wraps connection information with connection details
from the proxy line received by the server
2017-11-23 14:50:28 -08:00
Alexander Klizhentas 27a4b69651 Merge pull request #1470 from gravitational/roman/update-e
Update e reference
2017-11-22 18:14:09 -08:00
Roman Tkachenko 2d1515dec5 Update e reference 2017-11-22 18:09:53 -08:00
Roman Tkachenko 178915123d Merge pull request #1455 from gravitational/roman/reporting
License and usage metrics support
2017-11-21 18:32:08 -08:00
Roman Tkachenko 5769a4f6db Add license file and new audit event info to docs 2017-11-21 18:21:48 -08:00
Roman Tkachenko 143b834e57 Changes for the upcoming teleport pro:
* Allow external audit log plugins
* Add support for auth API server plugins
* Add license file path configuration parameter (not used in open-source)
* Extend audit log with user login events
2017-11-21 17:35:58 -08:00
Alexander Klizhentas c66e7f9275 Merge pull request #1467 from gravitational/sasha/resolve
add rule checks and evaluation priorities
2017-11-21 16:38:27 -08:00
Sasha Klizhentas ab7bb2862d add comments 2017-11-21 16:11:34 -08:00
Sasha Klizhentas c4a72fd353 add rule checks and evaluation priorities
This commit improves error handling and improves rule evaluatons
by introducing rule priorities.

Roles are now checked for syntax errors in 'where' and 'actions'
sections what was not done before.

In case if several equivalent rules are specified, new rule
evaluations are now going into effect:

More specific rule will be matched first.

* Rule matching wildcard resource is less specific
than same rule matching specific resourc
* Rule that has wildcard verbs is less specific
than the same rules matching specific verb
* Rule that has where section is more specific
than the same rule without where section
* Rule that has actions list is more specific than
rule without actions list.
2017-11-21 15:15:09 -08:00
Alexander Klizhentas 7861243453 Merge pull request #1466 from gravitational/sasha/revendor
revendor trace and logger, fixes #1450
2017-11-20 13:38:05 -08:00
Sasha Klizhentas db4952b788 revendor trace and logger, fixes #1450 2017-11-20 12:08:56 -08:00
Alexander Klizhentas 224b085e82 Merge pull request #1464 from gravitational/sasha/fixclose
fixes issue with race on closed listener
2017-11-17 18:37:47 -08:00
Sasha Klizhentas 315ba11654 fixes issue with race on closed listener 2017-11-17 18:30:02 -08:00
Alexander Klizhentas d428fc3ce9 Merge pull request #1463 from gravitational/sasha/adm
make audit accessible by admin group members
2017-11-17 18:10:49 -08:00
Sasha Klizhentas f8c715ef41 make audit accessible by admin group members
If user running teleport is a member of adm group
create the directory and all subdirectories
accessible to admins.

Remove obsolete migrations required for pre 2.3 releases.
2017-11-17 17:58:34 -08:00
Alexander Klizhentas 09875cc972 Merge pull request #1460 from gravitational/sasha/fixleak
fix audit log file leak, fixes #1433
2017-11-16 15:23:30 -08:00
Sasha Klizhentas 4089574f53 fix delays and offsets, address review comments 2017-11-16 14:43:35 -08:00
Sasha Klizhentas 965c0e2848 address code review changes 2017-11-16 10:31:52 -08:00
Sasha Klizhentas fed7d2f116 fix audit log file leak, fixes #1433
This is a fix for file leak in audit log server caused
by design issue:

Session file descriptors in audit log were opened on demand
when the session event or byte stream chunk  was reported.

AuditLog server relied on SessionEnd event to close the
file descriptors associated with the session.

However, when SessionEnd event does not arrive (e.g.
there is a timeout or disconnect), the file descriptors
were not closed. This commit adds periodic clean up
of inactive sessions.

SessionEnd is now used as an optimization measure
to close the files, but is not used as the only
trigger to close files.

Now, inactive idle sessions, will close file descriptors
after periods of inactivity and will reopen the file
descriptors when the session activity resumes.

SessionLogger was not designed to open/close files
multiple times as it was reseting offsets
every time the session files were opened. This
change fixes this condition as well.
2017-11-15 18:39:27 -08:00
Russell Jones 02bf797173 Merge pull request #1457 from gravitational/rjones/forward-agent-web
Allow agent forwarding from Web UI and tsh
2017-11-15 16:36:16 -08:00
Russell Jones 9ad600d39b Forwarding to proxy is controlled by a global out-of-band
request. Always forward Teleport agent to node in Web UI.
Support the -A flag in tsh to optionally forward agent to
node in CLI.
2017-11-16 00:11:25 +00:00
Russell Jones a4191870b7 Merge pull request #1453 from gravitational/rjones/fix-agent-forward
Agent Forwarding Refactoring
2017-11-15 11:30:24 -08:00
Russell Jones ad041465e2 Code review comments. 2017-11-15 19:25:21 +00:00
Russell Jones d346c10c37 Consolidate and refactor authorization and authentication handlers. 2017-11-14 16:43:33 -08:00
Alexander Klizhentas 43aabcbfa2 Merge pull request #1448 from gravitational/sasha/dynamo
Sasha/dynamo
2017-11-13 11:46:11 -08:00
Sasha Klizhentas 43c2515f8c address code review comments 2017-11-13 10:10:04 -08:00
Sasha Klizhentas e9599f2138 Merge branch 'master' into sasha/dynamo 2017-11-13 09:53:43 -08:00
Alexander Klizhentas 8bada63dde Merge pull request #1449 from gravitational/sasha/adjust-session-ttl
adjust session TTL for requested certs
2017-11-10 20:52:47 -08:00