Skip to content

Commit

Permalink
Support command-line interface and update configuration API
Browse files Browse the repository at this point in the history
* Support command-line interface

- Remove `cert`, `key`, `root` from config file.
- Remove default certification path.

* Change `setGigantoConfig` api to receive full configuration toml string

* Update `gigantoConfig` to respond full configuration
  • Loading branch information
BLYKIM authored Sep 10, 2024
1 parent 77387d6 commit 5811c47
Show file tree
Hide file tree
Showing 13 changed files with 1,049 additions and 735 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).
in version `0.21.0-alpha.2`.
- Rename `chwaddr` to `chaddr` because the field names within the `Bootp` structure
of the giganto-client have changed.
- Changed cluster realted configuration field names.
- Changed cluster related configuration field names.
- `peer_address` to `addr_to_peers`
- `address` in `peers` to `addr` and `host_name` in `peers` to `hostname`
- Removed `unsafe` block in `write_run_tcpdump` while creating a temporary file.
- Remove migration code less than `0.15.3`
- In `BootpRawEvent`, `ConnRawEvent`, `DceRpcRawEvent`, `DhcpRawEvent`,
`DnsEventEvent`, `DnsRawEvent`, `FileCreateEvent`,
`FileCreateStreamHashEvent`, `FileCreationTimeChangedEvent`,
Expand All @@ -68,6 +66,16 @@ Versioning](https://semver.org/spec/v2.0.0.html).
integers beyond `i32`.
- Changed the `from_key_value` macro to additionally receive `str_num_field`
for `StringNumber` conversion.
- Changed command line interface.
- Removed `cert`, `key`, `root` fields from config file.
- Added cli options `-c`, `--cert`, `--key` and `--ca-certs`.
- Changed `setGigantoConfig` to receive toml-string with full configuration.
- Updated `gigantoConfig` to respond full configuration.

### Removed

- Removed `unsafe` block in `write_run_tcpdump` while creating a temporary file.
- Remove migration code less than `0.15.3`

## [0.20.0] - 2024-05-17

Expand Down
Loading

0 comments on commit 5811c47

Please sign in to comment.