Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#343 closed баг (fixed)

Не работает Keep-Alive

Reported by: san Owned by: alx
Priority: средний Milestone: 1 очередь
Component: VE-02 Keywords:
Cc:

Description (last modified by san)

У пользователя два блока:

  • 3U с платой VE-02 и модулем r422
  • Vip с модулем r422

Между блоками организовано соединение через Ethernet(спутниковый канал) и передаются/принимаются данные r422 через это соединение. На этих блоках с этими же настройками пользователь уже достаточно долго проводит тесты, 4 апреля было зафиксировано странное происшествие:

  1. Пользователь не передавал данные
  2. В какой-то момент клиент отобразил состояние подключение Error. затем начал делать циклические попытки соединиться с сервером.
  3. При этом со стороны сервера подключение продолжило отображаться в состоянии "Connected", хотя ожидалось, что подключение будет разорвано по истечению таймаута Keep-Alive+некоторое время. (пользователь ожидал время значительно большее чем значение таймаута)

Настройки устройств:



В логе сервера(детализация INFO) за это время не появилось ни одной надписи.
Лог клиента(к сожалению сам момент разрыва отсутствует во фрагменте лога)

Apr  4 09:39:47 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:39:47 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:39:47 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:40:21 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  4 09:40:21 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:40:22 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:40:22 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:40:23 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:40:57 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  4 09:40:57 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:40:58 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:40:58 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:40:58 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:41:33 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  4 09:41:33 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:41:33 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:41:33 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:41:34 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:42:08 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  4 09:42:08 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:42:09 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  4 09:42:09 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  4 09:42:10 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused

Пользователь вышел из этой ситуации перезапустив VE-02, воспроизводимость проблемы не известна.

з.ы. В нашей сети есть VIP(192.168.0.1) и 3U с платой VE-02(192.168.1.52) доступные для экспериментов. Могу отметить что в моих экспериментах разрыв по Keep-Alive срабатывал всегда.

Attachments (2)

1.png (45.6 KB ) - added by san 5 years ago.
2.png (49.2 KB ) - added by san 5 years ago.

Download all attachments as: .zip

Change History (8)

by san, 5 years ago

Attachment: 1.png added

by san, 5 years ago

Attachment: 2.png added

comment:1 by san, 5 years ago

Description: modified (diff)

comment:2 by san, 5 years ago

Проблема воспроизвелась снова, в этот раз пользователь запустил tcpdump:

Время на блоках одинаковое.
tcpdump запущен так: tcpdump -v -s1514 host 198.18.1.34

Логи VIP:

Apr  7 10:00:38 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:01:12 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:01:12 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:01:12 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:01:12 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:01:13 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:01:47 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:01:47 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:01:48 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:01:48 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:01:48 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:02:22 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:02:22 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:02:23 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:02:23 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:02:23 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:02:57 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:02:57 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:02:58 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:02:58 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:02:59 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:03:33 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:03:33 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:03:33 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:03:33 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:03:34 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:04:08 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:04:08 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:04:09 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:04:09 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:04:09 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:04:43 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:04:43 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:04:44 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:04:44 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:04:44 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:05:18 comcerto daemon.info sip_ua[437]: r232.cpp:381: module 1: looking up 192.168.5.16...
Apr  7 10:05:18 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:05:19 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused
Apr  7 10:05:19 comcerto daemon.info sip_ua[437]: r232.cpp:437: module 1: connecting to 192.168.5.16 port 12912...
Apr  7 10:05:20 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused


Дамп 3U (сервер):

10:02:23.288051 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.36157: Flags [R.], cksum 0x645d (correct), seq 0, ack 105707660, win 0, length 0
10:02:23.911884 IP (tos 0x0, ttl 58, id 14109, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.36158 > 192.168.5.16.12912: Flags [S], cksum 0xf245 (correct), seq 167448426, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:02:23.912031 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.36158: Flags [R.], cksum 0x49cf (correct), seq 0, ack 167448427, win 0, length 0
10:02:58.576196 IP (tos 0x0, ttl 58, id 22627, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.36159 > 192.168.5.16.12912: Flags [S], cksum 0x5afd (correct), seq 2454330978, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:02:58.576359 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.36159: Flags [R.], cksum 0xb286 (correct), seq 0, ack 2454330979, win 0, length 0
10:02:59.200241 IP (tos 0x0, ttl 58, id 27226, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.36160 > 192.168.5.16.12912: Flags [S], cksum 0x49c2 (correct), seq 2513185818, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:02:59.200384 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.36160: Flags [R.], cksum 0xa14b (correct), seq 0, ack 2513185819, win 0, length 0
10:03:33.831552 IP (tos 0x0, ttl 58, id 25775, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.36161 > 192.168.5.16.12912: Flags [S], cksum 0xb26b (correct), seq 567490409, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:03:33.831700 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.36161: Flags [R.], cksum 0x09f5 (correct), seq 0, ack 567490410, win 0, length 0
10:03:34.455549 IP (tos 0x0, ttl 58, id 42224, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51098 > 192.168.5.16.12912: Flags [S], cksum 0xbcab (correct), seq 598536438, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:03:34.455693 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51098: Flags [R.], cksum 0x1435 (correct), seq 0, ack 598536439, win 0, length 0
10:04:09.093619 IP (tos 0x0, ttl 58, id 51785, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51099 > 192.168.5.16.12912: Flags [S], cksum 0x76e0 (correct), seq 2930224069, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:04:09.093765 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51099: Flags [R.], cksum 0xce69 (correct), seq 0, ack 2930224070, win 0, length 0
10:04:09.717643 IP (tos 0x0, ttl 58, id 41946, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51100 > 192.168.5.16.12912: Flags [S], cksum 0x5cc9 (correct), seq 2993472022, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:04:09.717791 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51100: Flags [R.], cksum 0xb452 (correct), seq 0, ack 2993472023, win 0, length 0
10:04:44.351949 IP (tos 0x0, ttl 58, id 59158, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51101 > 192.168.5.16.12912: Flags [S], cksum 0x0ddd (correct), seq 992643140, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:04:44.352095 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51101: Flags [R.], cksum 0x6566 (correct), seq 0, ack 992643141, win 0, length 0
10:04:44.975964 IP (tos 0x0, ttl 58, id 23255, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51102 > 192.168.5.16.12912: Flags [S], cksum 0x5ce7 (correct), seq 1058878790, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:04:44.976125 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51102: Flags [R.], cksum 0xb470 (correct), seq 0, ack 1058878791, win 0, length 0
10:05:19.612102 IP (tos 0x0, ttl 58, id 38285, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51103 > 192.168.5.16.12912: Flags [S], cksum 0x20e4 (correct), seq 3352357012, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:05:19.612279 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51103: Flags [R.], cksum 0x786d (correct), seq 0, ack 3352357013, win 0, length 0
10:05:20.262107 IP (tos 0x0, ttl 58, id 35305, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.51104 > 192.168.5.16.12912: Flags [S], cksum 0x11cd (correct), seq 3402298544, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:05:20.262265 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.51104: Flags [R.], cksum 0x6956 (correct), seq 0, ack 3402298545, win 0, length 0


Дополнительно снял дамп VIP (клиент):

root@comcerto:/tmp# tcpdump -v -s1514 host 192.168.5.16
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 1514 bytes
10:13:33.872029 IP (tos 0x0, ttl 64, id 295, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48162 > 192.168.5.16.12912: Flags [S], cksum 0x18a0 (correct), seq 2228830029, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:13:34.495494 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48162: Flags [R.], cksum 0x7029 (correct), seq 0, ack 2228830030, win 0, length 0
10:13:34.497111 IP (tos 0x0, ttl 64, id 51434, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48163 > 192.168.5.16.12912: Flags [S], cksum 0x5d54 (correct), seq 2301490755, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:13:35.145497 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48163: Flags [R.], cksum 0xb4dd (correct), seq 0, ack 2301490756, win 0, length 0
10:14:09.103263 IP (tos 0x0, ttl 64, id 49208, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48164 > 192.168.5.16.12912: Flags [S], cksum 0x3bc5 (correct), seq 350850070, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:14:09.734795 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48164: Flags [R.], cksum 0x934e (correct), seq 0, ack 350850071, win 0, length 0
10:14:09.736179 IP (tos 0x0, ttl 64, id 34098, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48165 > 192.168.5.16.12912: Flags [S], cksum 0xfdf4 (correct), seq 359647583, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:14:10.355778 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48165: Flags [R.], cksum 0x557e (correct), seq 0, ack 359647584, win 0, length 0
10:14:44.395823 IP (tos 0x0, ttl 64, id 27376, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48166 > 192.168.5.16.12912: Flags [S], cksum 0x08a4 (correct), seq 2702717702, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:14:45.021963 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48166: Flags [R.], cksum 0x602d (correct), seq 0, ack 2702717703, win 0, length 0
10:14:45.025008 IP (tos 0x0, ttl 64, id 11524, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48167 > 192.168.5.16.12912: Flags [S], cksum 0xc099 (correct), seq 2767615793, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:14:45.671944 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48167: Flags [R.], cksum 0x1823 (correct), seq 0, ack 2767615794, win 0, length 0
10:15:19.657006 IP (tos 0x0, ttl 64, id 52451, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48168 > 192.168.5.16.12912: Flags [S], cksum 0x03d6 (correct), seq 764193630, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:15:20.274211 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48168: Flags [R.], cksum 0x5b5f (correct), seq 0, ack 764193631, win 0, length 0
10:15:20.277407 IP (tos 0x0, ttl 64, id 25438, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48169 > 192.168.5.16.12912: Flags [S], cksum 0xa7a9 (correct), seq 812713125, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:15:20.917230 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48169: Flags [R.], cksum 0xff32 (correct), seq 0, ack 812713126, win 0, length 0
10:15:54.906183 IP (tos 0x0, ttl 64, id 25240, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48170 > 192.168.5.16.12912: Flags [S], cksum 0x0c98 (correct), seq 3104577306, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:15:55.529469 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48170: Flags [R.], cksum 0x6421 (correct), seq 0, ack 3104577307, win 0, length 0
10:15:55.532301 IP (tos 0x0, ttl 64, id 63653, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48171 > 192.168.5.16.12912: Flags [S], cksum 0x9263 (correct), seq 3170143589, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:15:56.172477 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48171: Flags [R.], cksum 0xe9ec (correct), seq 0, ack 3170143590, win 0, length 0
10:16:30.158055 IP (tos 0x0, ttl 64, id 42024, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48172 > 192.168.5.16.12912: Flags [S], cksum 0x6cb8 (correct), seq 1217865581, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:16:30.775022 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48172: Flags [R.], cksum 0xc441 (correct), seq 0, ack 1217865582, win 0, length 0
10:16:30.777883 IP (tos 0x0, ttl 64, id 38887, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48173 > 192.168.5.16.12912: Flags [S], cksum 0x7efd (correct), seq 1230640228, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:16:31.425029 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48173: Flags [R.], cksum 0xd686 (correct), seq 0, ack 1230640229, win 0, length 0
10:17:05.416274 IP (tos 0x0, ttl 64, id 35511, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48174 > 192.168.5.16.12912: Flags [S], cksum 0xec45 (correct), seq 3568835516, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:17:06.025279 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48174: Flags [R.], cksum 0x43cf (correct), seq 0, ack 3568835517, win 0, length 0
10:17:06.027398 IP (tos 0x0, ttl 64, id 20008, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48175 > 192.168.5.16.12912: Flags [S], cksum 0x24cd (correct), seq 3633045344, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:17:06.661289 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48175: Flags [R.], cksum 0x7c56 (correct), seq 0, ack 3633045345, win 0, length 0
10:17:40.626039 IP (tos 0x0, ttl 64, id 53963, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48176 > 192.168.5.16.12912: Flags [S], cksum 0x3013 (correct), seq 1620986887, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:17:41.242553 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48176: Flags [R.], cksum 0x879c (correct), seq 0, ack 1620986888, win 0, length 0
10:17:41.245608 IP (tos 0x0, ttl 64, id 7710, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48177 > 192.168.5.16.12912: Flags [S], cksum 0xf70d (correct), seq 1687519508, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:17:41.913581 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48177: Flags [R.], cksum 0x4e97 (correct), seq 0, ack 1687519509, win 0, length 0
10:18:15.908122 IP (tos 0x0, ttl 64, id 59180, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48178 > 192.168.5.16.12912: Flags [S], cksum 0xa407 (correct), seq 3975564216, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:18:16.546214 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48178: Flags [R.], cksum 0xfb90 (correct), seq 0, ack 3975564217, win 0, length 0
10:18:16.549477 IP (tos 0x0, ttl 64, id 40546, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48179 > 192.168.5.16.12912: Flags [S], cksum 0xb8b2 (correct), seq 4048302774, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:18:17.196235 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48179: Flags [R.], cksum 0x103c (correct), seq 0, ack 4048302775, win 0, length 0
10:18:51.156007 IP (tos 0x0, ttl 64, id 46242, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48269 > 192.168.5.16.12912: Flags [S], cksum 0x4fd7 (correct), seq 2106199802, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:18:51.788493 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48269: Flags [R.], cksum 0xa760 (correct), seq 0, ack 2106199803, win 0, length 0
10:18:51.791292 IP (tos 0x0, ttl 64, id 61932, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48270 > 192.168.5.16.12912: Flags [S], cksum 0x12f4 (correct), seq 2113031028, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:18:52.452493 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48270: Flags [R.], cksum 0x6a7d (correct), seq 0, ack 2113031029, win 0, length 0
10:19:26.409866 IP (tos 0x0, ttl 64, id 3194, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48271 > 192.168.5.16.12912: Flags [S], cksum 0x0e46 (correct), seq 162514020, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:19:27.069574 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48271: Flags [R.], cksum 0x65cf (correct), seq 0, ack 162514021, win 0, length 0
10:19:27.072741 IP (tos 0x0, ttl 64, id 63908, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48272 > 192.168.5.16.12912: Flags [S], cksum 0x9cc6 (correct), seq 231551429, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:19:27.712576 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48272: Flags [R.], cksum 0xf44f (correct), seq 0, ack 231551430, win 0, length 0
10:20:01.677929 IP (tos 0x0, ttl 64, id 29178, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48273 > 192.168.5.16.12912: Flags [S], cksum 0xa26c (correct), seq 2513151007, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:20:02.287843 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48273: Flags [R.], cksum 0xf9f5 (correct), seq 0, ack 2513151008, win 0, length 0
10:20:02.289249 IP (tos 0x0, ttl 64, id 22747, offset 0, flags [DF], proto TCP (6), length 52)
    198.18.1.34.48274 > 192.168.5.16.12912: Flags [S], cksum 0xb3bf (correct), seq 2577239801, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 2], length 0
10:20:02.901847 IP (tos 0x0, ttl 59, id 0, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.5.16.12912 > 198.18.1.34.48274: Flags [R.], cksum 0x0b49 (correct), seq 0, ack 2577239802, win 0, length 0
Last edited 5 years ago by san (previous) (diff)

in reply to:  2 comment:3 by alx, 5 years ago

Replying to san:

Проблема воспроизвелась снова,

Логи VIP:

Apr  7 10:00:38 comcerto daemon.err sip_ua[437]: r232.cpp:250: module 1: cannot connect: Connection refused

А почему опять лог приведен не полностью? Фрагмен начинается с попытки установки нового соединения. А где начало события, то есть потеря имевшегося соединения?

comment:4 by san, 5 years ago

Видимо сколько было, окно терминала возможно не большое. Спрошу у пользователя есть ли начало.

comment:5 by alx, 5 years ago

Resolution: fixed
Status: newclosed

In 1740/sip_ua:

Исправлена ошибка: окончание R422 не устанавливало TCP_KEEPALIVE при входящем подключении в режиме сарвера.
Closes #343.

Version 0, edited 5 years ago by alx (next)

in reply to:  4 comment:6 by alx, 5 years ago

Replying to san:

Видимо сколько было, окно терминала возможно не большое. Спрошу у пользователя есть ли начало.

Не стоит, это же не имеет отношения к проблеме. Просто меня удивило приведение фрагмента лога, который начинается заведомо позже произошедшего события... :)

Note: See TracTickets for help on using tickets.