Проблема с 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В ядре 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 disabledrl0 – внутренний интерфейс
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Код: Выделить всё
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Код: Выделить всё
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 на линух или на той конченный зуксель не охота.
Всем спасибо!