[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MMUSIC] media source ip/port in SDP





Mark Watson wrote:
> Does anyone think there is a security risk associated with the fact that
> the source address/port of the sender is unknown to the receiver ?

No. Even if its known, it can be spoofed. If you want secure RTP, I 
recommend SRTP.

> 
> I understand that there are various ways that the receiver could
> distinguish RTP packets from the genuine correspondant from those of an
> attacker, but even so, if the receiver is on a low-bandwidth link, these
> packets could constitute a DoS attack.

SRTP provides an authentication check (I believe) which allows you to 
distinguish them.


> 
> A firewall could be used to control admission of packets to the
> low-bandwidth link based on destination address/port (assuming the
> client can open an appropriate pinhole), but you would have to wildcard
> the source address. If the source address of the packets was known, the
> pinhole could be made more specific, and so prevent attacks from an
> attacker who knew the destination address/port.

Well, once they find out the source (which would be just as easy as 
finding out the destination if both were in the SDP), the narrower 
pinhole doesn't help.


> 
> Or can we assume that any attacker who knew the destination address/port
> is probably in a position to spoof the correct source address anyway ?

Indeed.


> 
> As an aside, should RTCP reports be sent to the address received as
> source address in incoming RTP packets, or should they be sent to the
> same address as outgoing RTP packets ? If the latter (and the addresses
> are different),

Unless signaled explicitly with the sdp4nat extension, RTCP is sent to 
the same address as RTP, but on a port higher.

  why is the media sink device of my correspondant
> interested in RTCP reports for packets generated by the media source
> device, which has a separate network interface ?

Why would RTP and RTCP be on different network interfaces??

-Jonathan R.


-- 
Jonathan D. Rosenberg, Ph.D.            72 Eagle Rock Avenue
Chief Scientist                         First Floor
dynamicsoft                             East Hanover, NJ 07936
jdrosen@dynamicsoft.com                 FAX: (973) 952-5050
http://www.jdrosen.net                  PH:  (973) 952-5000
http://www.dynamicsoft.com



_______________________________________________
mmusic mailing list
mmusic@ietf.org
https://www1.ietf.org/mailman/listinfo/mmusic