065eb3e022
Ensure that consumers are removed when their context is canceled
2021-02-19 17:00:57 +01:00
be5bf2a359
Remove CaptureParams
2021-02-19 16:33:51 +01:00
feca4c7732
Handle init errors in PCAP consumers
2021-02-19 16:27:41 +01:00
e5ae9c67b8
Extend test suite
...
- did some cleanup
- applied renaming of the proto entities
- completed PCAP CLI
2021-02-19 15:46:09 +01:00
2917715edc
Rename gRPC PCAP entities
2021-02-19 13:59:14 +01:00
41b5f905fd
Fix golangci-lint findings
2021-02-18 21:54:22 +01:00
bcea9e9682
Format imports
2021-02-18 17:06:51 +01:00
404751fa61
Prepared API integration tests
2021-02-18 16:57:01 +01:00
5880b42a99
Fixed dependency chain to get x-platform support
2021-02-17 17:42:27 +01:00
c05141f0f4
Drop MacOS and FreeBSD support for now in releases
2021-02-17 16:57:08 +01:00
6ed23aa62d
Add tests for recorder
2021-02-17 16:34:14 +01:00
3ae3eefbac
Complete CLI integration
2021-02-17 15:39:06 +01:00
864de9f20b
Initial draft of PCAP capturing
2021-02-16 16:50:23 +01:00
8d81af64d4
Remove LittleEndian byte order
...
- update/fix test suite with updated test messages
2021-02-15 17:19:19 +01:00
eeb5c4b8be
Include generated proto files
...
This allows everyone else to import those for using the client
2021-02-15 17:09:19 +01:00
7246b719eb
Adopt new proto structure
2021-02-15 17:07:04 +01:00
803872966b
Fix wrong import path in proto
2021-02-15 17:06:50 +01:00
9a3c410ee8
Squashed 'api/' content from commit 08b8eb8
...
git-subtree-dir: api
git-subtree-split: 08b8eb82f54325faf2f86806c6ab4f40e9fc0af1
2021-02-15 16:48:06 +01:00
a5c194782e
Merge commit '9a3c410ee8dfe2a380dc1ab36a5778e2c0f7049b' as 'api'
2021-02-15 16:48:06 +01:00
795f9c0b83
Move existing protos to external repo
2021-02-15 16:47:37 +01:00
1618dc317f
Move docs to deploy stage
2021-02-10 22:07:33 +01:00
d70ba748f5
Introduce Lifecycle for every endpoint and manage listeners in the renamed Orchestrator
...
- merge packages to get a more concise layout because plugins are no more and therefore there's not a lot to be exported
- fix test logger
- rework config parsing to be easier and more transparent
- remove unnecessary APIs because dynamic endpoint handling is rather a won't implement
2021-02-10 20:26:45 +00:00
dd4b191abb
Merge branch '10-handler-event-stream' into 'master'
...
Resolve "Handler Event Stream"
Closes #13 and #10
See merge request inetmock/inetmock!12
2021-01-27 12:53:22 +00:00
2d97beaf70
Refactor gRPC sink
...
- rename it to GenericSink
- add tests
- update dependencies
- improve test step to always get a report
- add NoOpSink for tests
2021-01-27 13:31:51 +01:00
85b0123711
Update container config
2021-01-27 11:29:10 +01:00
55dfcfabab
Ship default CA with container build
2021-01-27 11:05:06 +01:00
c97207e854
Update builtin CA
2021-01-27 09:28:51 +01:00
2c02b0c941
Add basic metric sink
2021-01-26 19:00:46 +01:00
cc72595398
Subscribe sinks with a context to automatically remove them when context is canceled
2021-01-26 18:50:53 +01:00
6d2737b501
Move HTTPS handling to http_mock handler
2021-01-26 18:42:07 +01:00
63a6516d99
Added audit stream to HTTP proxy
2021-01-26 18:20:52 +01:00
03f3ae4173
Enable gRPC reflection to support gRPCurl and gRPCui
2021-01-26 18:20:52 +01:00
af0a7a2375
Capture source and destination addresses as byte arrays
...
- update necessary tests
This removes a lot of complexity because IPv4 and IPv6 addresses can be handled the same way.
To distinguish between them it's enough to take their length into account.
Parsing should be straight forward in any language.
2021-01-26 18:20:51 +01:00
66f2aab9af
Add commands to list sinks and to read a protocol file to JSON
2021-01-26 18:20:51 +01:00
a76d1d1c04
Cleanup in server app
2021-01-26 18:20:50 +01:00
0138b57782
Merged CLI and server app init
2021-01-26 18:19:54 +01:00
37c87adaf3
Apply comments
2021-01-26 18:19:54 +01:00
38293bb8c4
Remove caching for now
2021-01-26 18:19:54 +01:00
af5c55d8c9
Cache .task/ directory to lazy run tasks across stages
2021-01-26 18:19:54 +01:00
41aa132e80
Cache .task/ directory to lazy run tasks across stages
2021-01-26 18:19:54 +01:00
2f0f3edfdf
Moved code of commands to their main package
...
- add init code to reduce code duplication of connection setup
2021-01-26 18:19:52 +01:00
af31b1166a
Audit API prototype
...
- watch events interactively
- pipe events to files
- remove file subscriptions
2021-01-26 18:19:03 +01:00
dc4a9b18a3
Moved endpoint handlers in tree
2021-01-26 18:18:59 +01:00
bb9f45ce91
Move sinks to extra package
2021-01-26 18:17:37 +01:00
6c448fd318
Add DNS details
2021-01-26 18:17:37 +01:00
0468c93671
Integrate into handlers
2021-01-26 18:17:37 +01:00
63607dfd67
Implement log and writer sinks
...
Add reader
2021-01-26 18:17:37 +01:00
1e8139e845
Add first draft of event stream
2021-01-26 18:17:37 +01:00
eaddf264ce
Add test and coverage reports
2021-01-26 18:17:29 +01:00
81c4be6343
Replace CI job token with API token
2021-01-05 08:53:05 +01:00