<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">on second thought….<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">src/switch_rtp.c</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">:</span><span style="font-variant-ligatures: no-common-ligatures" class="">2594</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">:</span><span style="font-variant-ligatures: no-common-ligatures" class=""> if (switch_socket_opt_set(rtcp_new_sock, SWITCH_SO_</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">REUSE</span><span style="font-variant-ligatures: no-common-ligatures" class="">ADDR, 1) != SWITCH_STATUS_SUCCESS) {</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">src/switch_rtp.c</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">:</span><span style="font-variant-ligatures: no-common-ligatures" class="">2690</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class="">:</span><span style="font-variant-ligatures: no-common-ligatures" class=""> if (switch_socket_opt_set(new_sock, SWITCH_SO_</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">REUSE</span><span style="font-variant-ligatures: no-common-ligatures" class="">ADDR, 1) != SWITCH_STATUS_SUCCESS) {</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">it’s already there.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Jan 23, 2017, at 1:22 PM, Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">we’d look at it at least.<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 23, 2017, at 1:16 PM, Tamas Jalsovszky <<a href="mailto:jalsot@gmail.com" class="">jalsot@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I can just agree with your statement. Unfortunately this is not my/our brain-dead policy or rule but a few corporate firewall "specialists'", and having no influence on it. <br class=""><br class=""></div>If somebody provides a patch, would you merge it or you would bar any such a complication?<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 23 January 2017 at 19:01, Michael Jerris <span dir="ltr" class=""><<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This adds zero value to security and adds lots of possibilities of failed calls. Seems like a complete waste of time to me. Education on what is and is not secure and why blocking more ports that are not listening adds zero to security seems a much more useful way to use time<br class="">
<div class=""><div class="h5"><br class="">
> On Jan 23, 2017, at 10:02 AM, Tamas Jalsovszky <<a href="mailto:jalsot@gmail.com" class="">jalsot@gmail.com</a>> wrote:<br class="">
><br class="">
> Hello,<br class="">
><br class="">
> I have a few places where using a SIP (or webrtc) endpoint demands opening up the very restrictive local network firewall. Setting rtp port range would be the way to go, however usually the simple math (e.g. setting the range for 2x the number of endpoints) is still not welcomed by local network admins - paranoid ones :)<br class="">
><br class="">
> My idea here is whether we could use SO_REUSEPORT in the RTP stack (I've found in sofia lib the conditional use of this option) and possibly setting a very short range for RTP or even setting only one port (I'm not sure about RTCP) as from the other side packets come from the same IP but from different port, e.g.<br class="">
> IPclient:PortA -> IPFSserver:PortX<br class="">
> IPclient:PortB -> IPFSserver:PortX<br class="">
> IPclient:PortC -> IPFSserver:PortX<br class="">
> etc.<br class="">
><br class="">
> What do you think, would it be doable? If not, any other way to rapidly lower the port range to be set at the endpoint side?<br class="">
><br class="">
> Regards,<br class="">
> Jalsot<br class="">
><br class="">
<br class="">
<br class="">
</div></div>______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://wiki.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://wiki.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-dev mailing list<br class="">
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" class="">FreeSWITCH-dev@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">dev</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-dev</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
</blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class=""><a href="http://www.freeswitchsolutions.com" class="">http://www.freeswitchsolutions.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://wiki.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-dev mailing list<br class="">FreeSWITCH-dev@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br class="">http://www.freeswitch.org<br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>