<p>osmith <strong>uploaded patch set #8</strong> to the change originally created by neels.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16202">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add libosmo-mslookup and mDNS implementation<br><br>Create a library with generic functions for performing a distributed<br>subscriber lookup, which allow querying IPs and ports of services by<br>MSISDN/IMSI.<br><br>The first implementation uses multicast DNS packets. I decided to write<br>custom DNS functions instead of using libc-ares (which we use in<br>OsmoSGSN already), because it is only a DNS client implementation and we<br>need both client and server. The DNS code is abstracted from the<br>mslookup specific code, so the DNS part could in theory be replaced with<br>a third party library in the future.<br><br>We decided to place the mslookup library in the OsmoHLR source tree<br>(instead of libosmocore), because the way we have implemented the D-GSM<br>network, OsmoHLR will be the only user of the library for now. In the<br>future, OsmoMSC may need it, but it depends on OsmoHLR already.<br><br>Related: OS#4237<br>Patch-by: osmith, nhofmeyr<br>Change-Id: I83487ab8aad1611eb02e997dafbcb8344da13df1<br>---<br>M .gitignore<br>M configure.ac<br>M debian/control<br>A debian/libosmo-mslookup-dev.install<br>A debian/libosmo-mslookup0.install<br>M include/Makefile.am<br>M include/osmocom/hlr/logging.h<br>A include/osmocom/mslookup/mdns.h<br>A include/osmocom/mslookup/mdns_sock.h<br>A include/osmocom/mslookup/mslookup.h<br>A include/osmocom/mslookup/mslookup_client.h<br>A include/osmocom/mslookup/mslookup_client_fake.h<br>A include/osmocom/mslookup/mslookup_client_mdns.h<br>A libosmo-mslookup.pc.in<br>M src/Makefile.am<br>A src/mslookup/Makefile.am<br>A src/mslookup/mdns.c<br>A src/mslookup/mdns_msg.c<br>A src/mslookup/mdns_msg.h<br>A src/mslookup/mdns_record.c<br>A src/mslookup/mdns_record.h<br>A src/mslookup/mdns_rfc.c<br>A src/mslookup/mdns_rfc.h<br>A src/mslookup/mdns_sock.c<br>A src/mslookup/mslookup.c<br>A src/mslookup/mslookup_client.c<br>A src/mslookup/mslookup_client_fake.c<br>A src/mslookup/mslookup_client_mdns.c<br>M tests/Makefile.am<br>A tests/mslookup/Makefile.am<br>A tests/mslookup/mdns_test.c<br>A tests/mslookup/mdns_test.err<br>A tests/mslookup/mslookup_client_mdns_test.c<br>A tests/mslookup/mslookup_client_mdns_test.err<br>A tests/mslookup/mslookup_client_test.c<br>A tests/mslookup/mslookup_client_test.err<br>A tests/mslookup/mslookup_test.c<br>A tests/mslookup/mslookup_test.err<br>M tests/testsuite.at<br>39 files changed, 4,380 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/02/16202/8</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16202">change 16202</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-hlr/+/16202"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I83487ab8aad1611eb02e997dafbcb8344da13df1 </div>
<div style="display:none"> Gerrit-Change-Number: 16202 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>