summaryrefslogtreecommitdiffstats
path: root/__tests__/load/foxyproxy-template.json
blob: 4283aa9fa9619b450b402fd59ed8acb9cd0d4904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
  "mode": "patterns",
  "proxySettings": [
    {
      "title": "some title",
      "type": 3,
      "color": "#3860cc",
      "address": "123.123.123.123",
      "port": 123,
      "username": "foo",
      "password": "bar",
      "active": true,
      "whitePatterns": [
        {
          "title": "everything",
          "active": true,
          "pattern": "*",
          "type": 1,
          "protocols": 1
        }
      ],
      "blackPatterns": [
        {
          "title": "local hostnames (usually no dots in the name). Pattern exists because 'Do not use this proxy for localhost and intranet/private IP addresses' is checked.",
          "active": true,
          "pattern": "^(?:[^:@/]+(?::[^@/]+)?@)?(?:localhost|127\\.\\d+\\.\\d+\\.\\d+)(?::\\d+)?(?:/.*)?$",
          "type": 2,
          "protocols": 1
        },
        {
          "title": "local subnets (IANA reserved address space). Pattern exists because 'Do not use this proxy for localhost and intranet/private IP addresses' is checked.",
          "active": true,
          "pattern": "^(?:[^:@/]+(?::[^@/]+)?@)?(?:192\\.168\\.\\d+\\.\\d+|10\\.\\d+\\.\\d+\\.\\d+|172\\.(?:1[6789]|2[0-9]|3[01])\\.\\d+\\.\\d+)(?::\\d+)?(?:/.*)?$",
          "type": 2,
          "protocols": 1
        },
        {
          "title": "localhost - matches the local host optionally prefixed by a user:password authentication string and optionally suffixed by a port number. The entire local subnet (127.0.0.0/8) matches. Pattern exists because 'Do not use this proxy for localhost and intranet/private IP addresses' is checked.",
          "active": true,
          "pattern": "^(?:[^:@/]+(?::[^@/]+)?@)?[\\w-]+(?::\\d+)?(?:/.*)?$",
          "type": 2,
          "protocols": 1
        }
      ],
      "id": "5yunu1562958387189"
    },
    {
      "title": "Default",
      "type": 5,
      "color": "#0055e5",
      "active": true,
      "whitePatterns": [
        {
          "title": "all URLs",
          "active": true,
          "pattern": "*",
          "type": 1,
          "protocols": 1
        }
      ],
      "blackPatterns": [],
      "id": "k20d21508277536715"
    }
  ],
  "logging": {
    "size": 500,
    "active": true
  }
}