mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #1030 from hedrok/T75-remove-pmacct
T75: remove pmacct
This commit is contained in:
commit
8dbddfdbf6
@ -74,8 +74,6 @@ jobs:
|
||||
- 'scripts/package-build/owamp/**'
|
||||
pam_tacplus:
|
||||
- 'scripts/package-build/pam_tacplus/**'
|
||||
pmacct:
|
||||
- 'scripts/package-build/pmacct/**'
|
||||
podman:
|
||||
- 'scripts/package-build/podman/**'
|
||||
pyhumps:
|
||||
@ -217,10 +215,6 @@ jobs:
|
||||
trigger_build "pam_tacplus"
|
||||
fi
|
||||
|
||||
if [ "${{ steps.changes.outputs.pmacct }}" == "true" ]; then
|
||||
trigger_build "pmacct"
|
||||
fi
|
||||
|
||||
if [ "${{ steps.changes.outputs.podman }}" == "true" ]; then
|
||||
trigger_build "podman"
|
||||
fi
|
||||
|
||||
@ -10,7 +10,6 @@ systemctl disable kea-dhcp4-server.service
|
||||
systemctl disable kea-dhcp6-server.service
|
||||
systemctl disable isc-dhcp-relay.service
|
||||
systemctl disable nfacctd.service
|
||||
systemctl disable pmacctd.service
|
||||
systemctl disable sfacctd.service
|
||||
systemctl disable uacctd.service
|
||||
systemctl disable ssh.service
|
||||
|
||||
1
scripts/package-build/pmacct/.gitignore
vendored
1
scripts/package-build/pmacct/.gitignore
vendored
@ -1 +0,0 @@
|
||||
/pmacct/
|
||||
@ -1 +0,0 @@
|
||||
../build.py
|
||||
@ -1,4 +0,0 @@
|
||||
[[packages]]
|
||||
name = "pmacct"
|
||||
commit_id = "debian/1.7.7-1"
|
||||
scm_url = "https://salsa.debian.org/debian/pmacct.git"
|
||||
@ -1,49 +0,0 @@
|
||||
From 58900c9d0f98f224577c28dc2323061d33823f39 Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Lucente <pl+github@pmacct.net>
|
||||
Date: Fri, 4 Mar 2022 22:07:29 +0000
|
||||
Subject: [PATCH] * fix, pmacctd: SEGV when ICMP/ICMPv6 traffic was processed
|
||||
and 'flows' primitive was enabled. To address Issue #586
|
||||
|
||||
---
|
||||
src/nl.c | 12 +++---------
|
||||
1 file changed, 3 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/nl.c b/src/nl.c
|
||||
index c42689ed..6a3da94b 100644
|
||||
--- a/src/nl.c
|
||||
+++ b/src/nl.c
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
pmacct (Promiscuous mode IP Accounting package)
|
||||
- pmacct is Copyright (C) 2003-2021 by Paolo Lucente
|
||||
+ pmacct is Copyright (C) 2003-2022 by Paolo Lucente
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -293,10 +293,7 @@ int ip_handler(register struct packet_ptrs *pptrs)
|
||||
}
|
||||
}
|
||||
else {
|
||||
- if (pptrs->l4_proto != IPPROTO_ICMP) {
|
||||
- pptrs->tlh_ptr = dummy_tlhdr;
|
||||
- }
|
||||
-
|
||||
+ pptrs->tlh_ptr = dummy_tlhdr;
|
||||
if (off < caplen) pptrs->payload_ptr = ptr;
|
||||
}
|
||||
|
||||
@@ -479,10 +476,7 @@ int ip6_handler(register struct packet_ptrs *pptrs)
|
||||
}
|
||||
}
|
||||
else {
|
||||
- if (pptrs->l4_proto != IPPROTO_ICMPV6) {
|
||||
- pptrs->tlh_ptr = dummy_tlhdr;
|
||||
- }
|
||||
-
|
||||
+ pptrs->tlh_ptr = dummy_tlhdr;
|
||||
if (off < caplen) pptrs->payload_ptr = ptr;
|
||||
}
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user