Patrick Pacher
|
b2b6217265
|
Migrate profile IDs in history database when merging profiles
|
2023-10-25 13:56:35 +02:00 |
|
Daniel
|
e0c9bec91a
|
Fix linter warning
|
2023-10-10 16:00:38 +02:00 |
|
Patrick Pacher
|
ead0323e43
|
Finalize bandwidth chart endpoint
|
2023-10-10 14:11:12 +02:00 |
|
Patrick Pacher
|
1484591aea
|
Split netquery package files and update bandwidth chart handler
|
2023-10-10 14:11:12 +02:00 |
|
Patrick Pacher
|
bc285b593d
|
Update bandwidth handling and add basic chart support
|
2023-10-10 14:11:12 +02:00 |
|
Patrick Pacher
|
9e024c3ff0
|
Fix panic in toSQLConditionClause when no values are provided
|
2023-09-21 14:20:23 +02:00 |
|
Daniel
|
c5bca9c8a2
|
Fix linter warnings
|
2023-09-14 15:58:32 +02:00 |
|
Patrick Pacher
|
6e7792f29e
|
netquery: add batch-query handler
|
2023-09-14 09:42:02 +02:00 |
|
Patrick Pacher
|
2603e42d4e
|
netquery: add Server-Timing HTTP header for better SQL query analysis
|
2023-09-14 08:49:02 +02:00 |
|
Patrick Pacher
|
8b4a7330be
|
netquery: make parseQueryRequestPayload generic
|
2023-09-14 08:42:52 +02:00 |
|
Patrick Pacher
|
ba72c204d3
|
netquery: split up query payload into a dedicated file
|
2023-09-14 08:39:15 +02:00 |
|
Patrick Pacher
|
c58a73081f
|
netquery: fix value encoding for time.Time queries
|
2023-09-13 10:27:00 +02:00 |
|
Patrick Pacher
|
87f19bdcc2
|
Fix incorrect check using reflect.Float32 instead of reflect.Float64
|
2023-09-07 11:59:36 +02:00 |
|
Patrick Pacher
|
4cd6823066
|
Update netquery query handler to only use strftime when the given value is a number kind
|
2023-09-07 11:58:07 +02:00 |
|
Patrick Pacher
|
d96f841bef
|
Add support for $gt, $ge, $lt, $le operators for netquery. Update DatetimeEncoder to support values specified in seconds
|
2023-09-06 17:08:04 +02:00 |
|
Daniel
|
7a5960c52d
|
Fix network history clear API
|
2023-08-18 16:52:27 +02:00 |
|
Daniel
|
3b70c5587c
|
Do not add internal and localhost connections to history
|
2023-08-11 11:56:22 +02:00 |
|
Daniel
|
77d3df13cb
|
Improve logging and naming
|
2023-08-09 15:22:13 +02:00 |
|
Daniel
|
98394c1ea6
|
Improve clear network history API endpoint
|
2023-08-09 14:52:10 +02:00 |
|
Daniel
|
cf70c55ab5
|
Improve history purging
|
2023-08-09 14:45:56 +02:00 |
|
Patrick Pacher
|
3dbde10be0
|
Add support for history data retention
|
2023-08-08 14:35:43 +02:00 |
|
Patrick Pacher
|
620a9c0fde
|
Add support for SUM in netquery
|
2023-08-08 13:07:37 +02:00 |
|
Daniel
|
d0f4392b9d
|
Fix netquery connection ID generation
|
2023-08-04 21:49:57 +02:00 |
|
Daniel
|
a98505b7da
|
Fix and document netquery api endpoint permissions
|
2023-08-04 21:44:18 +02:00 |
|
Patrick Pacher
|
9f9838b8a1
|
Do not query the history database by default
|
2023-08-01 14:08:15 +02:00 |
|
Daniel
|
2452a92b8b
|
Fix history database URI on windows
|
2023-07-28 16:48:38 +02:00 |
|
Daniel
|
07f4253e0b
|
Improve logging and make linter happy
|
2023-07-21 16:05:57 +02:00 |
|
Daniel
|
f0ebc6e72f
|
Update BytesReceived/Sent field names
|
2023-07-21 16:05:13 +02:00 |
|
Daniel
|
e70fd9abd7
|
Reduce noisy logging
|
2023-07-21 16:04:02 +02:00 |
|
Patrick Pacher
|
5dcb6b268f
|
Persist bandwidth data in netquery DBs when enabled
|
2023-07-21 11:38:05 +02:00 |
|
Patrick Pacher
|
dbffa8827b
|
Update netquery to support history module
|
2023-07-20 16:24:13 +02:00 |
|
Patrick Pacher
|
cf2b8f26b9
|
Make history module optional
|
2023-07-20 16:21:52 +02:00 |
|
Patrick Pacher
|
135b68c008
|
Better utilize database indexes for UNION selects
|
2023-07-20 16:21:52 +02:00 |
|
Patrick Pacher
|
e9e9b54364
|
Research on possible history module implementation using sqlite ATTACH DATABASE
|
2023-07-20 16:21:52 +02:00 |
|
Daniel
|
8a09ba6045
|
Revamp connection handling flow to fix race condition and support info-only packets
|
2023-06-21 15:31:45 +02:00 |
|
Daniel
|
5bb2813459
|
Fix linter errors
|
2023-04-25 14:37:29 +02:00 |
|
Vladimir Stoilov
|
834282cb0e
|
Fix process identification key
|
2023-03-30 14:43:38 +02:00 |
|
Daniel
|
b4634a85c6
|
Update deps
|
2023-02-21 16:09:20 +01:00 |
|
Daniel
|
c957f33e74
|
Migrate puddle lib to new version
|
2022-12-21 11:33:50 +01:00 |
|
Daniel
|
144e5d8312
|
Fix linter errors
|
2022-10-10 22:57:27 +02:00 |
|
Patrick Pacher
|
77c0d954a9
|
Add support for cmdline matching and add basic interpreter support
|
2022-10-10 22:36:39 +02:00 |
|
Daniel
|
f63df67d23
|
Improve verdict handling and switch to immediate re-evaluation
|
2022-10-10 13:40:06 +02:00 |
|
Vladimir Stoilov
|
fdc8ef5698
|
issue new verdict on configuration change
|
2022-10-10 13:37:08 +02:00 |
|
Daniel
|
fd83534698
|
Fix linter errors
|
2022-09-29 14:31:00 +02:00 |
|
Daniel
|
8cf882f4d4
|
Update Go, deps and linter
|
2022-08-30 16:13:26 +02:00 |
|
Patrick Pacher
|
37951c2cff
|
Fixed unstable SQL statement causing memory leaks due to prepared stmt caching
|
2022-08-03 16:54:48 +02:00 |
|
Patrick Pacher
|
01f7ab24b3
|
Fix write/readonly connection usage and linter error
|
2022-08-02 14:04:12 +02:00 |
|
Patrick Pacher
|
6a86596736
|
Use a dedicated write connection for persisting in sqlite and switch pool to read-only
|
2022-08-02 10:46:16 +02:00 |
|
Patrick Pacher
|
84b66e9949
|
Remove locking from SQlite access
|
2022-08-02 10:13:12 +02:00 |
|
Patrick Pacher
|
912ad59b9e
|
Add connection pooling for sqlite database access
|
2022-08-02 10:07:13 +02:00 |
|