Jump to content
  • 0

Wireguard сервер спамит логи


Drafted

Question

Привет! 

Настроен Wireguard на Keenetic 3.9.3. Все работает - на устройствах все подключается, интернет есть, все работает. Но после отключения клиента в логах кинетика начинается бесконечный спам:

Фев 24 21:20:25 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 18)
Фев 24 21:20:30 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 19)
Фев 24 21:20:35 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 20)
Фев 24 21:20:41 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 20 attempts, giving up
Фев 24 21:21:11 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 2)
Фев 24 21:21:16 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 3)
Фев 24 21:21:22 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 4)
Фев 24 21:21:27 kernel
wireguard: Wireguard1: handshake for peer "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" (26) (XX.XXX.XXX.XX:38319) did not complete after 5 seconds, retrying (try 5)

 

Конфигурация сервера:

 

FSViewer_2023-02-24_21-40-23.thumb.png.0ddad3fe9d9a2d8fc2e363a5d10ae628.png

Клиент:

chrome_2023-02-24_21-37-31.thumb.png.daf8cc0794761580a1dc6ee577259f7f.png

 

Не понимаю в чем дело.

Edited by Drafted
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
6 минут назад, Ульян Андреев сказал:

Аналогичная ситуация! в чем может быть дело?

Keenetic os до последней стабильной обновлена?

Link to comment
Share on other sites

  • 0

С логами, ИМХО вобще все плохо. Нет выбора уровня логирования, настройки кастомной детализации и т.д. Нужная информация чаще всего просто теряется в потоке всего.

  • Upvote 1
Link to comment
Share on other sites

  • 0

Ну все таки логи не бесконечные, через 540 секунд - ядро забывает об этом туннеле.
Ну а с уровнем логирование, это все к создателю WG
 

[I] Apr 11 18:10:21 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 5 seconds, retrying (try 18)
[I] Apr 11 18:10:27 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 5 seconds, retrying (try 19)
[I] Apr 11 18:10:32 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 5 seconds, retrying (try 20)
[I] Apr 11 18:10:37 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 20 attempts, giving up

[I] Apr 11 18:12:20 kernel: wireguard: Wireguard0: zeroing out all keys for peer "wg-key-abcd" (5) (x.x.x.x:4688), since we haven't received a new one in 540 seconds

 

Link to comment
Share on other sites

  • 0
В 11.04.2023 в 18:16, Rhon сказал:

Ну все таки логи не бесконечные, через 540 секунд - ядро забывает об этом туннеле.

 

[I] Apr 11 18:10:21 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 5 seconds, retrying (try 18)
[I] Apr 11 18:10:27 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 5 seconds, retrying (try 19)
[I] Apr 11 18:10:32 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 5 seconds, retrying (try 20)
[I] Apr 11 18:10:37 kernel: wireguard: Wireguard0: handshake for peer "wg-key-abcd" (5) (x.x.x.x:4688) did not complete after 20 attempts, giving up

[I] Apr 11 18:12:20 kernel: wireguard: Wireguard0: zeroing out all keys for peer "wg-key-abcd" (5) (x.x.x.x:4688), since we haven't received a new one in 540 seconds

 

 

Как бы не так. Последний хендшейк 10860 секунд назад, а логи до сих пор спамит. Прекращается где-то плюс минус через день.

 

chrome_2023-09-17_18-44-39.thumb.png.57707989319a93c35e0072338b5b8725.png

FSViewer_2023-09-17_18-42-34.thumb.png.7d74dcca8ec582b612a875f44f34127d.png

Link to comment
Share on other sites

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...