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

Packetbeat: BFP filter doesn't work with flows #2660

Closed
masaruh opened this issue Oct 3, 2016 · 0 comments

Comments

@masaruh
Copy link

commented Oct 3, 2016

Version: Packetbeat 5.0.0-beta1
OS: OSX

Even if bpf filter is configured, flows emits all traffic on all ports.

@tsg tsg added the Pioneer Program label Oct 4, 2016

tsg added a commit to tsg/beats that referenced this issue Oct 4, 2016
Fix the custom BPF filter option
Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes elastic#2660.
tsg added a commit to tsg/beats that referenced this issue Oct 4, 2016
Fix the custom BPF filter option
Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes elastic#2660.

@urso urso closed this in #2671 Oct 4, 2016

urso added a commit that referenced this issue Oct 4, 2016
Fix the custom BPF filter option (#2671)
* Fix the custom BPF filter option

Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes #2660.

* Simplified code by removing the factory maker
tsg added a commit to tsg/beats that referenced this issue Oct 4, 2016
Fix the custom BPF filter option (elastic#2671)
* Fix the custom BPF filter option

Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes elastic#2660.

* Simplified code by removing the factory maker
monicasarbu added a commit that referenced this issue Oct 4, 2016
Fix the custom BPF filter option (#2671) (#2677)
* Fix the custom BPF filter option

Set the `sniffer.filter` before `setFromConfig` is called. Changed the
factory prototype so it doesn't pass around `filter` and instead just
done it directly via Init.

Fixes #2660.

* Simplified code by removing the factory maker

@tsg tsg removed the Pioneer Program label May 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.