mDNS: don't receive requests sent by self
It's not a huge problem, but it would be an optimisation / less noise if an mDNS server would be able to skip requests sent by its own mDNS client:
20200110160308476 DMSLOOKUP DEBUG sending mDNS query: gsup.hlr.901700000014705.imsi (mslookup_client_mdns.c:121) 20200110160308477 DMSLOOKUP DEBUG mDNS rx request: gsup.hlr.901700000014705.imsi (mslookup_server_mdns.c:85) 20200110160308477 DMSLOOKUP DEBUG gsup.hlr.901700000014705.imsi: does not exist in local HLR (mslookup_server.c:210)
Not sure how to achieve that -- we can't filter by sender address, right?
right, if you filter by sender address, then you filter out this case, correct?
if the client is a subprocess of say, FreeSwitch PBX looking for voice call routing info, it wants it's "own" mDNS server to respond. I guess for hlr requests, you could filter requests coming from "my" ip address.
Do you want to add a HLR ID or somesuch, then include it in the request, and filter on that? - don't answer requests for hlr IMSI lookups from my own ID
Sounds like effort for not so much gain?