Closed Bug 1896625 Opened 1 year ago Closed 1 year ago

Support creating TLS tunnel for WebrtcTCPSocket

Categories

(Core :: Networking: HTTP, defect, P2)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr128 --- fixed
firefox129 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

Details

(Whiteboard: [necko-triaged][necko-priority-queue])

Attachments

(4 files)

See bug 1885594 #comment 22.
necko needs to make some change in order to support setting TLS tunnel for WebrtcTCPSocket

Blocks: 1885594
Whiteboard: [necko-triaged][necko-priority-new] → [necko-triaged][necko-priority-queue]
Assignee: nobody → kershaw
Status: NEW → ASSIGNED

What do you think about the possibility of allowing this even for HTTP proxies (see https://bugzilla.mozilla.org/show_bug.cgi?id=1885594#c33)?

Flags: needinfo?(kershaw)

(In reply to Byron Campen [:bwc] from comment #2)

What do you think about the possibility of allowing this even for HTTP proxies (see https://bugzilla.mozilla.org/show_bug.cgi?id=1885594#c33)?

I think it'd doable, but we need another flag to let necko know when to setup a tunnel when using HTTP proxy.
If you think we should support it, I can add such a flag.

Flags: needinfo?(kershaw) → needinfo?(docfaraday)

Yeah, I think it is reasonable to be able to tunnel TLS through an HTTP proxy, even though it is a bit weird.

Flags: needinfo?(docfaraday)

Let me know if I can help / test / assist / gather logs if needed.

(In reply to brian.m.pettis from comment #5)

Let me know if I can help / test / assist / gather logs if needed.

I've create a try push that ensures a TLS tunnel is always set up when a proxy is used.
Could you test if it works?
You could also find the instructions for downloading a build in bug 1885594 #comment 34.

Thanks.

Flags: needinfo?(brian.m.pettis)

I was able to get some testing done today on my macOS and Windows 11.
Looks like Secure TURN (TLS) through an HTTP Proxy works on this try build you provided.

Appreciate all the work on this!

Flags: needinfo?(brian.m.pettis)

Would it be possible to get a build that includes this fix for tunneling via HTTP proxy AND the fix in bug 1885594, to test with?

I just pushed this to try. It should probably work.

Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bce31ff0746 When using HTTPS proxy, setup TLS tunnel for CONNECT only request, r=necko-reviewers,jesup https://hg.mozilla.org/integration/autoland/rev/6acbf1daad22 Add a new flag to allow to always setup TLS tunnel, r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/693839ae57f9 Allow WebrtcTCPSocket to setup tls tunnel for all proxy, r=bwc
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

What do you think about an ESR 128 uplift for this? Our webex contact says about 10% of Firefox users on webex are running into problems because they don't have this fix.

Flags: needinfo?(kershaw)

(In reply to Byron Campen [:bwc] from comment #15)

What do you think about an ESR 128 uplift for this? Our webex contact says about 10% of Firefox users on webex are running into problems because they don't have this fix.

I think these are low-risk changes, so yes, let's uplift these patches to esr 128.
I'll create a squashed patch to make uplift easier.

Flags: needinfo?(kershaw)

Thanks!

Attachment #9413664 - Flags: approval-mozilla-esr128?

esr128 Uplift Approval Request

  • User impact if declined: Webrtc connection fail.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: Low
  • Explanation of risk level: This patch is verfified.
  • String changes made/needed: N/A
  • Is Android affected?: yes
Attachment #9413664 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
Regressions: 1922559
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: