blob: 99a214da18b4fd1d70f7f9b397749b52fe238320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
This is few notes mainly for myself.
1. Format of log record:
<time of event: sec since 1970>
<event type: open, read, write>
<name of file>
<building stage: stagename or unknown>
<result:OK,ERR/errno,ASKING,DENIED>
2. Format of answer for ASKING packet:
<ALLOW | DENY>
3. Format of events structure:
[
{
<stage of building>:{<filename>:(<was readed>,<was writed>)}
},
{
<stage of building>:{<filename>:(<was not found>,<was blocked>)}
}
]
4. Format of converted events structure:
{
<package|unknown>: {
stage: {
<filename>:
{found:[<was readed>,<was writed>],
notfound:[<was not found>,<was blocked>]}
}
}
}
|