[reSIProcate] keepalivemanager stun over udp
Justin Matthews
jmatthewsr at gmail.com
Sat Jun 12 08:58:52 CDT 2010
It looks like it would be possible to use STUN as a keep-alive mechanism for
UDP using the KeepAliveManager in DUM. One implementation would be to pass
in a UdpTransport pointer when adding a target to the KeepAliveManager.
Passing the UdpTransport pointer around requires some additional care and
management if the UdpTransport is ever destroyed to avoid creating an
invalid pointer, but it looks like the stack doesn't currently
support/expose sending a STUN request to a particular target.
Any thoughts and/or objections to passing a UdpTransport pointer to
KeepAliveManager::add()? If the pointer is null then the current behavior
would be used (send CRLF), if not then a STUN request would be tried and
fallback to CRLF if it fails.
Thanks.
-justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20100612/8749fff3/attachment.htm>
More information about the resiprocate-devel
mailing list