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

Filter interfaces that are up #52

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Conversation

stephen-soltesz
Copy link
Contributor

@stephen-soltesz stephen-soltesz commented Jun 30, 2023

This change adds a filter so that the interfaces used are actually administratively "up". This is necessary because packets cannot be collected from down interfaces. For example:

iterfaces.go:100: Could not create libpcap client for {'\x02' 'ל' "eno1" "3c:ec:ef:ce:f7:8e" "broadcast|multicast"} (error: eno1: That device is not up)

Part of:


This change is Reviewable

Copy link
Contributor

@nkinkade nkinkade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: Thank you for this fix.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@stephen-soltesz stephen-soltesz merged commit 240575e into main Jun 30, 2023
@stephen-soltesz stephen-soltesz deleted the sandbox-soltesz-interfaces-up branch June 30, 2023 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants