-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] - Sniffer failed to start (linux/386 binary on x86_64) with seccomp #7839
Labels
Comments
andrewkroh
added a commit
to andrewkroh/beats
that referenced
this issue
Aug 2, 2018
Fixes elastic#7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ```
andrewkroh
changed the title
Packetbeat - Sniffer failed to start (linux/386 binary on x86_64) with seccomp
[Packetbeat] - Sniffer failed to start (linux/386 binary on x86_64) with seccomp
Aug 2, 2018
ruflin
pushed a commit
that referenced
this issue
Aug 8, 2018
Fixes #7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ```
andrewkroh
added a commit
to andrewkroh/beats
that referenced
this issue
Aug 8, 2018
…c#7840) Fixes elastic#7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ``` (cherry picked from commit c4e7b13)
andrewkroh
added a commit
to andrewkroh/beats
that referenced
this issue
Aug 8, 2018
…c#7840) Fixes elastic#7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ``` (cherry picked from commit c4e7b13)
adriansr
pushed a commit
that referenced
this issue
Aug 9, 2018
Fixes #7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ``` (cherry picked from commit c4e7b13)
jsoriano
pushed a commit
that referenced
this issue
Aug 17, 2018
…#7918) Fixes #7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ``` (cherry picked from commit c4e7b13)
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
…c#7840) Fixes elastic#7839 I received an error while running the 32-bit Packetbeat binary on a 64-bit Debian 9 OS. ``` 2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted ``` When the error occurred this is what Auditbeat reported. 0x40000003 is i386 and 221 is fcntl64. ``` { "event": { "category": "dac-decision", "type": "seccomp", "action": "violated-seccomp-policy", "module": "auditd" }, "process": { "pid": "30690", "name": "packetbeat", "exe": "/beats/packetbeat/build/distributions/packetbeat-7.0.0-alpha1-SNAPSHOT-linux-x86/packetbeat" }, "auditd": { "data": { "code": "0x50000", "sig": "0", "syscall": "221", "compat": "1", "ip": "0xf775ab49", "arch": "40000003" } } } ``` (cherry picked from commit f397916)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Packetbeat 32-bit on Debian 9 (x86_64) fails to start the sniffer when running with seccomp enabled.
2018-06-07T14:33:10.103Z ERROR instance/beat.go:714 Exiting: Sniffer main loop failed: Error starting sniffer: can't get FD flags when changing filter: Operation not permitted
Auditbeat was also reporting the seccomp violation.
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: