udp://233.0.41.102:20000
> tcpdump -c 10 dst host 233.0.41.102 and port 20000 and multicast
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:20:58.818832 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.824080 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.829467 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.835816 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.841053 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.846617 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.852052 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.857893 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.863787 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
15:20:58.869017 IP 43.232.net.50000 > 233.0.41.102.20000: UDP, length 1316
10 packets captured
70 packets received by filter
4 packets dropped by kernel
> netstat -a -u -n | grep 233.0.41.102:20000
udp 0 0 233.0.41.102:20000 0.0.0.0:*
(line may appear twice or more times)
> ufw status
> ufw allow to 233.0.41.102 port 20000 proto udp
> ufw disable
> iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
> iptables -A INPUT -p udp -d 233.0.41.102 --dport 20000 -j ACCEPT
ACCEPT udp -- anywhere 233.0.41.102 udp dpt:20000
> iptables-save
> sudo tcpdump -n -c 100000 multicast | perl -n -e 'chomp; m/> (\d+.\d+.\d+.\d+).(\d+)/; print "udp://$1:$2\n"' | sort | uniq
udp://233.0.37.102:20000
udp://233.0.41.102:20000
udp://233.0.42.100:20000
udp://233.0.42.106:20000
udp://233.0.58.114:20000
udp://233.0.58.170:20000
> sudo apt-get install ffmpeg
> sudo yum install ffmpeg
> ffprobe udp://233.0.41.102:20000
Input #0, mpegts, from 'udp://233.0.41.102:20000':
Duration: N/A, start: 89651.690400, bitrate: 192 kb/s
Program 10106
Metadata:
service_name : AChannel
service_provider: ChannelProvider
Stream #0:0[0x19a][6]: Audio: mp2 (\[4\]\[0\]\[0\]\[0\] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
Stream #0:1[0x145]: Video: mpeg2video (Main) (\[2\]\[0\]\[0\]\[0\] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc