Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pmacct: T5618: Added build rules for custom pmacct package (backport #428) #429

Merged
merged 3 commits into from
Sep 30, 2023

Conversation

c-po
Copy link
Member

@c-po c-po commented Sep 28, 2023

Change Summary

Added build rules for custom pmacct package

Backport of #428

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Component(s) name

pmacct

Proposed changes

The current version of pmacct in Debian (1.7.7-1) contains the bug which leads to a crash when IMT is enabled and ICMP traffic is forwarded through a router.

This PR adds our build with an extra patch, which solves the problem: pmacct/pmacct@73af954

How to test

Configuration for tests:

set system flow-accounting interface 'eth0'
set system flow-accounting netflow server 192.168.139.1 port '2055'

Without the patched pmacct version, as soon as eth0 receives an ICMP packet pmacct will crash.

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

zdc and others added 2 commits September 28, 2023 21:03
The current version of pmacct in Debian (`1.7.7-1`) contains the bug which leads
to a crash when IMT is enabled and ICMP traffic is forwarded through a router.

This commit adds our build with an extra patch, which solves the problem:
pmacct/pmacct@73af954

(cherry picked from commit d5f6445)
@c-po c-po self-assigned this Sep 28, 2023
@vyosbot vyosbot requested review from a team, dmbaturin, sarthurdev, zdc, jestabro and sever-sever and removed request for a team September 28, 2023 19:05
Removed extra `not` in the `if` condition of the build script which inverts the
return code.

(cherry picked from commit 59e34c8)
@c-po c-po merged commit 184429e into vyos:sagitta Sep 30, 2023
2 of 3 checks passed
@c-po c-po deleted the pmacct-sagitta branch November 27, 2023 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants