Opened 15 years ago

Closed 14 years ago

#1078 closed defect (fixed)

The STUN utility in pjlib-util is unable to handle XOR_MAPPED_ADDRESS attribute

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.7
Component: pjlib-util Version: trunk
Keywords: sipit26 Cc:
Backport to 1.x milestone: Backported:

Description

Some STUN servers return XOR_MAPPED_ADDRESS attribute even though client doesn't send the STUN2 MAGIC number in the request. This would cause the (old) STUN resolver in PJLIB-UTIL to fail to resolve the address, with typical error messages look like this:

09:29:44.465 pjsua_core.c Error contacting STUN server: No STUN mapped address attribute (PJLIB_UTIL_ESTUNNOMAP) [status=320009]

The solution is either to add XOR_MAPPED_ADDRESS parsing capability to the resolver, or to upgrade this resolver with the new STUN stuffs in PJNATH, or to deprecate this old resolver and create similar functionality in PJNATH (this probably is the best option).

Change History (1)

comment:1 Changed 14 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

(In [3235]) Fix #1078: added XOR_MAPPED_ADDRESS parsing capability to the resolver.

Note: See TracTickets for help on using tickets.