2
# ***** BEGIN LICENSE BLOCK *****
3
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
5
# The contents of this file are subject to the Mozilla Public License Version
6
# 1.1 (the "License"); you may not use this file except in compliance with
7
# the License. You may obtain a copy of the License at
8
# http://www.mozilla.org/MPL/
10
# Software distributed under the License is distributed on an "AS IS" basis,
11
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
# for the specific language governing rights and limitations under the
15
# The Original Code is mozilla.org code.
17
# The Initial Developer of the Original Code is
18
# Jeff Walden <jwalden+code@mit.edu>.
19
# Portions created by the Initial Developer are Copyright (C) 2008
20
# the Initial Developer. All Rights Reserved.
24
# Alternatively, the contents of this file may be used under the terms of
25
# either the GNU General Public License Version 2 or later (the "GPL"), or
26
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
# in which case the provisions of the GPL or the LGPL are applicable instead
28
# of those above. If you wish to allow use of your version of this file only
29
# under the terms of either the GPL or the LGPL, and not to allow others to
30
# use your version of this file under the terms of the MPL, indicate your
31
# decision by deleting the provisions above and replace them with the notice
32
# and other provisions required by the GPL or the LGPL. If you do not delete
33
# the provisions above, a recipient may use your version of this file under
34
# the terms of any one of the MPL, the GPL or the LGPL.
36
# ***** END LICENSE BLOCK *****
39
# This file defines the locations at which this HTTP server may be accessed.
40
# It is referred to by the following page, so if this file moves, that page must
41
# be modified accordingly:
43
# http://developer.mozilla.org/en/docs/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F
45
# Empty lines and lines which begin with "#" are ignored and may be used for
46
# storing comments. All other lines consist of an origin followed by whitespace
47
# and a comma-separated list of options (if indeed any options are needed).
49
# The format of an origin is, referring to RFC 2396, a scheme (either "http" or
50
# "https"), followed by "://", followed by a host, followed by ":", followed by
51
# a port number. The colon and port number must be present even if the port
52
# number is the default for the protocol.
54
# Unrecognized options are ignored. Recognized options are "primary" and
55
# "privileged", "nocert", "cert=some_cert_nickname".
57
# "primary" denotes a location which is the canonical location of
58
# the server; this location is the one assumed for requests which don't
59
# otherwise identify a particular origin (e.g. HTTP/1.0 requests).
61
# "privileged" denotes a location which should have the ability to request
62
# elevated privileges; the default is no privileges.
64
# "nocert" makes sense only for https:// hosts and means there is not
65
# any certificate automatically generated for this host.
67
# "cert=nickname" tells the pgo server to use a particular certificate
68
# for this host. The certificate is referenced by its nickname that must
69
# not contain any spaces. The certificate key files (PKCS12 modules)
70
# for custom certification are loaded from build/pgo/ssltunnel/certs
71
# directory. When new certificate is added to this dir pgo/ssltunnel
72
# must be builded then.
76
# This is the primary location from which tests run.
78
http://localhost:8888 primary,privileged
81
# These are a common set of prefixes scattered across one TLD with two ports and
82
# another TLD on a single port.
84
http://example.org:80 privileged
85
http://test1.example.org:80 privileged
86
http://test2.example.org:80 privileged
87
http://sub1.test1.example.org:80 privileged
88
http://sub1.test2.example.org:80 privileged
89
http://sub2.test1.example.org:80 privileged
90
http://sub2.test2.example.org:80 privileged
91
http://example.org:8000 privileged
92
http://test1.example.org:8000 privileged
93
http://test2.example.org:8000 privileged
94
http://sub1.test1.example.org:8000 privileged
95
http://sub1.test2.example.org:8000 privileged
96
http://sub2.test1.example.org:8000 privileged
97
http://sub2.test2.example.org:8000 privileged
98
http://example.com:80 privileged
99
http://test1.example.com:80 privileged
100
http://test2.example.com:80 privileged
101
http://sub1.test1.example.com:80 privileged
102
http://sub1.test2.example.com:80 privileged
103
http://sub2.test1.example.com:80 privileged
104
http://sub2.test2.example.com:80 privileged
106
https://example.com:443 privileged
107
https://test1.example.com:443 privileged
108
https://test2.example.com:443 privileged
109
https://sub1.test1.example.com:443 privileged
110
https://sub1.test2.example.com:443 privileged
111
https://sub2.test1.example.com:443 privileged
112
https://sub2.test2.example.com:443 privileged
113
https://nocert.example.com:443 privileged,nocert
114
https://self-signed.example.com:443 privileged,cert=selfsigned
115
https://untrusted.example.com:443 privileged,cert=untrusted
116
https://requestclientcert.example.com:443 privileged,clientauth=request
117
https://requireclientcert.example.com:443 privileged,clientauth=require
120
# These are subdomains of <ält.example.org>.
122
http://sub1.xn--lt-uia.example.org:8000 privileged
123
http://sub2.xn--lt-uia.example.org:80 privileged
124
http://xn--exmple-cua.test:80 privileged
125
http://sub1.xn--exmple-cua.test:80 privileged
127
https://xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
128
https://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
131
# These are subdomains of <παράδειγμα.δοκιμή>, the Greek IDN for example.test.
133
http://xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
134
http://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
136
# Bug 413909 test host
137
https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged,cert=bug413909cert
140
# These hosts are used in tests which exercise privilege-granting functionality;
141
# we could reuse some of the names above, but specific names make it easier to
142
# distinguish one from the other in tests (as well as what functionality is
145
http://sectest1.example.org:80 privileged
146
http://sub.sectest2.example.org:80 privileged
147
http://sectest2.example.org:80
148
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
156
# Used while testing the url-classifier
158
http://malware.example.com:80
161
https://www.bank1.com:443 privileged,cert=escapeattack1
162
https://www.bank2.com:443 privileged,cert=escapeattack2