Проблема с IPTV IGMPPROXY

Настройка сетевых служб, маршрутизации, фаерволлов. Проблемы с сетевым оборудованием.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Виктор
проходил мимо
Сообщения: 2
Зарегистрирован: 2011-09-27 21:37:36

Проблема с IPTV IGMPPROXY

Непрочитанное сообщение Виктор » 2011-09-27 22:05:48

Код: Выделить всё

Sep 27 23:55:19 gateway root: /etc/rc.d/sysctl: WARNING: sysctl kern.ps_showwallprocs does not exist.
Sep 27 23:55:19 gateway root: /etc/rc.d/sysctl: WARNING: sysctl net.link.ether.bridge.enable does not exist.
Sep 27 23:55:19 gateway root: /etc/rc.d/sysctl: WARNING: sysctl net.link.ether.bridge.config does not exist.
Sep 27 23:55:19 gateway root: /etc/rc.d/sysctl: WARNING: sysctl net.link.bridge.pfil_memeber does not exist.

Здравствуйте.
Поблема с IGMPPROXY.

Ставил с портов pkg_version –v показал:

Код: Выделить всё

igmpproxy-0.1_1,1                   =   up-to-date with port
Система FreeBSD 7.2 - p8. В качестве роутера между локальной сетью и провайдером. Нужно нормально пробросить multicast в локальную сеть и вещать там на клиентов IPTV.
В ядре options MROUTING

Настроил как все пишут. Работает. НО! Зависает картинка и голос при просмотре на плеере через 1-2 минуты. Заметил что интервал зависания на канале зависит от самого канала.
Конфигурация файла igmpproxy.conf

Код: Выделить всё

 ########################################################
##------------------------------------------------------
## Enable Quickleave mode (Sends Leave instantly)
##------------------------------------------------------
quickleave
##------------------------------------------------------
## Configuration for eth0 (Upstream Interface)
##------------------------------------------------------
phyint rl1 upstream  ratelimit 0  threshold 1
        altnet 82.193.97.160/30
##------------------------------------------------------
## Configuration for eth1 (Downstream Interface)
##------------------------------------------------------
phyint rl0 downstream  ratelimit 0  threshold 1
phyint tap0 downstream ratelimit 0  threshold 1
phyint bridge0 downstream ratelimit 0 threshold 1
#------------------------------------------------------
## Configuration for eth2 (Disabled Interface)
##------------------------------------------------------
phyint lo0 disabled
phyint vr0 disabled
rl1 – внешний интерфейс
rl0 – внутренний интерфейс
tap0 – openvpn
bridge0 – на нему стоит мост

[gateway] /letc# tcpdump -i rl1 igmp

Код: Выделить всё

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
00:53:11.919644 IP unused-213.111.122.163.bilink.ua > all-routers.mcast.net: igmp leave 235.1.1.1
00:53:11.946306 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 20] [gaddr 235.1.1.1]
00:53:12.041321 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 10] [gaddr 235.1.1.1]
00:53:12.228563 IP 172.28.13.1 > 239.255.255.250: igmp query v2 [max resp time 10] [gaddr 239.255.255.250]
00:53:20.894394 IP 0.0.0.0 > all-systems.mcast.net: igmp query v2
00:53:20.915491 IP 172.28.13.1 > all-systems.mcast.net: igmp query v2
00:53:21.863379 IP unused-213.111.122.163.bilink.ua > all-routers.mcast.net: igmp leave 235.1.1.1
00:53:21.907082 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 20] [gaddr 235.1.1.1]
00:53:22.033557 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 10] [gaddr 235.1.1.1]
00:53:30.852336 IP 172.28.13.1 > 239.255.255.250: igmp query v2 [max resp time 10] [gaddr 239.255.255.250]
00:53:31.955115 IP unused-213.111.122.163.bilink.ua > all-routers.mcast.net: igmp leave 235.1.1.1
00:53:31.989858 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 20] [gaddr 235.1.1.1]
00:53:32.141724 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 10] [gaddr 235.1.1.1]
00:53:41.952329 IP unused-213.111.122.163.bilink.ua > all-routers.mcast.net: igmp leave 235.1.1.1
00:53:41.979166 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 20] [gaddr 235.1.1.1]
00:53:42.097272 IP 172.28.13.1 > 235.1.1.1: igmp query v2 [max resp time 10] [gaddr 235.1.1.1]

Вывод команды tcpdump -i rl1 во время воспроизведения IPTV на плеере в локальной сети

Код: Выделить всё

00:56:10.728721 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.731763 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.731937 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.734981 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.735147 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.738209 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.738383 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.741467 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.741643 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.744704 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.744874 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.747983 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.748171 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.751301 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.751475 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.754455 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.754629 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.757704 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.757871 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.760963 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.761133 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.764215 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.764389 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.767511 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.767683 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.769810 arp who-has unused-213.111.85.243.bilink.ua tell unused-213.111.84.1.bilink.ua
00:56:10.770749 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.770921 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.774022 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.774211 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.777302 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
00:56:10.777471 IP gateway.7i.org.ua.callbook > salvoless.thick.volia.net.61839: UDP, length 1393
00:56:10.780602 IP 82.193.97.162.transport.ip.net.ua.37266 > 239.23.1.14.1234: UDP, length 1316
Лог /var/log/messages

Код: Выделить всё

Sep 28 00:35:40 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:35:56 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:36:07 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:36:27 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:36:27 gateway last message repeated 2 times
Sep 28 00:38:32 gateway last message repeated 5 times
Sep 28 00:38:54 gateway igmpproxy[2451]: The source address 192.168.255.3 for group 239.255.255.250, is not in any valid net
Sep 28 00:39:10 gateway last message repeated 3 times
Sep 28 00:39:36 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:40:37 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:40:37 gateway last message repeated 14 times
Sep 28 00:40:46 gateway su: jack to root on /dev/ttyp0
Sep 28 00:42:34 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:42:42 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:42:42 gateway last message repeated 10 times
Sep 28 00:44:47 gateway last message repeated 15 times
Sep 28 00:45:42 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:46:52 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:46:52 gateway last message repeated 18 times
Sep 28 00:48:57 gateway last message repeated 18 times
Sep 28 00:49:19 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:51:02 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:51:02 gateway last message repeated 15 times
Sep 28 00:52:30 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:53:07 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:53:07 gateway last message repeated 9 times
Sep 28 00:53:08 gateway kernel: rl1: promiscuous mode enabled
Sep 28 00:53:43 gateway kernel: rl1: promiscuous mode disabled
Sep 28 00:55:12 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:55:12 gateway last message repeated 12 times
Sep 28 00:55:43 gateway kernel: rl1: promiscuous mode enabled
Sep 28 00:56:01 gateway igmpproxy[2451]: No interfaces found for source 0.0.0.0
Sep 28 00:56:11 gateway kernel: rl1: promiscuous mode disabled
Sep 28 00:57:17 gateway igmpproxy[2451]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 00:57:17 gateway last message repeated 15 times
Вот лог с igmpproxy –vv /usr/local/etc/igmpproxy.conf

Код: Выделить всё

Sep 28 01:00:13 gateway igmpproxy[35240]: adding VIF, Ix 0 Fl 0x0 IP 0x01ffa8c0 rl0, Threshold: 2, Ratelimit: 0
Sep 28 01:00:13 gateway igmpproxy[35240]: adding VIF, Ix 1 Fl 0x0 IP 0x857a6fd5 rl1, Threshold: 1, Ratelimit: 0
Sep 28 01:00:13 gateway igmpproxy[35240]: joinMcGroup: 224.0.0.2 on rl0
Sep 28 01:00:13 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.1   to 224.0.0.2
Sep 28 01:00:13 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:13 gateway igmpproxy[35240]: RECV Membership query   from 192.168.255.1   to 224.0.0.1
Sep 28 01:00:13 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.1   to 224.0.0.2
Sep 28 01:00:13 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:17 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.250 to 239.255.255.250
Sep 28 01:00:17 gateway igmpproxy[35240]: joinMcGroup: 239.255.255.250 on rl1
Sep 28 01:00:17 gateway igmpproxy[35240]: RECV V2 member report   from 213.111.122.133 to 239.255.255.250
Sep 28 01:00:17 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:19 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.250 to 224.0.0.252
Sep 28 01:00:19 gateway igmpproxy[35240]: joinMcGroup: 224.0.0.252 on rl1
Sep 28 01:00:19 gateway igmpproxy[35240]: RECV V2 member report   from 213.111.122.133 to 224.0.0.252
Sep 28 01:00:19 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:20 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.3   to 239.192.152.143
Sep 28 01:00:20 gateway igmpproxy[35240]: joinMcGroup: 239.192.152.143 on rl1
Sep 28 01:00:23 gateway igmpproxy[35240]: RECV V2 member report   from 213.111.122.133 to 239.255.255.250
Sep 28 01:00:23 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:26 gateway igmpproxy[35240]: RECV V2 member report   from 213.111.122.133 to 224.0.0.252
Sep 28 01:00:26 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:41 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.2   to 239.23.1.14
Sep 28 01:00:41 gateway igmpproxy[35240]: joinMcGroup: 239.23.1.14 on rl1
Sep 28 01:00:41 gateway igmpproxy[35240]: RECV V2 member report   from 213.111.122.133 to 239.23.1.14
Sep 28 01:00:41 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:41 gateway igmpproxy[35240]: Adding MFC: 82.193.97.162 -> 239.23.1.14, InpVIf: 1
Sep 28 01:00:41 gateway igmpproxy[35240]: RECV Leave message      from 192.168.255.2   to 224.0.0.2
Sep 28 01:00:41 gateway igmpproxy[35240]: leaveMcGroup: 239.23.1.14 on rl1
Sep 28 01:00:44 gateway igmpproxy[35240]: RECV Membership query   from 192.168.255.1   to 224.0.0.1
Sep 28 01:00:44 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.3   to 239.192.152.143
Sep 28 01:00:46 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.2   to 224.0.0.252
Sep 28 01:00:47 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.1   to 224.0.0.2
Sep 28 01:00:47 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:49 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.250 to 239.255.255.250
Sep 28 01:00:49 gateway igmpproxy[35240]: RECV Leave message      from 192.168.255.2   to 224.0.0.2
Sep 28 01:00:49 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.2   to 239.23.2.24
Sep 28 01:00:49 gateway igmpproxy[35240]: joinMcGroup: 239.23.2.24 on rl1
Sep 28 01:00:49 gateway igmpproxy[35240]: RECV V2 member report   from 213.111.122.133 to 239.23.2.24
Sep 28 01:00:49 gateway igmpproxy[35240]: The IGMP message was from myself. Ignoring.
Sep 28 01:00:49 gateway igmpproxy[35240]: Adding MFC: 82.193.97.162 -> 239.23.2.24, InpVIf: 1
Sep 28 01:00:52 gateway igmpproxy[35240]: RECV Leave message      from 192.168.255.2   to 224.0.0.2
Sep 28 01:00:52 gateway igmpproxy[35240]: leaveMcGroup: 239.23.2.24 on rl1
Sep 28 01:00:52 gateway igmpproxy[35240]: RECV V2 member report   from 192.168.255.2   to 239.23.1.14
Помогите пожалуйста расобратцо!! ?
Уже мучаюсь 2 дня.
Если через zyxel keenetic lite то зависаний нет – все прекрасно работает.
НО из-за IPTV заменять FreeBSD на линух или на той конченный зуксель не охота.

Всем спасибо!
Последний раз редактировалось terminus 2011-10-06 20:17:08, всего редактировалось 1 раз.
Причина: Убедительная просьба юзать теги [code] при оформлении листингов.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Виктор
проходил мимо
Сообщения: 2
Зарегистрирован: 2011-09-27 21:37:36

Re: Проблема с IPTV IGMPPROXY

Непрочитанное сообщение Виктор » 2011-09-27 22:11:39

Вот что есть в логах за 10-5 сек до зависания канала на плеере.

Код: Выделить всё

Sep 28 01:09:57 gateway igmpproxy[35341]: MRT_ADD_MEMBERSHIP failed; Errno(22): Invalid argument
Sep 28 01:10:15 gateway igmpproxy[35341]: MRT_DEL_MFC; Errno(49): Can't assign requested address
Sep 28 01:10:15 gateway last message repeated 3 times
Sep 28 01:10:48 gateway igmpproxy[35341]: MRT_ADD_MEMBERSHIP failed; Errno(22): Invalid argument
Последний раз редактировалось terminus 2011-10-06 20:17:32, всего редактировалось 1 раз.
Причина: Убедительная просьба юзать теги [code] при оформлении листингов.

teoss
рядовой
Сообщения: 20
Зарегистрирован: 2009-08-28 15:11:53

Re: Проблема с IPTV IGMPPROXY

Непрочитанное сообщение teoss » 2011-10-06 12:55:33

Читал отзывы о igmpproxy , были сообщения что оно вешает ядро, поэтому себе поставил udpxy. Работает, но пользуюсь редко и интенсивно не тестил.

brainiac
рядовой
Сообщения: 33
Зарегистрирован: 2011-05-10 14:59:08

Re: Проблема с IPTV IGMPPROXY

Непрочитанное сообщение brainiac » 2011-10-10 21:30:25

teoss писал(а):поэтому себе поставил udpxy.
работает, проверено