Jump to content

Question

Posted (edited)

Имеется Keenetic Hopper 5.0.10:

  1. Клиент в Entware подключающийся к удаленному серверу и поднимающий локальный SOCKS5 прокси
  2. В Keenetic OS настроено подключение через UI на этот прокси. (interface Proxy0)
    Установлен признак выхода в интернет через это подключение
  3. Настроен профиль PingCheck для этого интерфейса с параметрами
    ping-check profile ProxyInterface
        uri https://server.com/
        update-interval 60
        mode uri
        min-success 1
        max-fails 5
        timeout 7
        no power-cycle
    !

 

В момент когда клиент теряет соединение и уходит в режим переподключения или отключается совсем, проверка не показывает отсутствие интернета и не считает неудачные попытки подключения, а зависает в последнем удачном состоянии. При этом в логах массового появляются ошибки Proxy.

Май 5 14:30:08 Proxy0

0x76fa2eb8 socks5 session connect

 Май 5 14:30:14 ndm

PingCheck::Profile: system failed [0xcffd0498].

Май 5 14:33:19 ndm

Core::Syslog: last message repeated 7 times.

 

image.png.1a44cbb4e0b8920c56b9365af6ef147f.png

image.thumb.png.a8a0f90be7166f28ef084c1dd7ddd021.png

 

Из-за этого бесполезно включать опцию restart interface - она все рано не отработает, так как не будет соответствующего управляющего воздействия.

Хотелось бы что бы PingCheck уходил в ошибку при любом сценарии недоступности сконфигурированного профиля.

 

Edited by M.S.A

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.