Jump to content

Question

Posted (edited)

KeeneticOS 5.2 Beta 2 (5.02.B.2.0-2).
проверял на Ultra KN-1810.

При каждом `down`/`up` интерфейса `ProxyN` IPv4-адрес остаётся тем же, а IPv6-адрес меняется, хотя настройки интерфейса не менялись. В веб-интерфейсе управлять этим нельзя.

Воспроизведение:

Посторонние программы не нужны, слушатель на порту не требуется.

interface Proxy9
interface Proxy9 proxy protocol socks5
interface Proxy9 proxy upstream 127.0.0.1 19099
interface Proxy9 ip global auto
interface Proxy9 up
interface Proxy9 down
interface Proxy9 up
show interface Proxy9

Повторил up/down пять раз, получил:

| 1 | 172.20.12.10/32 | fc03:52b:506:a56:a0c:14ac:701f:4c05/128 |
| 2 | 172.20.12.10/32 | fc03:52b:506:a56:a0c:14ac:683b:4c05/128 |
| 3 | 172.20.12.10/32 | fc03:52b:506:a56:a0c:14ac:1158:4c05/128 |
| 4 | 172.20.12.10/32 | fc03:52b:506:a56:a0c:14ac:2d74:4c05/128 |
| 5 | 172.20.12.10/32 | fc03:52b:506:a56:a0c:14ac:5490:4c05/128 |

Адрес интерфейса попадает в `listen` конфигурации nginx, поэтому его смена заставляет каждый раз пересобирать конфигурацию. Один цикл `down`/`up` дал три строки `Http::Manager: updated configuration`.

В этих прогонах один раз поймана гонка: `[emerg] bind() to 172.20.12.10:80 failed (126: Address not available)`. Reload не прошёл из-за адреса, которого уже не было.  Для IPv6: `bind() to [fc03...]:80 failed (99: Address not available)`.

 

- Постоянный IPv6-адрес интерфейса, пока не изменились его настройки, как у IPv4.
- Если случайный адрес нужен намеренно, то настройка в веб-интерфейсе или CLI, позволяющая это выключить.
 

Edited by hoaxisr

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.