server-locations.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. #
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. #
  6. # This file defines the locations at which this HTTP server may be accessed.
  7. # It is referred to by the following page, so if this file moves, that page must
  8. # be modified accordingly:
  9. #
  10. # https://developer.mozilla.org/en/docs/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F
  11. #
  12. # Empty lines and lines which begin with "#" are ignored and may be used for
  13. # storing comments. All other lines consist of an origin followed by whitespace
  14. # and a comma-separated list of options (if indeed any options are needed).
  15. #
  16. # The format of an origin is, referring to RFC 2396, a scheme (either "http" or
  17. # "https"), followed by "://", followed by a host, followed by ":", followed by
  18. # a port number. The colon and port number must be present even if the port
  19. # number is the default for the protocol.
  20. #
  21. # Unrecognized options are ignored. Recognized options are "primary" and
  22. # "privileged", "nocert", "cert=some_cert_nickname", "redir=hostname" and
  23. # "failHandshake".
  24. #
  25. # "primary" denotes a location which is the canonical location of
  26. # the server; this location is the one assumed for requests which don't
  27. # otherwise identify a particular origin (e.g. HTTP/1.0 requests).
  28. #
  29. # "privileged" denotes a location which should have the ability to request
  30. # elevated privileges; the default is no privileges.
  31. #
  32. # "nocert" makes sense only for https:// hosts and means there is not
  33. # any certificate automatically generated for this host.
  34. #
  35. # "failHandshake" causes the tls handshake to fail (by sending a client hello to
  36. # the client).
  37. #
  38. # "cert=nickname" tells the pgo server to use a particular certificate
  39. # for this host. The certificate is referenced by its nickname that must
  40. # not contain any spaces. The certificate key files (PKCS12 modules)
  41. # for custom certification are loaded from build/pgo/certs
  42. # directory. When new certificate is added to this dir pgo/ssltunnel
  43. # must be built then. This is only necessary for cases where we really do
  44. # want specific certs.
  45. #
  46. # "redir=hostname" tells the pgo server is only used for https://
  47. # hosts while processing the CONNECT tunnel request. It responds
  48. # to the CONNECT with a 302 and redirection to the hostname instead
  49. # of connecting to the real back end and replying with a 200. This
  50. # mode exists primarily to ensure we don't allow a proxy to do that.
  51. #
  52. #
  53. # This is the primary location from which tests run.
  54. #
  55. http://mochi.test:8888 primary,privileged
  56. #
  57. # These are a common set of prefixes scattered across one TLD with two ports and
  58. # another TLD on a single port.
  59. #
  60. http://127.0.0.1:80 privileged
  61. http://127.0.0.1:8888 privileged
  62. http://test:80 privileged
  63. http://mochi.test:8888 privileged
  64. http://test1.mochi.test:8888
  65. http://sub1.test1.mochi.test:8888
  66. http://sub2.xn--lt-uia.mochi.test:8888
  67. http://test2.mochi.test:8888
  68. http://example.org:80 privileged
  69. http://test1.example.org:80 privileged
  70. http://test2.example.org:80 privileged
  71. http://sub1.test1.example.org:80 privileged
  72. http://sub1.test2.example.org:80 privileged
  73. http://sub2.test1.example.org:80 privileged
  74. http://sub2.test2.example.org:80 privileged
  75. http://example.org:8000 privileged
  76. http://test1.example.org:8000 privileged
  77. http://test2.example.org:8000 privileged
  78. http://sub1.test1.example.org:8000 privileged
  79. http://sub1.test2.example.org:8000 privileged
  80. http://sub2.test1.example.org:8000 privileged
  81. http://sub2.test2.example.org:8000 privileged
  82. http://example.com:80 privileged
  83. http://www.example.com:80 privileged
  84. http://test1.example.com:80 privileged
  85. http://test2.example.com:80 privileged
  86. http://sub1.test1.example.com:80 privileged
  87. http://sub1.test2.example.com:80 privileged
  88. http://sub2.test1.example.com:80 privileged
  89. http://sub2.test2.example.com:80 privileged
  90. http://noxul.example.com:80 privileged,noxul
  91. http://example.net:80 privileged
  92. # Used to test that clearing Service Workers for domain example.com, does not clear prefixexample.com
  93. http://prefixexample.com:80
  94. # The first HTTPS location is used to generate the Common Name (CN) value of the
  95. # certificate's Issued To field.
  96. https://example.com:443 privileged
  97. https://test1.example.com:443 privileged
  98. https://test2.example.com:443 privileged
  99. https://example.org:443 privileged
  100. https://test1.example.org:443 privileged
  101. https://test2.example.org:443 privileged
  102. https://sub1.test1.example.com:443 privileged
  103. https://sub1.test2.example.com:443 privileged
  104. https://sub2.test1.example.com:443 privileged
  105. https://sub2.test2.example.com:443 privileged
  106. https://nocert.example.com:443 privileged,nocert
  107. https://self-signed.example.com:443 privileged,cert=selfsigned
  108. https://untrusted.example.com:443 privileged,cert=untrusted
  109. https://expired.example.com:443 privileged,cert=expired
  110. https://requestclientcert.example.com:443 privileged,clientauth=request
  111. https://requireclientcert.example.com:443 privileged,clientauth=require
  112. https://mismatch.expired.example.com:443 privileged,cert=expired
  113. https://mismatch.untrusted.example.com:443 privileged,cert=untrusted
  114. https://untrusted-expired.example.com:443 privileged,cert=untrustedandexpired
  115. https://mismatch.untrusted-expired.example.com:443 privileged,cert=untrustedandexpired
  116. # This is here so that we don't load the default live bookmark over
  117. # the network in every test suite.
  118. http://fxfeeds.mozilla.com:80
  119. # Prevent safebrowsing tests from hitting the network for its-a-trap.html and
  120. # its-an-attack.html.
  121. http://www.itisatrap.org:80
  122. #
  123. # These are subdomains of <ält.example.org>.
  124. #
  125. http://sub1.xn--lt-uia.example.org:8000 privileged
  126. http://sub2.xn--lt-uia.example.org:80 privileged
  127. http://xn--exmple-cua.test:80 privileged
  128. http://sub1.xn--exmple-cua.test:80 privileged
  129. http://xn--exaple-kqf.test:80 privileged
  130. http://sub1.xn--exaple-kqf.test:80 privileged
  131. https://xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
  132. https://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
  133. #
  134. # These are subdomains of <παράδειγμα.δοκιμή>, the Greek IDN for example.test.
  135. #
  136. http://xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
  137. http://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
  138. # Bug 413909 test host
  139. https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged,cert=bug413909cert
  140. #
  141. # These hosts are used in tests which exercise privilege-granting functionality;
  142. # we could reuse some of the names above, but specific names make it easier to
  143. # distinguish one from the other in tests (as well as what functionality is
  144. # being tested).
  145. #
  146. http://sectest1.example.org:80 privileged
  147. http://sub.sectest2.example.org:80 privileged
  148. http://sectest2.example.org:80
  149. http://sub.sectest1.example.org:80
  150. https://sectest1.example.org:443 privileged
  151. https://sub.sectest2.example.org:443 privileged
  152. https://sectest2.example.org:443
  153. https://sub.sectest1.example.org:443
  154. #
  155. # Used while testing the url-classifier
  156. #
  157. http://malware.example.com:80
  158. http://unwanted.example.com:80
  159. http://tracking.example.com:80
  160. http://not-tracking.example.com:80
  161. http://tracking.example.org:80
  162. http://itisatracker.org:80
  163. http://trackertest.org:80
  164. https://malware.example.com:443
  165. https://unwanted.example.com:443
  166. https://tracking.example.com:443
  167. https://not-tracking.example.com:443
  168. https://tracking.example.org:443
  169. # Bug 1281083
  170. http://bug1281083.example.com:80
  171. # Bug 483437, 484111
  172. https://www.bank1.com:443 privileged,cert=escapeattack1
  173. #
  174. # CONNECT for redirproxy results in a 302 redirect to
  175. # test1.example.com
  176. #
  177. https://redirproxy.example.com:443 privileged,redir=test1.example.com
  178. # Host used for IndexedDB Quota testing
  179. http://bug704464-1.example.com:80 privileged
  180. http://bug704464-2.example.com:80 privileged
  181. http://bug704464-3.example.com:80 privileged
  182. http://bug702292.example.com:80 privileged
  183. # W3C hosts.
  184. # See http://www.w3.org/wiki/Testing/Requirements#The_Web_test_server_must_be_available_through_different_domain_names
  185. http://w3c-test.org:80
  186. http://w3c-test.org:81
  187. http://w3c-test.org:82
  188. http://w3c-test.org:83
  189. http://www.w3c-test.org:80
  190. http://www.w3c-test.org:81
  191. http://www.w3c-test.org:82
  192. http://www.w3c-test.org:83
  193. http://www1.w3c-test.org:80
  194. http://www1.w3c-test.org:81
  195. http://www1.w3c-test.org:82
  196. http://www1.w3c-test.org:83
  197. http://www2.w3c-test.org:80
  198. http://www2.w3c-test.org:81
  199. http://www2.w3c-test.org:82
  200. http://www2.w3c-test.org:83
  201. # http://天気の良い日.w3c-test.org
  202. http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:80
  203. http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:81
  204. http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:82
  205. http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:83
  206. # http://élève.w3c-test.org
  207. http://xn--lve-6lad.w3c-test.org:80
  208. http://xn--lve-6lad.w3c-test.org:81
  209. http://xn--lve-6lad.w3c-test.org:82
  210. http://xn--lve-6lad.w3c-test.org:83
  211. # HTTPS versions of the above
  212. https://w3c-test.org:443
  213. https://www.w3c-test.org:443
  214. https://www1.w3c-test.org:443
  215. https://www2.w3c-test.org:443
  216. https://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:443
  217. https://xn--lve-6lad.w3c-test.org:443
  218. http://test.w3.org:80
  219. # Hosts for testing TLD-based fallback encoding
  220. http://example.tw:80 privileged
  221. http://example.cn:80 privileged
  222. http://example.co.jp:80 privileged
  223. http://example.fi:80 privileged
  224. # Hosts for testing marketplace apps installations
  225. https://marketplace.firefox.com:443 privileged
  226. https://marketplace-dev.allizom.org:443 privileged
  227. https://marketplace.allizom.org:443 privileged
  228. # Host for HPKP
  229. https://include-subdomains.pinning-dynamic.example.com:443 privileged,cert=dynamicPinningGood
  230. https://bad.include-subdomains.pinning-dynamic.example.com:443 privileged,cert=dynamicPinningBad
  231. # Host for static pin tests
  232. https://badchain.include-subdomains.pinning.example.com:443 privileged,cert=staticPinningBad
  233. https://fail-handshake.example.com:443 privileged,failHandshake
  234. # Hosts for sha1 console warning tests
  235. https://sha1ee.example.com:443 privileged,cert=sha1_end_entity
  236. https://sha256ee.example.com:443 privileged,cert=sha256_end_entity
  237. # Hosts for ssl3/rc4 console warning tests
  238. https://ssl3.example.com:443 privileged,ssl3
  239. https://rc4.example.com:443 privileged,rc4
  240. https://ssl3rc4.example.com:443 privileged,ssl3,rc4
  241. https://tls1.example.com:443 privileged,tls1
  242. # Hosts for youtube rewrite tests
  243. https://mochitest.youtube.com:443