Skip to content

Commit

Permalink
Update: domain for the SOCKS5 proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
altfoxie committed Jun 1, 2024
1 parent 4cf8a9a commit ad0372d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
19 changes: 11 additions & 8 deletions src/en/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,27 @@
**This method eliminates the possibility of traffic interception and image tampering.**

> [!NOTE]
> huecker.io connects only to `registry-1.docker.io` and does not make requests to other servers.
> To access other resources, specify their addresses in the `no-proxy` parameter.
> huecker.io connects only to `registry-1.docker.io` and other servers necessary for `docker.io` to work.
> To access other resources, such as `ghcr.io`, specify their addresses in the `no-proxy` parameter.
By using a SOCKS5 proxy, you receive data from docker.io without any alterations.
Additionally, the SSL certificate of docker.io is verified, reducing the risk to virtually zero.
By using a SOCKS5 proxy, you receive data from the original sources **without any modifications**.
Additionally, SSL certificate verification is performed, reducing the risk **to virtually zero**.

Config ([located here](#config-path)):
Config example ([located here](#config-path)):

```json
{
"proxies": {
"http-proxy": "socks5://95.217.168.125:1080",
"https-proxy": "socks5://95.217.168.125:1080",
"no-proxy": "*.test.example.com,.example.org,127.0.0.0/8"
"http-proxy": "socks5://socks5.huecker.io:1080",
"https-proxy": "socks5://socks5.huecker.io:1080",
"no-proxy": "ghcr.io,*.test.example.com,.example.org,127.0.0.0/8"
}
}
```

> IP: `95.217.168.125:1080`
> We recommend using a domain name, the IP address is not guaranteed to be constant.
Restart Docker (systemd):

```bash
Expand Down
19 changes: 11 additions & 8 deletions src/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,27 @@
**Этот способ исключает возможность перехвата трафика и подмены образов.**

> [!NOTE]
> Сервер huecker.io подключается только к `registry-1.docker.io` и не выполняет запросы к другим серверам.
> Для обращения к другим ресурсам, указывайте их адреса в параметре `no-proxy`.
> Прокси huecker.io подключается только к `registry-1.docker.io` и другим необходимым для работы `docker.io` серверам.
> Для обращения к другим ресурсам, например `ghcr.io`, укажите их адреса в параметре `no-proxy`.
При использовании SOCKS5 прокси, вы получаете данные от docker.io без изменений.
Вдобавок, выполняется проверка SSL сертификата docker.io, что сводит вероятность атаки практически к нулю.
При использовании SOCKS5 прокси, вы получаете данные от оригинальных источников **без изменений**.
Вдобавок, выполняется проверка SSL сертификатов, что сводит вероятность атаки **практически к нулю**.

Конфиг ([находится здесь](#config-path)):
Пример конфига ([находится здесь](#config-path)):

```json
{
"proxies": {
"http-proxy": "socks5://95.217.168.125:1080",
"https-proxy": "socks5://95.217.168.125:1080",
"no-proxy": "*.test.example.com,.example.org,127.0.0.0/8"
"http-proxy": "socks5://socks5.huecker.io:1080",
"https-proxy": "socks5://socks5.huecker.io:1080",
"no-proxy": "ghcr.io,*.test.example.com,.example.org,127.0.0.0/8"
}
}
```

> IP: `95.217.168.125:1080`
> Рекомендуем использовать доменное имя, постоянство IP не гарантируется.
Перезапуск Docker (systemd):

```bash
Expand Down

0 comments on commit ad0372d

Please sign in to comment.