mrArkwright / cmidid-kerneldriver

GNU General Public License v3.0
7 stars 2 forks source link

RTP Packets sent to wrong IP #1

Closed felix-engelmann closed 10 years ago

felix-engelmann commented 10 years ago

adresses in peer storage are not correct

RTP Sending RTP message consisting of 3 iovecs [0] iov_len: 12, iov_base: de1f4800 0x80 0x61 0x00 0x01 0x00 0x00 0x00 0x00 0xeb 0x3b 0x72 0x78 [1] iov_len: 1, iov_base: dcfd6203 0x03 [2] iov_len: 3, iov_base: dcfd6200 0x90 0x24 0x30 send 16 bytes to 0.0.0.0:31251 on s(de3aa240) RTP bytes sent: -22 of 16 start sync with client: 0.0.0.0

they are assigned in _applemidi_recv_command when parsed from skb an then used to init RTPPeer.

complete path from iphdr to usage in msgname should be checked. Best: check that only sockaddr_in is used as storage is not provided. NO casts

felix-engelmann commented 10 years ago

should be all sockaddr_in works by sending note_ons though kernel