Opened 16 years ago

Closed 8 years ago

Last modified 8 years ago

#422 closed enhancement (fixed)

IPv6 support in PJNATH

Reported by: bennylp Owned by: bennylp
Priority: major Milestone: release-2.5.5
Component: pjnath Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by riza)

Modifications that are needed to support IPv6 in PJNATH:

  • Support for IPv6 in ICE

Notes:

Refer to #1933 for pjnath-test update

Change History (10)

comment:1 Changed 16 years ago by bennylp

  • Priority changed from normal to major

comment:2 Changed 16 years ago by bennylp

  • Milestone changed from release-0.9.0 to Known-Issues

comment:3 Changed 14 years ago by bennylp

  • Milestone changed from Known-Issues-and-Ideas to release-2.x

comment:4 Changed 8 years ago by nanang

  • Backported unset
  • Milestone changed from release-2.x to release 2.5.5

comment:5 Changed 8 years ago by nanang

In 5339:

Re #422: Added IPv6 support to PJNATH, changes:

  • Deprecated 'pj_ice_strans_cfg.af', if set, the value will be ignored, address family setting is now specified via transport setting, i.e: 'pj_ice_strans_cfg.stun_tp/turn_tp'.
  • Deprecated 'pj_ice_strans_cfg.stun/turn', for backward compatibility, this field value will be checked if 'pj_ice_strans_cfg.stun_tp_cnt/turn_tp_cnt' is set to zero.
  • Added 'pj_ice_strans_stun_cfg' & 'pj_ice_strans_stun_cfg' and the corresponding 'pj_ice_strans_stun/turn_cfg_default()'
  • Added 'pj_ice_strans_cfg.stun_tp/turn_tp' as replacement of 'pj_ice_strans_cfg.stun/turn', it is now an array so app can have multiple STUN/TURN transports.
  • Added macro PJ_ICE_MAX_STUN/TURN to specify maximum number of STUN/TURN transports in each ICE component in compile-time.
  • Miscellaneous: fixed socket number limit in concurrency test in pjnath-test, updated pjsua_media.c to use new 'pj_ice_strans_cfg' setting.

comment:6 Changed 8 years ago by nanang

In 5340:

Re #422: Omit IPv6 link-local address in gathering ICE candidate.

comment:7 Changed 8 years ago by nanang

In 5342:

Re #422: Enable IPv6 in ICE transport in pjsua-lib:

  • currently only IPv6 host candidate will be generated, still not sure whether IPv6 NAT is really used in real world
  • if the account enables IPv6 media and the host has IPv4 address, ICE will generate IPv4+IPv6 candidates, it should be very useful in NAT64 environment, and should not add delay in ICE nego in IPv6 only environment (note: candidate check pair must have same IP address family).

comment:8 Changed 8 years ago by nanang

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

comment:9 Changed 8 years ago by riza

  • Description modified (diff)

comment:10 Changed 8 years ago by ming

In 5359:

Re #422: IPv6 support for NAT detect

Add API pj_stun_detect_nat_type2()

Note: See TracTickets for help on using tickets.