teleport/lib/events
Russell Jones 77e8b63470 Enhanced Session Recording.
Added package cgroup to orchestrate cgroups. Only support for cgroup2
was added to utilize because cgroup2 cgroups have unique IDs that can be
used correlated with BPF events.

Added bpf package that contains three BPF programs: execsnoop,
opensnoop, and tcpconnect. The bpf package starts and stops these
programs as well  correlating their output with Teleport sessions
and emitting them to the audit log.

Added support for Teleport to re-exec itself before launching a shell.
This allows Teleport to start a child process, capture it's PID, place
the PID in a cgroup, and then continue to process. Once the process is
continued it can be tracked by it's cgroup ID.

Reduced the total number of connections to a host so Teleport does not
quickly exhaust all file descriptors. Exhausting all file descriptors
happens very quickly when disk events are emitted to the audit log which
are emitted at a very high rate.

Added tarballs for exec sessions. Updated session.start and session.end
events with additional metadata. Updated the format of session tarballs
to include enhanced events.

Added file configuration for enhanced session recording. Added code to
startup enhanced session recording and pass package to SSH nodes.
2019-12-02 15:10:39 -08:00
..
dynamoevents [Forward-port] Update audit events with additional fields. (#2655) 2019-04-17 10:16:28 -07:00
filesessions Fix error handling in audit sessions and events. 2018-07-18 15:54:51 -07:00
firestoreevents Fix context leaks 2019-09-24 11:39:44 -07:00
gcssessions Fix context leaks 2019-09-24 11:39:44 -07:00
s3sessions Validate incoming events against x509 identity. 2019-09-03 13:44:20 -07:00
test [Forward-port] Update audit events with additional fields. (#2655) 2019-04-17 10:16:28 -07:00
api.go Enhanced Session Recording. 2019-12-02 15:10:39 -08:00
api_test.go Remove message and severity fields from audit events. (#2684) 2019-05-01 09:17:01 -07:00
archive.go External events and sessions storage. 2018-03-15 12:42:43 -07:00
auditlog.go Enhanced Session Recording. 2019-12-02 15:10:39 -08:00
auditlog_test.go Validate session ID upon upload. 2019-09-03 13:44:20 -07:00
codes.go Enhanced Session Recording. 2019-12-02 15:10:39 -08:00
discard.go [Forward-port] Update audit events with additional fields. (#2655) 2019-04-17 10:16:28 -07:00
doc.go spelling cleanup 2018-11-15 12:44:51 -08:00
fields.go Validate incoming events against x509 identity. 2019-09-03 13:44:20 -07:00
filelog.go [Forward-port] Update audit events with additional fields. (#2655) 2019-04-17 10:16:28 -07:00
forward.go Enhanced Session Recording. 2019-12-02 15:10:39 -08:00
mock.go [Forward-port] Update audit events with additional fields. (#2655) 2019-04-17 10:16:28 -07:00
multilog.go [Forward-port] Update audit events with additional fields. (#2655) 2019-04-17 10:16:28 -07:00
recorder.go Log events to multiple destinations 2018-07-16 18:34:13 -07:00
sessionlog.go Enhanced Session Recording. 2019-12-02 15:10:39 -08:00
slice.pb.go Added support for nodes dialing back to cluster. 2019-04-26 15:41:45 -07:00
slice.proto Upgrade etcd backend 2018-09-10 15:58:05 -07:00
uploader.go Validate session ID upon upload. 2019-09-03 13:44:20 -07:00
writer.go Add ability to output audit logs to stdout. 2019-07-25 16:10:23 -07:00