<div dir="auto">Smells like a OS/kernel bug to me. There is little application can do in that regard, UDP fragmentation/reassembly happens at much lower layers of the OSI stack.<div dir="auto"><br></div><div dir="auto">However, as a workaround as long as SIP goes you can try to reduce your SIP signalling packet size by using compact version of SIP headers, as well as dropping headers that are not used. That would save you 100-150 bytes per SIP message perhaps. I don't know if OpenSIP can do that in the proxy mode out of the box though, so you might want to add b2b into the flow.</div><div dir="auto"><br></div><div dir="auto">-Max</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon., May 18, 2020, 12:34 p.m. Olle Frimanson, <<a href="mailto:olle@zaark.com">olle@zaark.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="SV" link="#0563C1" vlink="#954F72"><div class="m_-7830848106710353239WordSection1"><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">We have an issue on our home proxy (opensips 2.4.6), when it receives 200 OK (over UDP) from our Freeswitch and the package size is higher than the MTU size , we sometimes get fragmentation of the UDP packets, but only the first part of the fragmented package is sent to our edge proxy. Is this a known issue or is it a OS bug?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">We have not yet spotted any pattern on this and in most cases bigger packets with MTU around 1600 bytes gets through without an issue.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I can add that in the other direction in the normal request routes we don’t have any issue at all can have packets > 2000 bytes without any issues.<u></u><u></u></span></p><pre style="margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Does Opensips use IP_MTU_DISCOVER or how is fragmentation controlled and is it expected to have different behavior in reply routes vs other routes?<u></u><u></u></span></pre><p class="MsoNormal"><span lang="EN-US">We use Centos 7 in a virtual server environment.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I was hoping someone can share some light on this strange issue.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">BR/Olle<u></u><u></u></span></p></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>