mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add more opensnitch rules
This commit is contained in:
parent
01e528c894
commit
047a4f435a
45
root/etc/opensnitchd/rules/Arch-Audit.json
Normal file
45
root/etc/opensnitchd/rules/Arch-Audit.json
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-20T19:03:50.477917059+01:00",
|
||||||
|
"updated": "2021-02-20T19:03:50.478029169+01:00",
|
||||||
|
"name": "Arch-Audit",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/bin/arch-audit\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.host\", \"data\": \"security.archlinux.org\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/bin/arch-audit",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "443",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.host",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "security.archlinux.org",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
31
root/etc/opensnitchd/rules/Caprine IP grabbers.json
Normal file
31
root/etc/opensnitchd/rules/Caprine IP grabbers.json
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-19T00:29:16.119021299+01:00",
|
||||||
|
"updated": "2021-02-19T00:29:16.119128892+01:00",
|
||||||
|
"name": "Caprine IP grabbers",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": true,
|
||||||
|
"action": "deny",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"process.command\", \"data\": \"/usr/lib/electron/electron /usr/bin/caprine\", \"sensitive\": false}, {\"type\": \"regexp\", \"operand\": \"dest.host\", \"data\": \"(icanhazip.com|myip.opendns.com|api.ipify.org)\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.command",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/lib/electron/electron /usr/bin/caprine",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "regexp",
|
||||||
|
"operand": "dest.host",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "(icanhazip.com|myip.opendns.com|api.ipify.org)",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
38
root/etc/opensnitchd/rules/Caprine UDP.json
Normal file
38
root/etc/opensnitchd/rules/Caprine UDP.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-19T00:28:51.198864766+01:00",
|
||||||
|
"updated": "2021-02-19T00:28:51.198995323+01:00",
|
||||||
|
"name": "Caprine UDP",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"udp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.command\", \"data\": \"/usr/lib/electron/electron /usr/bin/caprine\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"53\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "udp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.command",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/lib/electron/electron /usr/bin/caprine",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "53",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
45
root/etc/opensnitchd/rules/Chromium Google DNS.json
Normal file
45
root/etc/opensnitchd/rules/Chromium Google DNS.json
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-17T12:00:56.475733011+01:00",
|
||||||
|
"updated": "2021-02-17T12:00:56.475877494+01:00",
|
||||||
|
"name": "Chromium Google DNS",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "deny",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/lib/chromium/chromium\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"5228\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.host\", \"data\": \"mtalk.google.com\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/lib/chromium/chromium",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "5228",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.host",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "mtalk.google.com",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-15T00:45:05.734560163+01:00",
|
||||||
|
"updated": "2021-02-15T00:45:05.734609624+01:00",
|
||||||
|
"name": "Clord (color management daemon)",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/lib/colord-sane\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.ip\", \"data\": \"255.255.255.255\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"user.id\", \"data\": \"974\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/lib/colord-sane",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.ip",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "255.255.255.255",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "user.id",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "974",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"created": "2021-02-13T23:36:38.062313553+01:00",
|
"created": "2021-02-15T13:29:25.065236008+01:00",
|
||||||
"updated": "2021-02-13T23:36:38.062390238+01:00",
|
"updated": "2021-02-15T13:29:25.065387003+01:00",
|
||||||
"name": "Discord HTTPS",
|
"name": "Discord HTTPS",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"precedence": false,
|
"precedence": false,
|
||||||
|
|
31
root/etc/opensnitchd/rules/Discord UDP.json
Normal file
31
root/etc/opensnitchd/rules/Discord UDP.json
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-15T01:22:26.772953567+01:00",
|
||||||
|
"updated": "2021-02-15T01:22:26.773090799+01:00",
|
||||||
|
"name": "Discord UDP",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"udp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/opt/discord/Discord\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "udp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/opt/discord/Discord",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
38
root/etc/opensnitchd/rules/DonloadHelper HTTPS.json
Normal file
38
root/etc/opensnitchd/rules/DonloadHelper HTTPS.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-16T11:55:31.950395802+01:00",
|
||||||
|
"updated": "2021-02-16T11:55:31.950531189+01:00",
|
||||||
|
"name": "DonloadHelper HTTPS",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/home/itsdrike/net.downloadhelper.coapp-1.6.0/bin/net.downloadhelper.coapp-linux-64\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/home/itsdrike/net.downloadhelper.coapp-1.6.0/bin/net.downloadhelper.coapp-linux-64",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "443",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
38
root/etc/opensnitchd/rules/Electron HTTPS.json
Normal file
38
root/etc/opensnitchd/rules/Electron HTTPS.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-19T00:24:20.370479504+01:00",
|
||||||
|
"updated": "2021-02-19T00:24:20.370634955+01:00",
|
||||||
|
"name": "Electron HTTPS",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/lib/electron/electron\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/lib/electron/electron",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "443",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
31
root/etc/opensnitchd/rules/Git All TCP.json
Normal file
31
root/etc/opensnitchd/rules/Git All TCP.json
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-15T13:33:07.582364723+01:00",
|
||||||
|
"updated": "2021-02-15T13:33:07.582471317+01:00",
|
||||||
|
"name": "Git All TCP",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/bin/git\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/bin/git",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
38
root/etc/opensnitchd/rules/Pkgfile HTTPS.json
Normal file
38
root/etc/opensnitchd/rules/Pkgfile HTTPS.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-16T15:17:18.298172602+01:00",
|
||||||
|
"updated": "2021-02-16T15:17:18.298287419+01:00",
|
||||||
|
"name": "Pkgfile HTTPS",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/bin/pkgfile\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/bin/pkgfile",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "443",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-23T22:56:10.93718998+01:00",
|
||||||
|
"updated": "2021-02-23T22:56:10.937244167+01:00",
|
||||||
|
"name": "Plasma Browser Integration HTTPS",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/bin/plasma-browser-integration-host\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/bin/plasma-browser-integration-host",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "443",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"created": "2021-02-14T00:13:41.961199834+01:00",
|
"created": "2021-02-15T13:19:58.353616558+01:00",
|
||||||
"updated": "2021-02-14T00:13:41.961289962+01:00",
|
"updated": "2021-02-15T13:19:58.353662508+01:00",
|
||||||
"name": "Git HTTPS",
|
"name": "SSH",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"precedence": false,
|
"precedence": false,
|
||||||
"action": "allow",
|
"action": "allow",
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
"type": "list",
|
"type": "list",
|
||||||
"operand": "list",
|
"operand": "list",
|
||||||
"sensitive": false,
|
"sensitive": false,
|
||||||
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/bin/git\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}]",
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/usr/bin/ssh\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"22\", \"sensitive\": false}]",
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
"type": "simple",
|
"type": "simple",
|
||||||
|
@ -23,14 +23,14 @@
|
||||||
"type": "simple",
|
"type": "simple",
|
||||||
"operand": "process.path",
|
"operand": "process.path",
|
||||||
"sensitive": false,
|
"sensitive": false,
|
||||||
"data": "/usr/bin/git",
|
"data": "/usr/bin/ssh",
|
||||||
"list": null
|
"list": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "simple",
|
"type": "simple",
|
||||||
"operand": "dest.port",
|
"operand": "dest.port",
|
||||||
"sensitive": false,
|
"sensitive": false,
|
||||||
"data": "443",
|
"data": "22",
|
||||||
"list": null
|
"list": null
|
||||||
}
|
}
|
||||||
]
|
]
|
31
root/etc/opensnitchd/rules/Spotify 1 - needed.json
Normal file
31
root/etc/opensnitchd/rules/Spotify 1 - needed.json
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"created": "2021-03-01T20:04:39.570767993+01:00",
|
||||||
|
"updated": "2021-03-01T20:04:39.570848018+01:00",
|
||||||
|
"name": "Spotify 1 - needed",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": true,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/opt/spotify/spotify\", \"sensitive\": false}, {\"type\": \"regexp\", \"operand\": \"dest.host\", \"data\": \"(.*\\\\.?spotify\\\\.com)|(audio.+spotify.+\\\\.akamaized\\\\.net)|(.*\\\\.?scdn\\\\.co)\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/opt/spotify/spotify",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "regexp",
|
||||||
|
"operand": "dest.host",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "(.*\\.?spotify\\.com)|(audio.+spotify.+\\.akamaized\\.net)|(.*\\.?scdn\\.co)",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"created": "2021-02-13T23:56:57.320167106+01:00",
|
"created": "2021-03-01T19:58:54.03179178+01:00",
|
||||||
"updated": "2021-02-13T23:56:57.320204749+01:00",
|
"updated": "2021-03-01T19:58:54.031858532+01:00",
|
||||||
"name": "Spotify",
|
"name": "Spotify 2 - ads (everything else)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"precedence": false,
|
"precedence": false,
|
||||||
"action": "allow",
|
"action": "deny",
|
||||||
"duration": "always",
|
"duration": "always",
|
||||||
"operator": {
|
"operator": {
|
||||||
"type": "simple",
|
"type": "simple",
|
16
root/etc/opensnitchd/rules/Tor Browser ALL.json
Normal file
16
root/etc/opensnitchd/rules/Tor Browser ALL.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-22T13:28:34.500529324+01:00",
|
||||||
|
"updated": "2021-02-22T13:28:34.500593302+01:00",
|
||||||
|
"name": "Tor Browser ALL",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/home/itsdrike/.config/tor-browser/app/Browser/TorBrowser/Tor/tor",
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
16
root/etc/opensnitchd/rules/Tor service.json
Normal file
16
root/etc/opensnitchd/rules/Tor service.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-15T12:00:44.377009767+01:00",
|
||||||
|
"updated": "2021-02-15T12:00:44.377062795+01:00",
|
||||||
|
"name": "Tor service",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/bin/tor",
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
16
root/etc/opensnitchd/rules/VirtualBox ALL.json
Normal file
16
root/etc/opensnitchd/rules/VirtualBox ALL.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-23T22:57:19.095106696+01:00",
|
||||||
|
"updated": "2021-02-23T22:57:19.095178679+01:00",
|
||||||
|
"name": "VirtualBox ALL",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/usr/lib/virtualbox/VirtualBoxVM",
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
38
root/etc/opensnitchd/rules/Wakatime VSCode.json
Normal file
38
root/etc/opensnitchd/rules/Wakatime VSCode.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-15T14:18:48.745490294+01:00",
|
||||||
|
"updated": "2021-02-15T14:18:48.74566463+01:00",
|
||||||
|
"name": "Wakatime VSCode",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": true,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"protocol\", \"data\": \"tcp\", \"sensitive\": false}, {\"type\": \"regexp\", \"operand\": \"process.path\", \"data\": \"\\\\/home\\\\/itsdrike\\\\/\\\\.local\\\\/share\\\\/vscode\\\\/extensions\\\\/wakatime\\\\.vscode-wakatime-[0-9\\\\.]+\\\\/wakatime-cli\\\\/wakatime-cli\", \"sensitive\": false}, {\"type\": \"simple\", \"operand\": \"dest.port\", \"data\": \"443\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "protocol",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "tcp",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "regexp",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "\\/home\\/itsdrike\\/\\.local\\/share\\/vscode\\/extensions\\/wakatime\\.vscode-wakatime-[0-9\\.]+\\/wakatime-cli\\/wakatime-cli",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "443",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
38
root/etc/opensnitchd/rules/Zoom 8801,443.json
Normal file
38
root/etc/opensnitchd/rules/Zoom 8801,443.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-24T13:50:40.858174814+01:00",
|
||||||
|
"updated": "2021-02-24T13:50:40.858320084+01:00",
|
||||||
|
"name": "Zoom 8801,443",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": true,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "list",
|
||||||
|
"operand": "list",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "[{\"type\": \"simple\", \"operand\": \"process.path\", \"data\": \"/opt/zoom/zoom\", \"sensitive\": false}, {\"type\": \"regexp\", \"operand\": \"dest.port\", \"data\": \"^(8801|443)$\", \"sensitive\": false}, {\"type\": \"regexp\", \"operand\": \"dest.host\", \"data\": \".*\\\\.zoom\\\\.us\", \"sensitive\": false}]",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/opt/zoom/zoom",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "regexp",
|
||||||
|
"operand": "dest.port",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "^(8801|443)$",
|
||||||
|
"list": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "regexp",
|
||||||
|
"operand": "dest.host",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": ".*\\.zoom\\.us",
|
||||||
|
"list": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"created": "2021-02-24T13:50:23.520756145+01:00",
|
||||||
|
"updated": "2021-02-24T13:50:23.520820716+01:00",
|
||||||
|
"name": "Zoom deny rest (allow rule should be prioritized)",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "deny",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/opt/zoom/zoom",
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
16
root/etc/opensnitchd/rules/Zoom deny rest.json
Normal file
16
root/etc/opensnitchd/rules/Zoom deny rest.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"created": "2021-03-01T20:20:07.151232333+01:00",
|
||||||
|
"updated": "2021-03-01T20:20:07.151303255+01:00",
|
||||||
|
"name": "Zoom deny rest",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": false,
|
||||||
|
"action": "deny",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "simple",
|
||||||
|
"operand": "process.path",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "/opt/zoom/zoom",
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue