Commit Graph

19 Commits

Author SHA1 Message Date
d677cd20b9 Feature: Enhance Performance, Logging & Stability: Precompile Regex, Command Matching, Golang 1.24, History Cleanup & memLimitMiB Flag. (#182)
* Feat: Add support for logging which "command" was matched for SSH and HTTP strategies.

* Feat: Convert to precompiling regexp at config load time. This allows for errors to be presented to the user during startup, and provides better performance for complex regexp.

* Feat:Bump Golang version to latest stable 1.24

* Feat: Add a cleanup routine for HistoryStore, default TTL for events is 1 hour since last interaction.

* Feat: Add new command line flag "memLimitMiB" with a default value of 100.

---------

Signed-off-by: Bryan Nolen <bryan@arc.net.au>
Signed-off-by: Mario Candela <mario.candela.personal@gmail.com>
Co-authored-by: Mario Candela <mario.candela.personal@gmail.com>
2025-03-23 19:16:34 +01:00
1f59685530 Feat: Improve HTTP Headers serializer json log #172 (#173)
* Changed Event struct, field headers from string to map[string][]string

* Add integration test for http Headers
2025-03-01 12:31:34 +01:00
db804474d3 Add support for TLS based HTTP connections. (#158)
* Add support for TLS based HTTP connections, With Unit Tests.
2025-02-13 20:54:22 +01:00
0b5486964b feat: add source ip and source port (#126)
add source ip and source port
2024-08-30 08:28:56 +02:00
5e5d0494a9 refactor: Improve Go docs (#74)
* add go docs, package: parser
* add go docs, package: protocols
* add go docs, package: tracer
2023-10-15 20:54:53 +02:00
07ffdd839f Refactoring, improve code coverage (#72)
* Refactoring, improve code coverage

* Add unit test for gelAllFilesNameByDirName

* Add codecov coverage into README.md

* Improve coverage readFileBytesByFilePath
2023-10-09 01:16:53 +02:00
0794736bc5 Feature: non-blocking tracer, changed license (#57)
* refactor tracer, introduce worker to avoid un-blocker trace strategy

* fixed unit test and refactor dockerFile

* buffered events chan

* refactor yaml API core, initial web hook tracing implementations

* added banner

* changed license from GPL 3 to MIT

* Edit readme
2023-08-30 23:04:35 +02:00
9670cf00c8 Small refactor to reduce LOC and keep code DRY. (#53) 2023-06-26 18:55:49 +02:00
49a4022f56 feat: Trace command output for SSH Strategy (#35)
manage command output SSH strategy
2023-04-14 22:35:11 +02:00
f50f5185df feature: Configured prometheus, improve readme (#31) 2023-03-31 20:03:42 +02:00
882066f0a6 Implemented tcp honeypot 2022-07-03 17:15:38 +02:00
ab5a4f8137 Refactoring Tracer and ProtocolManager 2022-06-04 17:14:46 +02:00
25904ff751 Configured Description filed into Event and Service configuration 2022-05-31 22:39:56 +02:00
f52bab90eb Refactoring Event object, and HTTP handler 2022-05-29 16:18:40 +02:00
daf251191a improve dateTime into event 2022-05-19 23:20:20 +02:00
d93e097c70 Refactoring enum with value 2022-05-17 23:32:00 +02:00
3c5ac84ef0 Refactoring protocolManager.go and tracer.go, improce dependency injection 2022-05-11 22:58:03 +02:00
24ff11099c Improve new field on Event, and refactored the Protocol field with a Protocol enum 2022-05-10 22:50:29 +02:00
4b8f74d18c Improve tracer 2022-05-09 23:16:59 +02:00