Comments (3)
I debug code and solve it . But I do not know why .
I move the client.SetPID code after the AddRule Code , Then it works .
What happended , when client.SetPID runs ?
And why it changed the sequence number error ?
from go-libaudit.
It would be helpful to see more of the source code in question to understand the order in which things are called. You probably use SetPID(NoWait)
which does not automatically wait for the reply message. So when calling AddRule
there's already one reply message in the buffer from the call to SetPID
. So instead call SetPID(WaitForReply)
or manually read messages with Receive()
.
from go-libaudit.
@andrewkroh thank you . I know why.
from go-libaudit.
Related Issues (20)
- aucoalesce: Make warning capturing configurable
- Stuck when receiving socket using Receive() function HOT 1
- rule - File paths with spaces fail in rules HOT 2
- Support of < 3.0 kernel HOT 1
- failed to set audit PID: file exists HOT 3
- auditbeat ERROR: get status request failed:failed to get audit status reply: no reply received HOT 3
- aucoalesce: CoalesceMessages fails with "missing syscall message in compound event" HOT 3
- [BUG] auditd_manager file.mode does not capture the correct file mode HOT 2
- Replace deprecated `set-output` command with environment file
- [rule] Add support for saddr_fam filters
- Reassembler perfomance improvement
- auparse -i doens't create multiple netfilter_cfg events as a list HOT 1
- Case sensitivity issue w/ github.com/Sirupsen/logrus import
- use ECS recommended values for network direction
- Update allowed fields with "exclude" flag HOT 2
- Run test on host: operation not permitted HOT 1
- Help aucoalesce.Event -> source fields is nil. HOT 1
- Add support for AUDIT_TIME_ADJNTPVAL HOT 2
- Remove usage of github.com/pkg/errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-libaudit.