Project

General

Profile

Actions

Feature #4357

closed

mDNS: don't receive requests sent by self

Added by neels over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
Start date:
01/10/2020
Due date:
% Done:

0%

Spec Reference:

Description

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?


Related issues

Is duplicate of Distributed GSM - Feature #4253: in mDNS socket rx, implicitly drop own messages sent out instead of receiving and parsingResolvedosmith11/08/2019

Actions
Actions #1

Updated by keith over 4 years ago

Hi!

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?

Actions #2

Updated by osmith over 4 years ago

Whenever a request is arriving at the server, we could check if the client is waiting for an answer with the same packet-id (and domain, if we want to be 100% sure). If that is the case, then ignore the request.

Sounds like effort for not so much gain?

Agreed.

Actions #3

Updated by neels almost 4 years ago

  • Is duplicate of Feature #4253: in mDNS socket rx, implicitly drop own messages sent out instead of receiving and parsing added
Actions #4

Updated by neels almost 4 years ago

  • Status changed from New to Resolved

see #4253

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)