diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-08-03 14:53:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 14:53:02 +0100 |
commit | e199ae2dd5636f9177234bb05b77f4a0c9543428 (patch) | |
tree | 6bb352a1be574b5501a002d345a047c9e42728df /interface-definitions | |
parent | 89890f5b07a3d59eefe5ce210a20715068c10e0e (diff) | |
parent | 3c97f09dcd77636217215e1aa406f00bfc3e5631 (diff) | |
download | vyos-1x-e199ae2dd5636f9177234bb05b77f4a0c9543428.tar.gz vyos-1x-e199ae2dd5636f9177234bb05b77f4a0c9543428.zip |
Merge pull request #1369 from nicolas-fort/T4480
T4480: webproxy: Add safe-ports and ssl-safe-ports for acl squid config
Diffstat (limited to 'interface-definitions')
-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> |