File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Summary: The Windows Azure Linux Agent
22Name: WALinuxAgent
33Version: 2.3.1.1
4- Release: 3 %{?dist }
4+ Release: 4 %{?dist }
55License: ASL 2.0
66Vendor: Microsoft Corporation
77Distribution: Mariner
@@ -11,6 +11,7 @@ Source0: https://github.com/Azure/WALinuxAgent/archive/refs/tags/v%{versi
1111Source1: ephemeral-disk-warning.service
1212Source2: ephemeral-disk-warning.conf
1313Source3: ephemeral-disk-warning
14+ Patch0: add_firewall_rules.patch
1415BuildRequires: python3-distro
1516BuildRequires: python3-setuptools
1617BuildRequires: python3-xml
@@ -38,7 +39,7 @@ VMs in the Windows Azure cloud. This package should be installed on Linux disk
3839images that are built to run in the Windows Azure environment.
3940
4041%prep
41- %setup -q - n %{name }-%{version }
42+ %autosetup - n %{name }-%{version } -p1
4243
4344%pre -p /bin/sh
4445
@@ -90,6 +91,9 @@ python3 setup.py check && python3 setup.py test
9091%{python3_sitelib }/*
9192
9293%changelog
94+ * Tue Jan 30 2024 Nan Liu <liunan@microsoft.com> - 2.3.1.1-4
95+ - Patch waagent.conf to add firewall rules to protect access to Azure host node
96+
9397* Tue Nov 10 2022 Nan Liu <liunan@microsoft.com> - 2.3.1.1-3
9498- Add ephemeral-disk-warning.service
9599
Original file line number Diff line number Diff line change 1+ From 9ac40d805925f130283ed54f3cbb424afad41461 Mon Sep 17 00:00:00 2001
2+ From: Nan Liu <liunan@microsoft.com>
3+ Date: Tue, 30 Jan 2024 17:58:36 +0000
4+ Subject: [PATCH] Add firewall rules to protect access to Azure host node
5+ services
6+
7+ ---
8+ config/mariner/waagent.conf | 3 +++
9+ 1 file changed, 3 insertions(+)
10+
11+ diff --git a/config/mariner/waagent.conf b/config/mariner/waagent.conf
12+ index 65da131..cda61de 100644
13+ --- a/config/mariner/waagent.conf
14+ +++ b/config/mariner/waagent.conf
15+ @@ -78,3 +78,6 @@ AutoUpdate.GAFamily=Prod
16+ # handling until inVMArtifactsProfile.OnHold is false.
17+ # Default is disabled
18+ # EnableOverProvisioning=n
19+ +
20+ + # Add firewall rules to protect access to Azure host node services
21+ + OS.EnableFirewall=y
22+ - -
23+ 2.25.1
24+
You can’t perform that action at this time.
0 commit comments