Skip to content
Snippets Groups Projects

WIP Kube exec proxy

Closed Jacob Vosmaer (GitLab) requested to merge kube-exec-proxy into master
1 unresolved thread
  • check licenses of new code
  • restrict websocket connections to signed-in GitLab users
  • disable websocket endpoint by default

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Working on security features in https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/75 to prevent conflict with demo today. cc @ayufan

  • We should think about how long a terminal websocket is supposed to last. The way this is implemented now, even if you block or remove the user from GitLab, their terminal websocket keeps working.

    If everything is quiet for long enough NGINX will terminate the websocket connection. That is not a security mechanism. So perhaps we need some sort of polling from gitlab-workhorse to gitlab-ce to see if the user is still allowed to access the terminal.

  • Added 2 commits:

    • 71cb83be - Disable terminal by default
    • 20c49518 - Verify session in gitlab-rails for terminal
  • Jacob Vosmaer (GitLab) Marked the task restrict websocket connections to signed-in GitLab users as completed

    Marked the task restrict websocket connections to signed-in GitLab users as completed

  • Jacob Vosmaer (GitLab) Marked the task disable websocket endpoint by default as completed

    Marked the task disable websocket endpoint by default as completed

  • Jacob Vosmaer (GitLab) Mentioned in merge request !75 (closed)

    Mentioned in merge request !75 (closed)

  • 45 45 var apiLimit = flag.Uint("apiLimit", 0, "Number of API requests allowed at single time")
    46 46 var apiQueueLimit = flag.Uint("apiQueueLimit", 0, "Number of API requests allowed to be queued")
    47 47 var apiQueueTimeout = flag.Duration("apiQueueDuration", queueing.DefaultTimeout, "Maximum queueing duration of requests")
    48 var websocketTerminalEnabled = flag.Bool("websocketTerminal", false, "Experimental INSECURE websocket terminal feature")
  • Maintainer

    Great work @jacobvosmaer-gitlab. This is quite the MR!

  • Added 1 commit:

    • f8b30f5d - Start 'kubectl exec' instead of bash
  • Thanks @stanhu , it contains work from Ev, I did not do it alone.

  • Jacob Vosmaer (GitLab) Marked the task check licenses of new code as completed

    Marked the task check licenses of new code as completed

  • Added 1 commit:

    • 970975b2 - Use openshift token and server from gitlab-rails
  • Added 1 commit:

    • 6d0f6739 - Reduce security: skip certificate verification
  • Nick Thomas Mentioned in merge request !83 (merged)

    Mentioned in merge request !83 (merged)

  • mentioned in commit d01ee210

  • Please register or sign in to reply
    Loading