Skip to content

Commit 97ddf47

Browse files
authored
Update restrictions.yaml with Unix socket rule
Added restriction for reverse tunnel on Unix socket.
1 parent fa02660 commit 97ddf47

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

restrictions.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ restrictions:
5959
cidr:
6060
- 0.0.0.0/0
6161
- ::/0
62+
unix_path: "^.*$"
6263

6364
---
6465
# Examples
@@ -116,3 +117,12 @@ restrictions:
116117
match:
117118
- !Any
118119
allow: []
120+
---
121+
restrictions:
122+
- name: "example 6"
123+
description: "Allow reverse tunnel for Unix socket on /tmp/xxxx "
124+
match:
125+
- !Any
126+
allow:
127+
- !ReverseTunnel
128+
unix_path: "^/tmp/"

0 commit comments

Comments
 (0)