Skip to content

Commit

Permalink
Update library link
Browse files Browse the repository at this point in the history
  • Loading branch information
tsipinakis committed Jan 19, 2025
1 parent afc9f70 commit cd1071f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/reference/auth-webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The authentication webhook is a simple JSON `POST` request to which the server m
We have an [OpenAPI document](../api/authconfig) available for the authentication and configuration server. You can check the exact values available there, or use the OpenAPI document to generate parts of your server code.

!!! tip
We provide a [Go library](https://github.com/ContainerSSH/libcontainerssh) to create an authentication server.
We provide a [Go library](https://github.com/ContainerSSH/ContainerSSH?tab=readme-ov-file#building-a-configuration-webhook-server) to create an authentication server.

!!! warning
A warning about rate limiting: if the authentication server desires to do rate limiting for connecting users it should take into account that a user is allowed to try multiple authentication attempts (currently hard-coded to 6 per connection) before they are disconnected. Some of the authentication attempts (e.g. public keys) happen automatically on the client side without the user having any influence on them. Furthermore, ContainerSSH retries failed HTTP calls. To be effective the authentication server should count the unique connection identifiers seen in the `connectionId` field and implement a lock-out based on these.
Expand Down Expand Up @@ -155,5 +155,5 @@ All endpoints need to respond with an `application/json` response of the followi
```

!!! tip
We provide a [Go library to implement an authentication server](https://github.com/containerssh/libcontainerssh).
We provide a [Go library to implement an authentication server](https://github.com/ContainerSSH/ContainerSSH?tab=readme-ov-file#building-a-configuration-webhook-server).

4 changes: 2 additions & 2 deletions docs/reference/configserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The configuration webhook is a simple JSON `POST` request to which the server mu
We have an [OpenAPI document](../api/authconfig) available for the authentication and configuration server. You can check the exact values available there, or use the OpenAPI document to generate parts of your server code.

!!! tip
We provide a [Go library](https://github.com/ContainerSSH/libcontainerssh) to create a configuration server.
We provide a [Go library](https://github.com/ContainerSSH/ContainerSSH?tab=readme-ov-file#building-a-configuration-webhook-server) to create a configuration server.

The config server will receive a request in following format:

Expand Down Expand Up @@ -93,4 +93,4 @@ Currently only the following options can be set from the configuration server:
- [Security](security.md)

!!! tip
We provide a [Go library to implement a config server](https://github.com/containerssh/libcontainerssh).
We provide a [Go library to implement a config server](https://github.com/ContainerSSH/ContainerSSH?tab=readme-ov-file#building-a-configuration-webhook-server).

0 comments on commit cd1071f

Please sign in to comment.