diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2022-07-19 14:54:05 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2022-07-20 11:41:55 +0000 |
commit | 3c97f09dcd77636217215e1aa406f00bfc3e5631 (patch) | |
tree | f64bd6180528b3a9904c2c57cc0511ee31e35544 /interface-definitions/service-webproxy.xml.in | |
parent | 0c10980c37d248c2ef454aa33b139ef7047e128a (diff) | |
download | vyos-1x-3c97f09dcd77636217215e1aa406f00bfc3e5631.tar.gz vyos-1x-3c97f09dcd77636217215e1aa406f00bfc3e5631.zip |
T4480:webproxy: Add safe-ports and ssl-safe-ports for acel squid config -- Fix conflicts
Diffstat (limited to 'interface-definitions/service-webproxy.xml.in')
-rw-r--r-- | interface-definitions/service-webproxy.xml.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/interface-definitions/service-webproxy.xml.in b/interface-definitions/service-webproxy.xml.in index e4609b699..a315aa2ef 100644 --- a/interface-definitions/service-webproxy.xml.in +++ b/interface-definitions/service-webproxy.xml.in @@ -8,6 +8,32 @@ <priority>500</priority> </properties> <children> + <leafNode name="safe-ports"> + <properties> + <help>Safe port ACL</help> + <valueHelp> + <format>u32:1-1024</format> + <description>Port number. Ports included by default: 21,70,80,210,280,443,488,591,777,873,1025-65535</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-20 --range 22-69 --range 71-79 --range 81-209 --range 211-279 --range 281-442 --range 444-487 --range 489-590 --range 592-776 --range 778-872 --range 874-1024"/> + </constraint> + <multi/> + </properties> + </leafNode> + <leafNode name="ssl-safe-ports"> + <properties> + <help>SSL safe port</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Port number. Ports included by default: 443</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-442 --range 444-65535"/> + </constraint> + <multi/> + </properties> + </leafNode> <leafNode name="append-domain"> <properties> <help>Default domain name</help> |