- Aug 27, 2024
-
-
Vasilii Iakliushin authored
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/460290
-
- Apr 11, 2024
-
-
Javiera Tapia authored
-
Javiera Tapia authored
Since https://github.com/golang/crypto/commit/eb61739cd99fb244c7cd188d3c5bae54824e781d it is now possible to restrict the host_key_algorithms. This commit allows sshd to restrict them in the server config.
-
- Jan 22, 2024
-
-
Ash McKenzie authored
-
- Jan 23, 2023
-
-
- Nov 23, 2022
-
-
James Fargher authored
-
- Jun 26, 2022
-
-
Stan Hu authored
This adds support for specifying host certificates via the `host_cert_files` option and advertises the signed key to the client. This acts similarly to OpenSSH's `HostCertificate` parameter: gitlab-sshd attempts to match a host key to its certificate, and then substitutes the matching host key with a certificate signed by a trusted certificate authority's key. This is the first requirement to supporting SSH certificates. This will enable the client to trust the server if both trust a common certificate authority. The `TrustedUserCAKeys` option will need to be supported later for the server to trust all user keys signed by this certificate authority. Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/495
-
- May 23, 2022
-
-
Igor Drozdov authored
The config option is basically a copy of LoginGraceTime OpenSSH option. If an SSH connection is hanging unauthenticated, after some period of time, the connection gets canceled. The value is configurable, the server waits for 60 seconds by default.
-
Igor Drozdov authored
It seems that a lot of users rely on this, let's return it and deprecated later to make the migration less disruptive
-
- May 20, 2022
-
-
Igor Drozdov authored
We don't support diffie-hellman-group14-sha1 via OpenSSH currently Let's avoid introducing it in gitlab-sshd because it's using weak hashing algorithm
-
- May 19, 2022
-
-
Igor Drozdov authored
Issue: https://gitlab.com/gitlab-org/gitlab-shell/-/issues/576 ProxyHeaderTimeout must be small to avoid DoS risk Let's make the value configurable and 500ms by default
-
- May 18, 2022
-
-
Igor Drozdov authored
MACs, Ciphers and KEX algorithms now can be configured If the values are empty, reasonable defaults are used
-
- May 12, 2022
-
-
Igor Drozdov authored
Git clients sometimes open a connection and leave it idling, like when compressing objects. Settings like timeout client in HAProxy might cause these idle connections to be terminated. Let's send the keepalive message in order to prevent a client from closing
-
- May 10, 2022
-
-
Igor Drozdov authored
It would give us more flexibility when we decide to enable PROXY protocol
-
- Apr 25, 2022
-
-
Igor Drozdov authored
This reverts commit 3a2c8f2c47774a35d840ec8baf54341beede5d43.
-
- Apr 22, 2022
-
-
Vasilii Iakliushin authored
Contributes to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/541 Changelog: removed
-
- Mar 30, 2022
-
-
Igor Drozdov authored
-
- Mar 24, 2022
-
-
Igor Drozdov authored
-
- Jan 12, 2022
-
-
Igor Drozdov authored
The option isn't required to accept self-signed certs On the other hand, if the option set to true it makes machine-in-the-middle attack possible Let's clarify it in the code that the option is deprecated
-
- May 26, 2021
- May 24, 2021
-
-
listout authored
-
- Apr 12, 2021
-
-
Nick Thomas authored
-
- Feb 16, 2021
-
-
Ben Kochie authored
Add a basic monitoring endpoint to the sshd command. * Listen on localhost port 9122 by default. * Integrate build/version info. * Update example config. https://gitlab.com/gitlab-org/gitlab-shell/-/issues/121 Signed-off-by:
Ben Kochie <superq@gmail.com>
-
- Jan 18, 2021
-
-
Lorenz Brun authored
-
- Oct 01, 2020
-
-
Zeger-Jan van de Weg authored
The config.yml.example didn't include a field I was expecting to be there, which lead me to believe the field didn't exist. This change adds the `secret` YAML field, and describes how it interacts with the secrets_file.
-
- Aug 20, 2020
-
-
Stan Hu authored
From https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4498#note_397401883, if you specify a relative path such as: ``` external_url 'http://gitlab.example.com/gitlab' ``` gitlab-shell doesn't have a way to pass the `/gitlab` to the host. For example, let's say we have: ``` gitlab_url: "http+unix://%2Fvar%2Fopt%2Fgitlab%2Fgitlab-workhorse%2Fsocket" ``` If we have `/gitlab` as the relative path, how do we specify what is the UNIX socket path and what is the relative path? If we specify: ``` gitlab_url: "http+unix:///var/opt/gitlab/gitlab-workhorse.socket/gitlab ``` This is ambiguous. Is the socket in `/var/opt/gitlab/gitlab-workhorse.socket/gitlab` or in `/var/opt/gitlab/gitlab-workhorse.socket`? To fix this, this merge request adds an optional `gitlab_relative_url_root` config parameter: ``` gitlab_url: "http+unix://%2Fvar%2Fopt%2Fgitlab%2Fgitlab-workhorse%2Fsocket" gitlab_relative_url_root: /gitlab ``` This is only used with UNIX domain sockets to disambiguate the socket and base URL path. If `gitlab_url` uses `http://` or `https://`, then `gitlab_relative_url_root` is ignored. Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/476
-
- Jul 01, 2020
-
-
Ash McKenzie authored
-
- May 28, 2020
-
-
Justin Kromlinger authored
The unicorn replacement 'puma' uses a unix socket in the example config [1] instead of a tcp port. Using the non-existing tcp port results in "Internal API unreachable" on git operations. [1] https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/puma.rb.example#L34
-
- May 05, 2020
-
-
Ash McKenzie authored
It now lives within gitaly
-
- Oct 02, 2019
-
-
Nick Thomas authored
-
- Jun 11, 2019
-
-
Igor Drozdov authored
In order to uncomment it in the Makefile of GDK
-
- Mar 01, 2019
-
-
Andrew Newdigate authored
Adds distributed tracing instrumentation to GitLab-Shell using LabKit
-
- Sep 28, 2018
-
-
Nick Thomas authored
-
Nick Thomas authored
-
- Aug 24, 2018
-
-
Zeger-Jan van de Weg authored
Given the gitaly-* now proxy the data from the client to the Gitaly server, the environment variables aren't used. Therefor we don't have to set them either. Only exception to the rule, is the GITALY_TOKEN. These changes also remove the `GIT_TRACE` options, introduced by 192e2bd3. Part of: https://gitlab.com/gitlab-org/gitaly/issues/1300
-
- Mar 19, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jan 12, 2018
-
-
Nick Thomas authored
-
- Dec 13, 2017
-
-
Marin Jankovski authored
-
- Feb 24, 2017
-
-
Pawel Chojnacki authored
-