* [Sysadmins] Как пробросить IPTV?
@ 2009-05-11 14:21 alexmexp
2009-05-12 10:36 ` Anton Kvashin
0 siblings, 1 reply; 4+ messages in thread
From: alexmexp @ 2009-05-11 14:21 UTC (permalink / raw)
To: sysadmins
Привет!
Провайдер крутит IPTV, как пробросить его в локалку если на сервере (шлюз между локалкой и провайдером) стоит AltLinux Office Server 4.0,
eth0-локалка
eth1-провайдер с 10.8.25.212
на eth1 поднят ppp0-рррое (для тв вроде не обязателен)
откомпилировал igmpproxy и установил
[code]
make
make install[/code]
/etc/igmpproxy.conf
[code]
##------------------------------------------------------
## Enable Quickleave mode (Sends Leave instantly)
##------------------------------------------------------
quickleave
##------------------------------------------------------
## Configuration for eth1 (Upstream Interface)
##------------------------------------------------------
phyint eth1 upstream ratelimit 0 threshold 1
altnet 10.8.25.0/24
##------------------------------------------------------
## Configuration for eth0 (Downstream Interface)
##------------------------------------------------------
phyint eth0 downstream ratelimit 0 threshold 1
##------------------------------------------------------
## Configuration for ppp0 (Disabled Interface)
##------------------------------------------------------
phyint ppp0 disabled
[/code]
iptables
[code]
iptables -I INPUT -d 224.0.0.0/4 -j ACCEPT
iptables -I FORWARD -d 224.0.0.0/4 -j ACCEPT
[/code]
route
[code]
route add -net 224.0.0.0/4 dev eth1
[/code]
[code]
[root@localhost ~]# igmpproxy -d
igmpproxy, Version 0.1 beta2, Build 090502
Copyright 2005 by Johnny Egeland <johnny@rlo.org>
Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt
Debu: Searching for config file at '/etc/igmpproxy.conf'
Debu: Config: Quick leave mode enabled.
Debu: Config: Got a phyint token.
Debu: Config: IF: Config for interface eth1.
Debu: Config: IF: Got upstream token.
Debu: Config: IF: Got ratelimit token '0'.
Debu: Config: IF: Got threshold token '1'.
Debu: Config: IF: Got altnet token 10.8.25.0/24.
Debu: Config: IF: Altnet: Parsed altnet to 10.8.25/24.
Debu: IF name : eth1
Debu: Next ptr : 0
Debu: Ratelimit : 0
Debu: Threshold : 1
Debu: State : 1
Debu: Allowednet ptr : 8051250
Debu: Config: Got a phyint token.
Debu: Config: IF: Config for interface eth0.
Debu: Config: IF: Got downstream token.
Debu: Config: IF: Got ratelimit token '0'.
Debu: Config: IF: Got threshold token '1'.
Debu: IF name : eth0
Debu: Next ptr : 0
Debu: Ratelimit : 0
Debu: Threshold : 1
Debu: State : 2
Debu: Allowednet ptr : 0
Debu: Config: Got a phyint token.
Debu: Config: IF: Config for interface ppp0.
Debu: Config: IF: Got disabled token.
Debu: IF name : ppp0
Debu: Next ptr : 0
Debu: Ratelimit : 0
Debu: Threshold : 1
Debu: State : 0
Debu: Allowednet ptr : 0
Debu: Physical Index value of IF 'lo' is 1
Debu: buildIfVc: Interface lo Addr: 127.0.0.1, Flags: 0x0049, Network: 127/8
Debu: Physical Index value of IF 'eth0' is 2
Debu: buildIfVc: Interface eth0 Addr: 192.168.1.15, Flags: 0x1043, Network: 192.168.1/24
Debu: Physical Index value of IF 'eth1' is 3
Debu: buildIfVc: Interface eth1 Addr: 10.8.25.212, Flags: 0x1043, Network: 10.8.25/24
Debu: Physical Index value of IF 'ppp0' is 4
Debu: buildIfVc: Interface ppp0 Addr: 79.140.11.3, Flags: 0x10d1, Network: 79.140.11.3/32
Debu: Found config for eth0
Debu: Found config for eth1
Debu: Found config for ppp0
Note: adding VIF, Ix 0 Fl 0x0 IP 0x0f01a8c0 eth0, Threshold: 1, Ratelimit: 0
Debu: Network for [eth0] : 192.168.1/24
Note: adding VIF, Ix 1 Fl 0x0 IP 0xd419080a eth1, Threshold: 1, Ratelimit: 0
Debu: Network for [eth1] : 10.8.25/24
Debu: Network for [eth1] : 10.8.25/24
Note: adding VIF, Ix 2 Fl 0x0 IP 0x030b8c4f ppp0, Threshold: 1, Ratelimit: 0
Debu: Network for [ppp0] : 79.140.11.3/32
Debu: Got 262144 byte buffer size in 0 iterations
Debu: Joining all-routers group 224.0.0.2 on vif 192.168.1.15
Note: joinMcGroup: 224.0.0.2 on eth0
Debu: SENT Membership query from 192.168.1.15 to 224.0.0.1
Debu: Sent membership query from 192.168.1.15 to 224.0.0.1. Delay: 10
Debu: Created timeout 1 (#0) - delay 10 secs
Debu: (Id:1, Time:10)
Debu: Created timeout 2 (#1) - delay 21 secs
Debu: (Id:1, Time:10)
Debu: (Id:2, Time:21)
Note: RECV Membership query from 192.168.1.15 to 224.0.0.1
Info: ignoring unknown IGMP message type 11 from 192.168.1.15 to 224.0.0.1
Note: RECV Membership query from 10.253.0.252 to 235.58.197.17
Info: ignoring unknown IGMP message type 11 from 10.253.0.252 to 235.58.197.17
Note: RECV Membership query from 10.253.0.252 to 235.63.192.22
Info: ignoring unknown IGMP message type 11 from 10.253.0.252 to 235.63.192.22
Note: RECV V2 member report from 192.168.1.15 to 224.0.0.2
Note: The IGMP message was from myself. Ignoring.
Debu: About to call timeout 1 (#0)
Debu: Aging routes in table.
Debu:
Current routing table (Age active routes);
-----------------------------------------------------
Debu: No routes in table...
Debu:
-----------------------------------------------------
[/code]
Что я сделал не так или как нужно правильно до настроить?
Тут задавал вопрос http://forum.altlinux.org/index.php/topic,2975.0.html
там может есть что-то полезное, чего тут не написал.
ПС В линуксе Новичок
--
С наилучшими пожеланиями,
Алекс mailto:alexmexp@rambler.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] Как пробросить IPTV?
2009-05-11 14:21 [Sysadmins] Как пробросить IPTV? alexmexp
@ 2009-05-12 10:36 ` Anton Kvashin
2009-05-12 12:34 ` Snake
0 siblings, 1 reply; 4+ messages in thread
From: Anton Kvashin @ 2009-05-12 10:36 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
alexmexp@rambler.ru пишет:
> Провайдер крутит IPTV, как пробросить его в локалку если на сервере (шлюз между локалкой и провайдером) стоит AltLinux Office Server 4.0,
> eth0-локалка
> eth1-провайдер с 10.8.25.212
> на eth1 поднят ppp0-рррое (для тв вроде не обязателен)
>
> откомпилировал igmpproxy и установил
>
> Что я сделал не так или как нужно правильно до настроить?
>
> Тут задавал вопрос http://forum.altlinux.org/index.php/topic,2975.0.html
> там может есть что-то полезное, чего тут не написал.
Можно посмотреть на mrouted или организовать "раздачу" с помощью vlc.
--
Anton Kvashin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] Как пробросить IPTV?
2009-05-12 10:36 ` Anton Kvashin
@ 2009-05-12 12:34 ` Snake
2009-05-13 3:43 ` Anton Kvashin
0 siblings, 1 reply; 4+ messages in thread
From: Snake @ 2009-05-12 12:34 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Tuesday, May 12, 2009, 1:36:15 PM, you wrote:
AK> alexmexp@rambler.ru пишет:
>> Провайдер крутит IPTV, как пробросить его в локалку если на сервере (шлюз между локалкой и провайдером) стоит AltLinux Office Server 4.0,
>> eth0-локалка
>> eth1-провайдер с 10.8.25.212
>> на eth1 поднят ppp0-рррое (для тв вроде не обязателен)
>>
>> откомпилировал igmpproxy и установил
>>
>> Что я сделал не так или как нужно правильно до настроить?
>>
>> Тут задавал вопрос http://forum.altlinux.org/index.php/topic,2975.0.html
>> там может есть что-то полезное, чего тут не написал.
AK> Можно посмотреть на mrouted или организовать "раздачу" с помощью vlc.
А чуть подробнее можно?
А то я только учусь на данном сервере.
Если слишком много объяснять, то где почитать более конкретно именно по
данному вопросу.
Где-то есть реальные примеры?
Я так понимаю там нужно с TTL игратся, поддерживать связь с сервером
ТВ (сообщать что я еще вхожу в групу кому транслируется) и еще чего-то там.
--
С наилучшими пожеланиями,
Snake mailto:alexmexp@rambler.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] Как пробросить IPTV?
2009-05-12 12:34 ` Snake
@ 2009-05-13 3:43 ` Anton Kvashin
0 siblings, 0 replies; 4+ messages in thread
From: Anton Kvashin @ 2009-05-13 3:43 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Snake пишет:
> Tuesday, May 12, 2009, 1:36:15 PM, you wrote:
>>> Провайдер крутит IPTV, как пробросить его в локалку если на сервере (шлюз между локалкой и провайдером) стоит AltLinux Office Server 4.0,
> AK> Можно посмотреть на mrouted или организовать "раздачу" с помощью vlc.
>
> А чуть подробнее можно?
> А то я только учусь на данном сервере.
> Если слишком много объяснять, то где почитать более конкретно именно по
> данному вопросу.
google, к ключевым словам выше, добавить smcroute, vlc multicast.
tcpdump/wireshark, чтобы видеть трафик на сервере/клиенте.
> Где-то есть реальные примеры?
> Я так понимаю там нужно с TTL игратся, поддерживать связь с сервером
> ТВ (сообщать что я еще вхожу в групу кому транслируется) и еще чего-то там.
Все верно, сервер должен войти в мультикаст-группу, и ретранслировать в
локалку.
Больше всего информации будет по vlc, поскольку это настоящий комбайн.
--
Anton Kvashin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-13 3:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-11 14:21 [Sysadmins] Как пробросить IPTV? alexmexp
2009-05-12 10:36 ` Anton Kvashin
2009-05-12 12:34 ` Snake
2009-05-13 3:43 ` Anton Kvashin
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git