Closed Bug 1432983 Opened 6 years ago Closed 2 years ago

Introduce a build flag to disable libmdns

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: arthur, Assigned: tjr)

References

(Blocks 1 open bug)

Details

(Whiteboard: [tor 18821])

Attachments

(1 file)

In Tor Browser, as a defense in depth, we disable libmdns. Here is the current patch:
https://torpat.ch/18821
and here is the ticket:
https://trac.torproject.org/18821

We would like to propose uplifting this build behavior, behind a build flag such as --disable-mdns
If we're going to add a flag for each individual thing you're disabling for defense in depth against proxy bypass, we're going to have a lot of, mostly useless, configure flags. Wouldn't it be better if you gated everything behind a single flag? (it would even be better for you, because you wouldn't have to add all these to your mozconfig)
(In reply to Mike Hommey [:glandium] from comment #1)
> If we're going to add a flag for each individual thing you're disabling for
> defense in depth against proxy bypass, we're going to have a lot of, mostly
> useless, configure flags. Wouldn't it be better if you gated everything
> behind a single flag? (it would even be better for you, because you wouldn't
> have to add all these to your mozconfig)

Great idea. I created a meta bug, "ProxyBypass".
Blocks: ProxyBypass
Product: Core → Firefox Build System

I think that no one uses libmdns since we removed Presentation API and video casting of second screen.

searchfox does seem to show no references; I've sent in a try run and will give it a shot. https://treeherder.mozilla.org/#/jobs?repo=try&revision=0e46a279d007e4795e532063e29951bd05019b90

Flags: needinfo?(dd.mozilla)
Assignee: nobody → tom
Status: NEW → ASSIGNED
Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d090400a5d3
Remove mdns r=necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Flags: needinfo?(dd.mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: