Commit f388069
fix: top external ASNs panel showing zero entries (#179)
* fix: check both src and dst IPs when computing top external ASNs
Previously only dstIp was checked, so external IPs appearing as the
source (inbound connections, responses) were silently skipped, causing
the Top External Destinations panel to show zero entries.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: handle sql.Timestamp cast in beacon candidate detection
JPA native queries return java.sql.Timestamp for timestamp columns,
not LocalDateTime. The direct cast threw a ClassCastException which
was silently caught, causing all aggregates (including top external
ASNs) to be empty on every story generation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: log tshark stderr on parse failure
Previously stderr was discarded, making it impossible to diagnose
why tshark rejected a file. Now stderr is captured and included in
both the log message and the thrown exception.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: dark mode text contrast for error message and loading view
- ErrorMessage: override hardcoded dark-red title/text colors with
light pink tones under [data-theme='dark']
- sgds-overrides: add explicit dark mode rules for .text-body and
.text-muted so Bootstrap utility classes respect the dark theme;
also wire --bs-body-color and --bs-secondary-color tokens
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: address PR #179 review comments
- Replace StringBuilder with StringBuffer for stderrBuf to prevent race condition if join(5000) times out and background thread is still writing
- Cache isPrivate() results in computeTopAsns to avoid repeated string parsing per conversation; replace nested ternary with if-else for readability
- Remove duplicate [data-theme='dark'] .text-muted rule in sgds-overrides.css
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent db218b9 commit f388069
File tree
4 files changed
+50
-7
lines changed- backend/src/main/java/com/tracepcap
- analysis/service
- story/service
- frontend/src
- assets/styles
- components/common/ErrorMessage
4 files changed
+50
-7
lines changedLines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
90 | 102 | | |
91 | 103 | | |
92 | 104 | | |
| |||
221 | 233 | | |
222 | 234 | | |
223 | 235 | | |
| 236 | + | |
224 | 237 | | |
225 | 238 | | |
226 | | - | |
227 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
228 | 242 | | |
229 | 243 | | |
230 | 244 | | |
| |||
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | | - | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
99 | 108 | | |
100 | 109 | | |
101 | 110 | | |
| |||
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
210 | 222 | | |
211 | | - | |
| 223 | + | |
212 | 224 | | |
213 | 225 | | |
214 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
307 | 312 | | |
308 | 313 | | |
309 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
310 | 319 | | |
311 | 320 | | |
312 | 321 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
0 commit comments