|
本帖最后由 genko 于 2019-8-18 21:08 编辑
安装igmpproxy配置一下就可以了。
opkg update
opkg install igmpproxy
vi /etc/config/igmpproxy
- config igmpproxy
- option quickleave 1
- # option verbose [0-3](none, minimal[default], more, maximum)
- config phyint
- option network iptv
- option zone iptv
- option direction upstream
- list altnet 0.0.0.0/0
- config phyint
- option network br-lan
- option zone br-lan
- option direction downstream
复制代码
日志就如下。系统是编译L大的op- 2019-08-08 18:18:01.346317 CST S(10031) Got 1 requests
- pre-process sockets [1]: 6
- 2019-08-08 18:18:01.346603 CST S(10031) acting on accepted socket [6] (1/1)
- 2019-08-08 18:18:01.346873 CST S(10031) Reading command from socket [6]
- 2019-08-08 18:18:01.347176 CST S(10031) HTTP buffer [112 bytes] received
- GET /rtp/239.10.0.103:1025 HTTP/1.0
- Accept: */*
- User-Agent: WINAMP
- Icy-MetaData:1
- Host: 192.168.2.1:4022
- 2019-08-08 18:18:01.347469 CST S(10031) Request=[rtp/239.10.0.103:1025], length=[21]
- 2019-08-08 18:18:01.347742 CST S(10031) Command [rtp] with params [239.10.0.103:1025], tail [] read from socket=[6]
- 2019-08-08 18:18:01.348016 CST S(10031) udp_relay : new_socket=[6] param=[239.10.0.103:1025]
- 2019-08-08 18:18:01.348743 CST S(10031) Added client: pid=[10682], maddr=[239.10.0.103], mport=[1025], saddr=[192.168.2.7], sport=[3869]
- 2019-08-08 18:18:01.349110 CST S(10031) process_requests: closing accepted socket [6]
- 2019-08-08 18:18:01.349390 CST S(10031) Processed [1/1] accepted sockets
- newly-accepted sockets [1]: -1
- 2019-08-08 18:18:01.349674 CST S(10031) All accepted sockets processed
- 2019-08-08 18:18:01.349938 CST S(10031) Waiting for input from [2] fd's, NO timeout
- 2019-08-08 18:18:01.350439 CST S(10031) Client process=[10682] started for socket=[6]
- 2019-08-08 18:18:01.350863 CST c(10682) min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
- 2019-08-08 18:18:01.351140 CST c(10682) Setting up multicast listener
- 2019-08-08 18:18:01.351455 CST c(10682) current receive buffer size is [163840] bytes for socket [2]
- 2019-08-08 18:18:01.351823 CST c(10682) multicast-group [ADD]
- 2019-08-08 18:18:01.352096 CST c(10682) Mcast listener socket=[2] set up
- 2019-08-08 18:18:01.352378 CST c(10682) min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
- 2019-08-08 18:18:01.352650 CST c(10682) Data buffer will hold up to [1] messages
- 2019-08-08 18:18:01.352920 CST c(10682) RTP (over UDP) stream assumed, no checks
- 2019-08-08 18:18:01.353376 CST c(10682) socket 2: RCV timeout set to 5 sec, 0 usec
- 2019-08-08 18:18:01.353701 CST c(10682) socket 2: SEND timeout set to 5 sec, 0 usec
- 2019-08-08 18:18:01.353976 CST c(10682) current send buffer size is [44800] bytes for socket [6]
- 2019-08-08 18:18:01.354249 CST c(10682) current receive buffer size is [163840] bytes for socket [2]
- 2019-08-08 18:18:01.354525 CST c(10682) send buffer size set to [163840] bytes for socket [6]
- 2019-08-08 18:18:01.355049 CST c(10682) Sent HTTP response code=[200], reason=[OK] to socket=[6]
- HTTP/1.1 200 OK
- Server: udpxy 1.0-23.10 (prod) standard [Linux 4.14.131 mips]
- Content-Type:application/octet-stream
- 2019-08-08 18:18:01.355393 CST c(10682) Relaying traffic from socket[2] to socket[6], buffer size=[2048], Rmsgs=[1], pauses=[0]
- 2019-08-08 18:18:01.387081 CST c(10682) received new [1328] bytes out of [2048], last=[0]
- 2019-08-08 18:18:01.387830 CST c(10682) sent [1316] bytes out of [1328], last=[0]
- 2019-08-08 18:22:25.283212 CST c(10682) read_buf: socket time-out on read2019-08-08 18:22:25.283745 CST c(10682) read_data - EOF
- 2019-08-08 18:22:25.284051 CST c(10682) Exited relay loop: received=[-1], sent=[1316], quit=[0]
- 2019-08-08 18:22:25.284399 CST c(10682) multicast-group [DROP]
- 2019-08-08 18:22:25.284727 CST c(10682) Mcast listener socket=[2] closed
- 2019-08-08 18:22:25.285295 CST c(10682) Child process=[10682] exits with rc=[0]
- 2019-08-08 18:22:25.286402 CST S(10031) *** Caught SIGCHLD (18) ***
- 2019-08-08 18:22:25.286764 CST S(10031) Waiting on exited children
- 2019-08-08 18:22:25.287163 CST S(10031) Client [10682] has exited.
- 2019-08-08 18:22:25.287438 CST S(10031) Deleted client: pid=[10682]
- 2019-08-08 18:22:25.287710 CST S(10031) Cleaned up 1 children, 0 still running
- 2019-08-08 18:22:25.287978 CST S(10031) INTERRUPTED, yet will continue.
- 2019-08-08 18:22:25.288240 CST S(10031) Waiting for input from [2] fd's, NO timeout
复制代码
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|