<p>A simple change, which allows to check, if a coming request matches<br>
not only by an IP address and a transport protocol,<br>
but also using the source port of a request.</p>
<p>Improvements are done for the following functions of the lcr module:</p>
<ul>
<li>from_any_gw()</li>
<li>from_gw()</li>
</ul>
<p>Back compatibility provided, hence it does not affect already existing behavior.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/2832'>https://github.com/kamailio/kamailio/pull/2832</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>lcr: source port check for from_any_gw() and from_gw().</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/2832/files#diff-d51804206ca6ccc6db285cb44c2a6f0a109beb39a4b768dfe23f0d53ac9348d7">src/modules/lcr/doc/lcr_admin.xml</a>
    (31)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/2832/files#diff-a18bc91c82f4a29893e81dd0340f613964cad87bd5b6c98e6ae76b5a501433bd">src/modules/lcr/lcr_mod.c</a>
    (116)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/2832.patch'>https://github.com/kamailio/kamailio/pull/2832.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/2832.diff'>https://github.com/kamailio/kamailio/pull/2832.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2832">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOSLXVAGRK5LQWQXQDT6KPI7ANCNFSM5CVH5HVQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABO7UZNSQRMS4ANTEBU4KELT6KPI7A5CNFSM5CVH5HV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OSBJNYQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2832",
"url": "https://github.com/kamailio/kamailio/pull/2832",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>