Repository navigation
Commit 1b375b6
engine: Varpulis at 4e3dbb5, windows close on event time (varpulis #284, #285) (#3)
A time window in a detect unit closed only when a later event reached that
same window: a count per address waited for the same address's next
failure, so a brute force that ended in a successful logon was never
raised in a running unit. The engine now closes a window when the event
time of the types feeding it passes its end, on any event of those types,
upstream first. A sequence step that names a derived stream now reads
what that stream outputs (over an aggregate it matched the raw events).
e2e/detect gains D6: three failures from one address, a success from it,
then a logon from another address after the window. On the previous
runtime nothing is ever raised; on this one the next logon raises the
brute force with its count. D4 now lists three units.
Claude-Session: https://claude.ai/code/session_01N3K1TGnWTvwYzt9rKuJXES
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 5ab1d12 commit 1b375b6
5 files changed
Lines changed: 83 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
10 | 26 | | |
11 | 27 | | |
12 | 28 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
94 | 121 | | |
95 | 122 | | |
96 | 123 | | |
| |||
130 | 157 | | |
131 | 158 | | |
132 | 159 | | |
133 | | - | |
| 160 | + | |
134 | 161 | | |
135 | 162 | | |
136 | | - | |
| 163 | + | |
137 | 164 | | |
138 | 165 | | |
139 | 166 | | |
140 | | - | |
| 167 | + | |
141 | 168 | | |
142 | 169 | | |
143 | 170 | | |
| |||
198 | 225 | | |
199 | 226 | | |
200 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
201 | 246 | | |
202 | 247 | | |
203 | 248 | | |
| |||
0 commit comments