[sisyphus] IPTV multicast и Сизиф

Вячеслав Вячеслав
Вт Дек 11 17:12:14 MSK 2007


В Втр, 11/12/2007 в 16:32 +0300, Peter V. Saveliev пишет:
> В сообщении от Tuesday 11 December 2007 14:17:05 Вячеслав Диконов написал(а):
> > Задаю вопрос сюда, так как нужно знание тонкостей.
> <skip />
> 
> $ strace -e trace=network -f vlc
---------------------------------------

$ strace -e trace=network -f vlc udp://@233.32.240.115:5050
VLC media player 0.8.6d Janus
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/dbus/system_bus_socket"},
33) = 0
Process 6737 attached
Process 6738 attached
Process 6739 attached
Process 6740 attached
Process 6745 attached
[pid  6736] socket(PF_FILE, SOCK_STREAM, 0) = 6
[pid  6736] connect(6, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"},
110) = 0
[pid  6736] getpeername(6, {sa_family=AF_FILE,
path=@"/tmp/.X11-unix/X0"}, [110]) = 0
/home/slava/.gtkrc-2.0:2: Не удалось найти подключаемый файл:
".gtkrc-2.0-scrollbar_cog"

** (.:6736): CRITICAL **: gtk_pizza_set_size: assertion `pizza != NULL'
failed
Process 6750 attached
[pid  6750] socket(PF_NETLINK, SOCK_RAW, 0) = 7
[pid  6750] bind(7, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12)
= 0
[pid  6750] getsockname(7, {sa_family=AF_NETLINK, pid=6736,
groups=00000000}, [12]) = 0
[pid  6750] sendto(7, "\24\0\0\0\26\0\1\3\206\231^G\0\0\0\0\0\0\0\0",
20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
[pid  6750] recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000}, msg_iov(1)=[{"<\0\0\0\24\0\2\0\206\231^GP\32\0\0\2\10
\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0,
msg_flags=0}, 0) = 316
[pid  6750] recvmsg(7, {msg_name(12)={sa_family=AF_NETLINK, pid=0,
groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\206\231^GP\32\0\0\0\0
\0\0\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0,
msg_flags=0}, 0) = 20
[pid  6750] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
[pid  6750] setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
[pid  6750] setsockopt(7, SOL_SOCKET, SO_RCVBUF, [524288], 4) = 0
[pid  6750] setsockopt(7, SOL_SOCKET, SO_SNDBUF, [524288], 4) = 0
[pid  6750] bind(7, {sa_family=AF_INET, sin_port=htons(5050),
sin_addr=inet_addr("233.32.240.115")}, 16) = 0
[pid  6750] setsockopt(7, SOL_IP, IP_ADD_MEMBERSHIP, "\351 \360s\0\0\0
\0", 8) = 0
[pid  6750] shutdown(7, 1 /* send */)   = -1 ENOTCONN (Transport
endpoint is not connected)

---------------------------------------
и далее молчит, показывая "main debug: pre buffering"


> $ sudo tcpdump -nnli any ip proto \\igmp
> 
---------------------------------------

$ sudo tcpdump -nnli any ip proto \\igmp
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96
bytes
17:09:38.432562 IP 10.179.42.158 > 224.0.0.22: igmp v3 report, 1 group
record(s)
17:09:46.217018 IP 10.179.42.158 > 224.0.0.22: igmp v3 report, 1 group
record(s)
17:10:46.650447 IP 10.6.49.127 > 224.0.0.1: igmp query v2
17:10:51.653752 IP 172.1.1.1 > 224.0.0.1: igmp query v2

---------------------------------------

Изредка появляются новые сообщения tcpdump




Подробная информация о списке рассылки Sisyphus