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

Restore patched version of gopacket #17300

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

adriansr
Copy link
Contributor

@adriansr adriansr commented Mar 27, 2020

What does this PR do?

This replaces github.com/google/gopacket with github.com/adriansr/gopacket which includes a fix to make af_packet work on 32bit x86 platforms.

This patched version was already vendored but lost during the migration to Go modules.

This patch is on review at google/gopacket#720 to hopefully get it merged upstream.

Why is it important?

This is necessary so that Auditbeat's system/socket works in 32bit Linux.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc. -> no changelog entry needed as this regression has not been released.

Related issues

This replaces github.com/google/gopacket with
github.com/adriansr/gopacket which includes a fix to make af_packet work
on 32bit x86.

This patched version was already vendored but lost during the migration
to Go modules.

This patch is on review at google/gopacket#720
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@adriansr adriansr added the needs_backport PR is waiting to be backported to other branches. label Mar 27, 2020
@adriansr adriansr merged commit 002b9c5 into elastic:master Mar 30, 2020
adriansr added a commit to adriansr/beats that referenced this pull request Mar 30, 2020
This replaces github.com/google/gopacket with
github.com/adriansr/gopacket which includes a fix to make af_packet work
on 32bit x86.

This patched version was already vendored but lost during the migration
to Go modules.

This patch is on review at google/gopacket#720

(cherry picked from commit 002b9c5)
@adriansr adriansr added v7.8.0 and removed needs_backport PR is waiting to be backported to other branches. labels Mar 30, 2020
adriansr added a commit to adriansr/beats that referenced this pull request Mar 30, 2020
This replaces github.com/google/gopacket with
github.com/adriansr/gopacket which includes a fix to make af_packet work
on 32bit x86.

This patched version was already vendored but lost during the migration
to Go modules.

This patch is on review at google/gopacket#720

(cherry picked from commit 002b9c5)
adriansr added a commit that referenced this pull request Apr 7, 2020
This replaces github.com/google/gopacket with
github.com/adriansr/gopacket which includes a fix to make af_packet work
on 32bit x86.

This patched version was already vendored but lost during the migration
to Go modules.

This patch is on review at google/gopacket#720

(cherry picked from commit 002b9c5)
mikemadden42 pushed a commit that referenced this pull request Apr 8, 2020
This replaces github.com/google/gopacket with
github.com/adriansr/gopacket which includes a fix to make af_packet work
on 32bit x86.

This patched version was already vendored but lost during the migration
to Go modules.

This patch is on review at google/gopacket#720

(cherry picked from commit 002b9c5)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
This replaces github.com/google/gopacket with
github.com/adriansr/gopacket which includes a fix to make af_packet work
on 32bit x86.

This patched version was already vendored but lost during the migration
to Go modules.

This patch is on review at google/gopacket#720

(cherry picked from commit 7a65724)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants