refuse pap by default for security

(cherry picked from commit 65e38c426806bdcae05b2a354aa5d33bed1bc9b8)
This commit is contained in:
eaglegai 2024-05-10 02:56:07 +00:00 committed by openeuler-sync-bot
parent 69b676e5ee
commit 80c8ce5a7d
2 changed files with 28 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: ppp
Version: 2.5.0
Release: 1
Release: 2
Summary: The Point-to-Point Protocol
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
@ -34,6 +34,8 @@ Patch0006: backport-ppp-2.4.8-pppd-we-don-t-want-to-accidentally-leak-fds.p
Patch0007: backport-ppp-2.4.9-everywhere-O_CLOEXEC-harder.patch
Patch0008: backport-0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch
Patch0009: refuse-pap-by-default-for-security.patch
%description
The Point-to-Point Protocol (PPP) provides a standard way to establish
a network connection over a serial link. At present, this package
@ -133,6 +135,12 @@ mkdir -p %{buildroot}%{_rundir}/ppp
%{_mandir}/man8/*.8.gz
%changelog
* Fri May 10 2024 gaihuiying <eaglegai@163.com> - 2.5.0-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:refuse pap by default for security
* Mon Jul 24 2023 gaihuiying <eaglegai@163.com> - 2.5.0-1
- Type:requirement
- ID:NA

View File

@ -0,0 +1,19 @@
From 6483148222e054d5fa34b05634f79c7a56acc2b4 Mon Sep 17 00:00:00 2001
From: Zhen Chen <chenzhen126@huawei.com>
Date: Thu, 20 Oct 2022 15:49:58 +0800
Subject: [PATCH] refuse pap by default for security
---
etc.ppp/options | 1 +
1 file changed, 1 insertion(+)
diff --git a/etc.ppp/options b/etc.ppp/options
index 4b67b6a0d6b6..7112a65bd6b6 100644
--- a/etc.ppp/options
+++ b/etc.ppp/options
@@ -1 +1,2 @@
lock
+refuse-pap
--
2.33.0