Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f209820b9d
!70 fix a not defined macro error
From: @xinghe_1 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
2024-05-09 03:40:58 +00:00
xh
781286fab5 fix a not defined macro error 2024-05-07 07:13:48 +00:00
openeuler-ci-bot
69dbeec00b
!66 [sync] PR-61: revert "fix CVE-2024-2397"
From: @openeuler-sync-bot 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2024-04-28 01:36:03 +00:00
xinghe
7a62b28db5 revert "fix CVE-2024-2397"
(cherry picked from commit 0983ac8d071b5e4fb8b0bf5ec5a4dd7414944de8)
2024-04-25 20:42:16 +08:00
openeuler-ci-bot
72c6cbfd4f
!55 [sync] PR-50: fix CVE-2024-2397
From: @openeuler-sync-bot 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2024-04-09 07:34:38 +00:00
xinghe
77f0ee3efd fix CVE-2024-2397
(cherry picked from commit 49666439814e5a7cc1f9b4174ac5560d91de5a7d)
2024-04-09 11:19:40 +08:00
openeuler-ci-bot
090beacba8
!47 update tcpdump to 4.99.4
From: @xinghe_1 
Reviewed-by: @gebidelidaye 
Signed-off-by: @gebidelidaye
2023-07-25 08:49:38 +00:00
xinghe
72e7aabbe9 update tcpdump to 4.99.4 2023-07-25 08:14:02 +00:00
openeuler-ci-bot
4d14f1c9cc
!45 fix CVE-2023-1801
From: @eaglegai 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2023-04-10 06:46:19 +00:00
eaglegai
ff41e39e03 fix CVE-2023-1801 2023-04-08 11:03:28 +00:00
6 changed files with 65 additions and 3 deletions

View File

@ -0,0 +1,31 @@
From bfc96b04831641376636337406aae7fe0fe65081 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Le Bail <devel.fx.lebail@orange.fr>
Date: Wed, 6 Mar 2024 21:11:42 +0100
Subject: [PATCH] Capsicum support: Fix a 'not defined' macro error
The error was:
In file included from ./tcpdump.c:158:
./interface.h:62:32: error: "HAVE_CAPSICUM" is not defined, evaluates
to 0 [-Werror=undef]
62 | (defined(HAVE_BPF_DUMP) && HAVE_CAPSICUM && !defined(bpf_dump))
| ^~~~~~~~~~~~~
Conflict: NA
Reference: https://github.com/the-tcpdump-group/tcpdump/commit/bfc96b04831641376636337406aae7fe0fe65081
---
interface.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interface.h b/interface.h
index b129312ab..0e35b7800 100644
--- a/interface.h
+++ b/interface.h
@@ -59,7 +59,7 @@ struct bpf_program;
* With Capsicum bpf_dump() may be not declared even if HAVE_BPF_DUMP is set.
*/
#if !defined(HAVE_BPF_DUMP) || \
- (defined(HAVE_BPF_DUMP) && HAVE_CAPSICUM && !defined(bpf_dump))
+ (defined(HAVE_BPF_DUMP) && defined(HAVE_CAPSICUM) && !defined(bpf_dump))
extern void bpf_dump(const struct bpf_program *, int);
#endif

Binary file not shown.

Binary file not shown.

BIN
tcpdump-4.99.4.tar.gz Normal file

Binary file not shown.

BIN
tcpdump-4.99.4.tar.gz.sig Normal file

Binary file not shown.

View File

@ -2,10 +2,10 @@
Name: tcpdump
Epoch: 14
Version: 4.99.3
Release: 1
Version: 4.99.4
Release: 4
Summary: A network traffic monitoring tool
License: BSD with advertising
License: BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-UC AND ISC AND NTP
URL: http://www.tcpdump.org
Source0: http://www.tcpdump.org/release/tcpdump-%{version}.tar.gz
@ -17,6 +17,7 @@ Patch1: backport-0003-Drop-root-priviledges-before-opening-first-savefil
Patch2: backport-0007-Introduce-nn-option.patch
Patch3: backport-0009-Change-n-flag-to-nn-in-TESTonce.patch
Patch4: tcpdump-Add-sw64-architecture.patch
Patch5: backport-0010-Fix-a-not-defined-macro-error.patch
Requires(pre): shadow-utils
BuildRequires: automake openssl-devel libpcap-devel git-core gcc make
@ -88,6 +89,36 @@ make check
%{_mandir}/man8/tcpdump.8*
%changelog
* Tue May 07 2024 xinghe <xinghe2@h-partners.com> - 14:4.99.4-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix a not defined macro error
* Sat Apr 20 2024 xinghe <xinghe2@h-partners.com> - 14:4.99.4-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:revert "fix CVE-2024-2397"
* Mon Apr 08 2024 xinghe <xinghe2@h-partners.com> - 14:4.99.4-2
- Type:CVE
- CVE:CVE-2024-2397
- SUG:NA
- DESC:fix CVE-2024-2397
* Tue Jul 25 2023 xinghe <xinghe2@h-partners.com> - 14:4.99.4-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC:update tcpdump to 4.99.4
* Sat Apr 08 2023 gaihuiying <eaglegai@163.com> - 14:4.99.3-2
- Type:CVE
- CVE:CVE-2023-1801
- SUG:NA
- DESC:fix CVE-2023-1801
* Tue Jan 31 2023 xinghe <xinghe2@h-partners.com> - 14:4.99.3-1
- Type:requirements
- ID:NA