| 
 | 
 
 楼主 |
发表于 2023-9-21 11:32
|
显示全部楼层
 
 
 
贴一下udpxy的日志: 
 
2023-09-21 11:27:43.023228 CST        S(13417)        udpxy 1.0-25.1 (prod) standard [Linux 6.1.44 x86_64]: /usr/bin/udpxy -T -v -S -a br-lan -p 4001 -m pppoe-IPTV -l /tmp/udpxy.log  
2023-09-21 11:27:43.023270 CST        S(13417)        Server is starting up, max clients = [3] 
2023-09-21 11:27:43.023301 CST        S(13417)        Setting up listener for [192.168.50.1:4001] 
2023-09-21 11:27:43.023331 CST        S(13417)        Setting low watermark for server socket [8] to [10] 
2023-09-21 11:27:43.023360 CST        S(13417)        Created server socket=[8], backlog=[16] 
2023-09-21 11:27:43.023384 CST        S(13417)        Entering server loop [pselect(2)] 
2023-09-21 11:27:43.023408 CST        S(13417)        Waiting for input from [2] fd's, NO timeout 
2023-09-21 11:28:22.246723 CST        S(13417)        No children exited since last check 
2023-09-21 11:28:22.246777 CST        S(13417)        Got 1 requests 
2023-09-21 11:28:22.246800 CST        S(13417)        Accepting new connection 
2023-09-21 11:28:22.246833 CST        S(13417)        Accepted socket=[9] from 192.168.50.143:53583 n=1/nmax=16 
2023-09-21 11:28:22.246856 CST        S(13417)        Accepting new connection 
2023-09-21 11:28:22.246881 CST        S(13417)        Nothing more to accept 
2023-09-21 11:28:22.246918 CST        S(13417)        accept_requests: Sockets accepted: [1] 
2023-09-21 11:28:22.246940 CST        S(13417)        Waiting for input from [3] fd's, with timeout 
2023-09-21 11:28:22.257775 CST        S(13417)        No children exited since last check 
2023-09-21 11:28:22.257817 CST        S(13417)        Got 1 requests 
pre-process sockets [1]: 9 
2023-09-21 11:28:22.257851 CST        S(13417)        acting on accepted socket [9] (1/1) 
2023-09-21 11:28:22.257874 CST        S(13417)        Reading command from socket [9] 
2023-09-21 11:28:22.257898 CST        S(13417)        HTTP buffer [154 bytes] received 
GET /rtp/239.77.0.2:5146 HTTP/1.1 
Host: 192.168.50.1:4001 
Accept: */* 
Accept-Language: zh_CN 
User-Agent: VLC/3.0.18 LibVLC/3.0.18 
Range: bytes=0- 
 
2023-09-21 11:28:22.257921 CST        S(13417)        Request=[rtp/239.77.0.2:5146], length=[19] 
2023-09-21 11:28:22.257944 CST        S(13417)        Command [rtp] with params [239.77.0.2:5146], tail [] read from socket=[9] 
2023-09-21 11:28:22.257965 CST        S(13417)        udp_relay : new_socket=[9] param=[239.77.0.2:5146] 
2023-09-21 11:28:22.258073 CST        S(13417)        Added client: pid=[13854], maddr=[239.77.0.2], mport=[5146], saddr=[192.168.50.143], sport=[53583] 
2023-09-21 11:28:22.258104 CST        S(13417)        process_requests: closing accepted socket [9] 
2023-09-21 11:28:22.258127 CST        S(13417)        Processed [1/1] accepted sockets 
newly-accepted sockets [1]: -1 
2023-09-21 11:28:22.258151 CST        S(13417)        All accepted sockets processed 
2023-09-21 11:28:22.258122 CST        S(13417)        Client process=[13854] started for socket=[9] 
2023-09-21 11:28:22.258174 CST        S(13417)        Waiting for input from [2] fd's, NO timeout 
2023-09-21 11:28:22.258185 CST        c(13854)        min socket buffer = [65536], max space to use = [1500], Rmsgs = [1] 
2023-09-21 11:28:22.258213 CST        c(13854)        Setting up multicast listener 
2023-09-21 11:28:22.258240 CST        c(13854)        current receive buffer size is [212992] bytes for socket [6] 
2023-09-21 11:28:22.258274 CST        c(13854)        multicast-group [ADD] 
2023-09-21 11:28:22.258301 CST        c(13854)        Ifc-bound mcast listener socket=[6] 
2023-09-21 11:28:22.258329 CST        c(13854)        Mcast listener socket=[6] set up 
2023-09-21 11:28:22.258350 CST        c(13854)        min socket buffer = [65536], max space to use = [1500], Rmsgs = [1] 
2023-09-21 11:28:22.258372 CST        c(13854)        Data buffer will hold up to [1] messages 
2023-09-21 11:28:22.258398 CST        c(13854)        RTP (over UDP) stream assumed, no checks 
2023-09-21 11:28:22.258427 CST        c(13854)        socket 6: RCV timeout set to 5 sec, 0 usec 
2023-09-21 11:28:22.258450 CST        c(13854)        socket 6: SEND timeout set to 5 sec, 0 usec 
2023-09-21 11:28:22.258473 CST        c(13854)        current send buffer size is [87040] bytes for socket [9] 
2023-09-21 11:28:22.258500 CST        c(13854)        current receive buffer size is [212992] bytes for socket [6] 
2023-09-21 11:28:22.258523 CST        c(13854)        send buffer size set to [212992] bytes for socket [9] 
2023-09-21 11:28:22.258569 CST        c(13854)        Sent HTTP response code=[200], reason=[OK] to socket=[9] 
HTTP/1.1 200 OK 
Server: udpxy 1.0-25.1 (prod) standard [Linux 6.1.44 x86_64] 
Content-Type:application/octet-stream 
 
 
2023-09-21 11:28:22.258625 CST        c(13854)        Relaying traffic from socket[6] to socket[9], buffer size=[2048], Rmsgs=[1], pauses=[0] 
2023-09-21 11:28:27.292693 CST        c(13854)        read_buf: socket time-out on read2023-09-21 11:28:27.292722 CST        c(13854)        read_data - EOF 
2023-09-21 11:28:27.292737 CST        c(13854)        Exited relay loop: received=[-1], sent=[0], quit=[0] 
2023-09-21 11:28:27.292761 CST        c(13854)        multicast-group [DROP] 
2023-09-21 11:28:27.292781 CST        c(13854)        Mcast listener socket=[6] closed 
2023-09-21 11:28:27.292815 CST        c(13854)        Child process=[13854] exits with rc=[0] 
2023-09-21 11:28:27.292933 CST        S(13417)        *** Caught SIGCHLD (17) *** 
2023-09-21 11:28:27.292964 CST        S(13417)        Waiting on exited children 
2023-09-21 11:28:27.292992 CST        S(13417)        Client [13854] has exited. 
2023-09-21 11:28:27.293005 CST        S(13417)        Deleted client: pid=[13854] 
2023-09-21 11:28:27.293018 CST        S(13417)        Cleaned up 1 children, 0 still running 
2023-09-21 11:28:27.293031 CST        S(13417)        INTERRUPTED, yet will continue. 
2023-09-21 11:28:27.293042 CST        S(13417)        Waiting for input from [2] fd's, NO timeout 
 |   
 
 
 
 |