[Asterisk-code-review] res rtp asterisk: Allow ICE host candidates to be overriden (asterisk[13])
Sean Bright
asteriskteam at digium.com
Thu Jan 28 08:28:52 CST 2016
Sean Bright has posted comments on this change.
Change subject: res_rtp_asterisk: Allow ICE host candidates to be overriden
......................................................................
Patch Set 3:
> In addition to the findings I have, I'm also just a bit lost in
> understanding what the intended use for this is, specifically with
> regards to the advertised host addresses. If you replace a private
> internal address with a public address from the Asterisk server,
> then you'd presumably result in sending duplicate host candidates
> in your SDP. If you replace the internal address with an address
> from the edge of your network, then you presumably would be
> advertising a srflx address as a host address, and you'd also
> presumably have the address duplicated again.
If you use this option in combination with STUN, then yes you will end up with duplicated addresses. The point of this patch is that in most static NAT configurations you already know your external address (and you've specified it in sip.conf or res_pjsip.conf already) so there is no point in using STUN. I don't see both this and stunaddr being used at the same time.
> If the goal is to hide internal details of your network, then
> wouldn't it be more useful to outright remove host candidates from
> the list rather than replacing them with something?
I suppose that would work, but a STUN server would be needed and that is what I am trying to avoid here.
> And feel free to disagree with me on this one, but would it be
> worthwhile to specify host candidates to replace in CIDR form?
>
> interface 10.0.0.0/8
>
> If you're replacing host candidates with alternatives, then this
> suggestion wouldn't make much sense. But if you're instead
> specifying host candidates to remove from host candidate lists,
> then specifying an entire subnet seems like a convenience.
--
To view, visit https://gerrit.asterisk.org/2101
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c9541af97b83a4c690c8150d19bf7202c8bff1f
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-HasComments: No
More information about the asterisk-code-review
mailing list