Opened 13 years ago

Closed 13 years ago

#1396 closed defect (fixed)

Failed to authenticate to TURN client due to REALM attribute padding

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.0-beta
Component: pjnath Version: trunk
Keywords: sipit29 Cc: backport1x
Backport to 1.x milestone: Backported:

Description

TURN server rejects authentication due to REALM attribute. Scenario:

  1. --> Allocate
  2. <-- 401, with REALM="123456\x0\x0", length=8
  3. --> Allocate, with REALM="123456\x0\x0", length=8 (the exact realm as above)
  4. <-- 401

The TURN server will accept the request if the realm is "123456", length=6.

Change History (2)

comment:1 Changed 13 years ago by bennylp

  • Summary changed from Failed to authenticate to TURN client due to REALM attribute alignment to Failed to authenticate to TURN client due to REALM attribute padding

comment:2 Changed 13 years ago by bennylp

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

Fixed in r3843

Note: See TracTickets for help on using tickets.