ffxbld
98819106f1
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D92065
2020-10-01 14:37:46 +00:00
Valentin Gosu
b9501927ed
Bug 1616252 - Exclude domains in /etc/hosts from using TRR r=necko-reviewers,dragana
...
This patch adds a task that is dispatched to the background thread when TRR
is first enabled. This may mean during the TRRService initialization at
startup or later when the pref is flipped.
The task will call into rust_parse_etc_hosts which does the actual file
opening and parsing. We pass the path to the file, that being either
/etc/hosts or the Windows equivalent obtained by calling
SHGetSpecialFolderPathA.
The rust code opens the file and proceeds to read it line by line while
accumulating all the hostnames in an array. Since these files can be
quite large, on the order of several megabytes, we need to make sure we
don't block shutdown doing this - so once more than 100 domains have
accumulated in the array we call back into C++ code to add them to the
exclusion list. The callback will return true if we should continue to
parse the file or false otherwise.
We also change the tests to use "excluded" rather than localhost when
testing the excluded-domains prefs, since localhost is unually present
in /etc/hosts and may interfere with the test.
We also use an atomic sTRRServicePtr to make sure that we don't have
a data race between the TRRService being freed and the callbacks of the
parsing.
Differential Revision: https://phabricator.services.mozilla.com/D90663
2020-10-01 07:01:58 +00:00
Valentin Gosu
a3a123bcf3
Bug 1667975 - Don't check rcode before parsing packet r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D92040
2020-10-01 10:05:03 +00:00
Sebastian Hengst
a34f36ddbd
Backed out 2 changesets (bug 1652677) on request from kershaw for causing bug 1667801
...
Backed out changeset 4a66e4016c18 (bug 1652677)
Backed out changeset df6bdf8157b1 (bug 1652677)
2020-09-30 13:14:00 +02:00
ffxbld
49e215ac76
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D91597
2020-09-28 15:02:00 +00:00
Kershaw Chang
93e628b4ae
Bug 1652677 - P2: Implement necko part of echconfig r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-09-25 07:35:04 +00:00
Kershaw Chang
0ec383b700
Bug 1652677 - P1: Prefer to use records with ECH config r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89454
2020-09-24 19:33:15 +00:00
Razvan Maries
e761feff33
Backed out 2 changesets (bug 1652677) for build bustages on nsHttpConnection.cpp. CLOSED TREE
...
Backed out changeset 7df7bfbfbc6e (bug 1652677)
Backed out changeset 435ff20fa8c6 (bug 1652677)
2020-09-24 22:01:09 +03:00
Kershaw Chang
d12fbcdc43
Bug 1652677 - P2: Implement necko part of echconfig r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-09-24 16:20:04 +00:00
Kershaw Chang
bd99e0b590
Bug 1652677 - P1: Prefer to use records with ECH config r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89454
2020-09-24 14:29:56 +00:00
Valentin Gosu
7822dc93c1
Bug 1666715 - Assert that record is not already in evictionQ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D91101
2020-09-23 12:33:33 +00:00
Simon Giesecke
de7bab0f06
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Valentin Gosu
d8fa63f024
Bug 1666249 - Save canonical name when lookup with DNS-over-HTTPS enabled r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90979
2020-09-23 09:29:50 +00:00
Butkovits Atila
499dcd036b
Backed out 2 changesets (bug 1666711, bug 1666249) for causing failures at test_trr_additional_section.js. CLOSED TREE
...
Backed out changeset a802f1c429bc (bug 1666711)
Backed out changeset da73031913b7 (bug 1666249)
2020-09-23 11:49:14 +03:00
Valentin Gosu
df16132ad7
Bug 1666249 - Save canonical name when lookup with DNS-over-HTTPS enabled r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90979
2020-09-23 07:56:23 +00:00
Csoregi Natalia
3efe04d48a
Backed out 2 changesets (bug 1666249) for failures on test_trr_nat64.js. CLOSED TREE
...
Backed out changeset cc8915693d90 (bug 1666249)
Backed out changeset 42106e84c23a (bug 1666249)
2020-09-22 23:30:13 +03:00
Valentin Gosu
22d869c8ba
Bug 1666249 - Save canonical name when lookup with DNS-over-HTTPS enabled r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90979
2020-09-22 16:32:46 +00:00
mcccs
c7b6171fd4
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-22 07:29:34 +00:00
ffxbld
40f2c8cc60
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D90947
2020-09-22 02:55:14 +00:00
Valentin Gosu
ea223460f7
Bug 1665979 - Make sure we call MaybeRenewHostRecord when adding additional record r=kershaw,necko-reviewers
...
If we don't, the record may already be on the eviction queue, meaning
we try to remove it twice.
Differential Revision: https://phabricator.services.mozilla.com/D90787
2020-09-21 07:09:05 +00:00
Csoregi Natalia
f040f9c556
Backed out changeset 8c6e791dcb00 (bug 1589781) for xpcshell failures on test_ext_captivePortal.js. CLOSED TREE
2020-09-20 14:36:18 +03:00
mcccs
a748291a86
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-20 10:43:02 +00:00
ffxbld
3768ca343e
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D90609
2020-09-17 20:20:07 +00:00
Bogdan Tara
8fe09fb514
Backed out changeset 7f4e096d1be6 (bug 1589781) for NetworkConnectivityService tsan failures CLOSED TREE
2020-09-17 19:28:43 +03:00
mcccs
17b4754b7e
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-17 06:40:19 +00:00
Dorel Luca
1a57280c05
Backed out changeset bdca8dc601a4 (bug 1589781) for Build bustages in netwerk/base/NetworkConnectivityService.cpp. CLOSED TREE
2020-09-16 23:11:52 +03:00
mcccs
b51ce503d3
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-16 17:52:38 +00:00
Valentin Gosu
07362aeaa4
Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-15 10:39:56 +00:00
Valentin Gosu
7de4c8009c
Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
...
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16
While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11
The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.
Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-15 10:39:07 +00:00
Valentin Gosu
8fac241692
Bug 1660970 - Get rid of DoHAddr r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D88121
2020-09-15 10:38:41 +00:00
Valentin Gosu
3e2712a46b
Bug 1645108 - Parse additional section of TRR response r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D87088
2020-09-15 10:38:27 +00:00
Razvan Maries
c8e604eb78
Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
...
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Valentin Gosu
6d149e6e7a
Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-14 12:06:27 +00:00
Valentin Gosu
26af33d4cc
Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
...
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16
While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11
The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.
Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-14 21:42:02 +00:00
Valentin Gosu
438128d0d4
Bug 1660970 - Get rid of DoHAddr r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D88121
2020-09-14 21:42:02 +00:00
Valentin Gosu
6051d814c2
Bug 1645108 - Parse additional section of TRR response r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D87088
2020-09-14 21:41:44 +00:00
ffxbld
651ca4559b
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D90123
2020-09-14 15:48:22 +00:00
Kershaw Chang
361fe2d82b
Bug 1652670 - P2: Make nsSocketTransport use IP hint address to connect r=valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D88988
2020-09-14 14:47:36 +00:00
Kershaw Chang
1ed2ff578d
Bug 1652670 - P1: Use IP hint addresses as regular A/AAAA records r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D88780
2020-09-14 14:47:29 +00:00
ffxbld
c9023a3ab0
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D89378
2020-09-07 14:23:46 +00:00
Mihai Alexandru Michis
997d051046
Backed out changeset 61246cf19cb6 (bug 1589781) for causing failures in test_trr_nat64.js
...
CLOSED TREE
2020-09-02 21:36:15 +03:00
Valentin Gosu
809515f19f
Bug 1661019 - Fix static-analysis warnings in netwerk/dns r=necko-reviewers,kershaw
...
Depends on D88145
Differential Revision: https://phabricator.services.mozilla.com/D88146
2020-09-02 15:39:05 +00:00
Valentin Gosu
2eeec2c551
Bug 1661019 - Autofix static-analysis in netwerk/dns r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D88145
2020-09-02 15:39:00 +00:00
Gurzau Raul
fc8a7ff29c
Backed out 2 changesets (bug 1661019) for build bustages at punycode.h on a CLOSED TREE.
...
Backed out changeset 875ce3664324 (bug 1661019)
Backed out changeset 185dc5a19d44 (bug 1661019)
2020-09-02 15:27:19 +03:00
mcccs
61959b6258
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-01 10:04:43 +00:00
Valentin Gosu
c9a8b2a9b3
Bug 1661019 - Fix static-analysis warnings in netwerk/dns r=necko-reviewers,kershaw
...
Depends on D88145
Differential Revision: https://phabricator.services.mozilla.com/D88146
2020-09-02 09:28:53 +00:00
Valentin Gosu
1239be7991
Bug 1661019 - Autofix static-analysis in netwerk/dns r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D88145
2020-09-02 09:32:14 +00:00
Valentin Gosu
1fd65c6047
Bug 1652427 - Add pref for disabling TRR split horizon mitigations r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D88967
2020-09-02 09:26:48 +00:00
Valentin Gosu
0cf5f5e5ac
Bug 1659132 - Make AddrInfo immutable r=dragana,necko-reviewers
...
Also adds constructors for NetAddr to avoid it being uninitialized.
Differential Revision: https://phabricator.services.mozilla.com/D87091
2020-09-01 07:22:14 +00:00
Valentin Gosu
934d895d74
Bug 1659132 - Get rid of NetAddrElement. Make mAddresses an array r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D87090
2020-09-01 07:38:03 +00:00