mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 14:17:21 +00:00
new rule and fix domain allowlist
This commit is contained in:
1 parent
35da1bba41
commit
e359e80c50
3 files changed
+25
-27
No files matched your search
@@ -5,6 +5,7 @@
|
|||||||
ansible_ssh_private_key_file: /etc/ansible/keys/proxy.key
|
ansible_ssh_private_key_file: /etc/ansible/keys/proxy.key
|
||||||
ansible_user: ubuntu
|
ansible_user: ubuntu
|
||||||
vars_files:
|
vars_files:
|
||||||
|
- ../vars/checkmk.yml
|
||||||
- ../vars/common.yml
|
- ../vars/common.yml
|
||||||
roles:
|
roles:
|
||||||
- role: win_proxy
|
- role: win_proxy
|
||||||
|
|||||||
@@ -1,46 +1,38 @@
|
|||||||
|
.microsoft.com
|
||||||
conda.anaconda.org
|
conda.anaconda.org
|
||||||
repo.anaconda.com
|
repo.anaconda.com
|
||||||
files.pythonhosted.org
|
files.pythonhosted.org
|
||||||
pypi.org
|
.pypi.org
|
||||||
pypi.python.org
|
.pypi.python.org
|
||||||
cran.r-project.org
|
.r-project.org
|
||||||
cran.ma.imperial.ac.uk
|
cran.ma.imperial.ac.uk
|
||||||
cloud.r-project.org
|
|
||||||
archive.canonical.com
|
archive.canonical.com
|
||||||
archive.ubuntu.com
|
archive.ubuntu.com
|
||||||
gb.archive.ubuntu.com
|
gb.archive.ubuntu.com
|
||||||
mozilla.org
|
.mozilla.org
|
||||||
aus5.mozilla.org
|
|
||||||
dl.google.com
|
dl.google.com
|
||||||
stats.microsoft.com
|
.windowsupdate.com
|
||||||
download.windowsupdate.com
|
|
||||||
update.microsoft.com
|
|
||||||
windowsupdate.com
|
|
||||||
windowsupdate.microsoft.com
|
|
||||||
download.microsoft.com
|
|
||||||
ntservicepack.microsoft.com
|
|
||||||
wustat.windows.com
|
wustat.windows.com
|
||||||
git.ecdf.ed.ac.uk
|
git.ecdf.ed.ac.uk
|
||||||
cran.rstudio.com
|
cran.rstudio.com
|
||||||
support.rstudio.org
|
support.rstudio.org
|
||||||
mynvivo.com
|
mynvivo.com
|
||||||
auth0.com
|
auth0.com
|
||||||
qsrinternational.com
|
.qsrinternational.com
|
||||||
qsrulurudev.b2clogin.com
|
qsrulurudev.b2clogin.com
|
||||||
services.qsrinternational.com
|
|
||||||
api-nv.qsrinternational.com
|
|
||||||
download.qsrinternational.com
|
|
||||||
subscription-suite.io
|
subscription-suite.io
|
||||||
login.qsrinternational.com
|
.digicert.com
|
||||||
cdn-login.qsrinternational.com
|
|
||||||
digicert.com
|
|
||||||
rstudio.com
|
rstudio.com
|
||||||
rstudio.org
|
rstudio.org
|
||||||
fss-snd.scot
|
fss-snd.scot
|
||||||
os.uk
|
os.uk
|
||||||
clearinghouse.one.microso0ft.com
|
|
||||||
msactivation.ucs.ed.ac.uk
|
msactivation.ucs.ed.ac.uk
|
||||||
catalog.update.microsoft.com
|
|
||||||
microsoft.com
|
|
||||||
posit.co
|
posit.co
|
||||||
download1.rstudio.org
|
download1.rstudio.org
|
||||||
|
ecs.office.com
|
||||||
|
.office.net
|
||||||
|
.officeapps.live
|
||||||
|
.live.com
|
||||||
|
download-installer.cdn.mozilla.net
|
||||||
|
update.code.visualstudio.com
|
||||||
|
.adobe.com
|
||||||
@@ -2,16 +2,21 @@ squid_acls:
|
|||||||
- name: os_external
|
- name: os_external
|
||||||
classifier: src
|
classifier: src
|
||||||
value: "10.24.0.0/16"
|
value: "10.24.0.0/16"
|
||||||
|
- name: agent_dl
|
||||||
|
classifier: dst
|
||||||
|
value: "{{ checkmk_server }}/32"
|
||||||
- name: allowed_domains
|
- name: allowed_domains
|
||||||
classifier: dstdomain
|
classifier: dstdomain
|
||||||
value: "{{ squid_config_directory }}/{{ squid_allowed_domain_file }}"
|
value: "\"{{ squid_config_directory }}/{{ squid_allowed_domain_file }}\""
|
||||||
|
|
||||||
squid_rules:
|
squid_rules:
|
||||||
- acl: to_localhost
|
- acl: to_localhost
|
||||||
decision: deny
|
decision: deny
|
||||||
- acl: os_external
|
- acl: os_external allowed_domains
|
||||||
decision: allow
|
decision: allow
|
||||||
- acl: localhost
|
- acl: agent_dl
|
||||||
|
decision: allow
|
||||||
|
- acl: localhost allowed_domains
|
||||||
decision: allow
|
decision: allow
|
||||||
- acl: all
|
- acl: all
|
||||||
decision: deny
|
decision: deny
|
||||||
Reference in new issue
Block a user