summaryrefslogtreecommitdiff
path: root/interface-definitions/include/webproxy-squidguard.xml.i
blob: 6958056d4bfe220fead771e78771d0d44bde706f (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!-- included start from webproxy-squidguard.xml.i -->
<leafNode name="allow-category">
  <properties>
    <help>Category to allow</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_webproxy_category.sh</script>
    </completionHelp>
    <multi/>
  </properties>
</leafNode>
<leafNode name="allow-ipaddr-url">
  <properties>
    <help>Allow IP address URLs</help>
    <valueless/>
  </properties>
</leafNode>
<leafNode name="block-category">
  <properties>
    <help>Category to block</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_webproxy_category.sh</script>
    </completionHelp>
    <multi/>
  </properties>
</leafNode>
<leafNode name="default-action">
  <properties>
    <help>Default action</help>
    <completionHelp>
      <list>allow block</list>
    </completionHelp>
    <valueHelp>
      <format>allow</format>
      <description>Default filter action to allow (default)</description>
    </valueHelp>
    <valueHelp>
      <format>block</format>
      <description>Default filter action to allow (default)</description>
    </valueHelp>
    <constraint>
      <regex>^(allow|block)$</regex>
    </constraint>
  </properties>
</leafNode>
<leafNode name="enable-safe-search">
  <properties>
    <help>Enable safe-mode search on popular search engines</help>
  </properties>
</leafNode>
<leafNode name="local-block-keyword">
  <properties>
    <help>Local keyword to block</help>
    <valueHelp>
      <format>keyword</format>
      <description>Keyword (or regex) to block</description>
    </valueHelp>
    <multi/>
  </properties>
</leafNode>
<leafNode name="local-block-url">
  <properties>
    <help>Local URL to block</help>
    <valueHelp>
      <format>url</format>
      <description>Local URL to block (without http:\/\/</description>
    </valueHelp>
    <constraint>
      <regex>^(https?:\/\/)$</regex>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<leafNode name="local-block">
  <properties>
    <help>Local site to block</help>
    <valueHelp>
      <format>ipv4</format>
      <description>IP address of site to block</description>
    </valueHelp>
    <constraint>
      <validator name="ipv4-prefix"/>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<leafNode name="local-ok-url">
  <properties>
    <help>Local URL to allow</help>
    <valueHelp>
      <format>url</format>
      <description>Local URL to allow (without http:\/\/</description>
    </valueHelp>
    <constraint>
      <regex>^(https?:\/\/)$</regex>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<leafNode name="local-ok">
  <properties>
    <help>Local site to allow</help>
    <valueHelp>
      <format>ipv4</format>
      <description>IP address of site to allow</description>
    </valueHelp>
    <constraint>
      <validator name="ipv4-prefix"/>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<leafNode name="log">
  <properties>
    <help>Log block category</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_webproxy_category.sh</script>
      <list>all</list>
    </completionHelp>
    <multi/>
  </properties>
</leafNode>
<!-- included end -->