summaryrefslogtreecommitdiff
path: root/interface-definitions/include/webproxy-url-filtering.xml.i
blob: 7763cb3937fe96a4369c4cfb981614dd014acb02 (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
<!-- include start from webproxy-url-filtering.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 (default: allow)</help>
    <completionHelp>
      <list>allow block</list>
    </completionHelp>
    <valueHelp>
      <format>allow</format>
      <description>Default filter action is allow)</description>
    </valueHelp>
    <valueHelp>
      <format>block</format>
      <description>Default filter action is block</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>
    <valueless/>
  </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>
    <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-address"/>
      <validator name="fqdn"/>
    </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>
    <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-address"/>
      <validator name="fqdn"/>
    </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>
<!-- include end -->