Change in osmo-hlr[master]: add libosmo-mslookup and mDNS implementation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Mon Nov 25 16:00:10 UTC 2019


osmith has uploaded a new patch set (#9) to the change originally created by neels. ( https://gerrit.osmocom.org/c/osmo-hlr/+/16202 )

Change subject: add libosmo-mslookup and mDNS implementation
......................................................................

add libosmo-mslookup and mDNS implementation

Create a library with generic functions for performing a distributed
subscriber lookup, which allow querying IPs and ports of services by
MSISDN/IMSI.

The first implementation uses multicast DNS packets. I decided to write
custom DNS functions instead of using libc-ares (which we use in
OsmoSGSN already), because it is only a DNS client implementation and we
need both client and server. The DNS code is abstracted from the
mslookup specific code, so the DNS part could in theory be replaced with
a third party library in the future.

We decided to place the mslookup library in the OsmoHLR source tree
(instead of libosmocore), because the way we have implemented the D-GSM
network, OsmoHLR will be the only user of the library for now. In the
future, OsmoMSC may need it, but it depends on OsmoHLR already.

Related: OS#4237
Patch-by: osmith, nhofmeyr
Change-Id: I83487ab8aad1611eb02e997dafbcb8344da13df1
---
M .gitignore
M configure.ac
M debian/control
A debian/libosmo-mslookup-dev.install
A debian/libosmo-mslookup0.install
M include/Makefile.am
M include/osmocom/hlr/logging.h
A include/osmocom/mslookup/mdns.h
A include/osmocom/mslookup/mdns_sock.h
A include/osmocom/mslookup/mslookup.h
A include/osmocom/mslookup/mslookup_client.h
A include/osmocom/mslookup/mslookup_client_fake.h
A include/osmocom/mslookup/mslookup_client_mdns.h
A libosmo-mslookup.pc.in
M src/Makefile.am
A src/mslookup/Makefile.am
A src/mslookup/mdns.c
A src/mslookup/mdns_msg.c
A src/mslookup/mdns_msg.h
A src/mslookup/mdns_record.c
A src/mslookup/mdns_record.h
A src/mslookup/mdns_rfc.c
A src/mslookup/mdns_rfc.h
A src/mslookup/mdns_sock.c
A src/mslookup/mslookup.c
A src/mslookup/mslookup_client.c
A src/mslookup/mslookup_client_fake.c
A src/mslookup/mslookup_client_mdns.c
M tests/Makefile.am
A tests/mslookup/Makefile.am
A tests/mslookup/mdns_test.c
A tests/mslookup/mdns_test.err
A tests/mslookup/mslookup_client_mdns_test.c
A tests/mslookup/mslookup_client_mdns_test.err
A tests/mslookup/mslookup_client_test.c
A tests/mslookup/mslookup_client_test.err
A tests/mslookup/mslookup_test.c
A tests/mslookup/mslookup_test.err
M tests/testsuite.at
39 files changed, 4,380 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/02/16202/9
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/16202
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I83487ab8aad1611eb02e997dafbcb8344da13df1
Gerrit-Change-Number: 16202
Gerrit-PatchSet: 9
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191125/92d6cd20/attachment.htm>


More information about the gerrit-log mailing list