4748630b04
Merge pull request 'v0.4.0' ( #4 ) from develop into main
...
Reviewed-on: #4
v0.4.0
2026-01-11 17:01:42 +05:00
a75df70922
Update CHANGELOG.md with release date for version 0.4.0
2026-01-11 16:50:56 +05:00
a84f1ccde6
Update CHANGELOG.md to document IP blocking fix during Docker container redirection
2026-01-11 16:49:58 +05:00
0d13f851dd
Fixed a bug where IP blocking for containers did not work when Docker was enabled
2026-01-11 16:44:33 +05:00
b04016c596
Update CHANGELOG.md to include rule_strategy parameter addition and its configuration details
2026-01-11 15:58:25 +05:00
8147e715f2
Update default rule_strategy to incremental and handle new strategy in Docker settings
2026-01-11 15:52:17 +05:00
f57172a2ea
Add IncrementalStrategy for rule management and extend chain functionality to support rule listing and removal
2026-01-11 15:51:54 +05:00
6c5a476d6e
Refactor bridge name generation and extend IPInfo with NetworkID for improved modularity and network tracking
2026-01-11 14:21:43 +05:00
264f8ac60b
Add NetworkID field to IPInfo and Docker network settings for enhanced network tracking
2026-01-11 14:21:20 +05:00
b2a9f83a44
Add FetchContainer method to Docker client for improved modularity and encapsulation
2026-01-11 13:29:30 +05:00
6ac0a86d9d
Add FetchBridge method to Docker client for improved encapsulation and modularity
2026-01-11 13:26:34 +05:00
a6133c308e
Refactor Docker client methods: bridge and container helper methods for improved encapsulation and naming consistency
2026-01-11 12:57:48 +05:00
82b501d0ec
Refactor rule generation: add GenerateBridge and GenerateContainer methods for improved modularity and clarity
2026-01-11 12:54:38 +05:00
ce6cbbe17e
Add optional comment parameter to JumpTo for enhanced rule traceability
2026-01-11 00:47:38 +05:00
2de8aa29c4
Update rebuildStrategy to handle container-specific events and adjust GenerateAll calls with an extra parameter
2026-01-11 00:46:19 +05:00
3afd4aa5f3
Add optional comment support in rule generation for improved traceability
2026-01-11 00:45:47 +05:00
42160ff5ab
Enhance Docker event monitoring: add support for network events, JSON unmarshaling for events, and include detailed event attributes
2026-01-11 00:44:58 +05:00
8798811806
Refactor Docker bridge handling: consolidate bridge name and subnet methods into BridgeInfo for simplified logic and enhanced structure
2026-01-11 00:23:49 +05:00
a10d56df79
Add --no-trunc to Docker ps command for full container IDs in monitoring
2026-01-10 23:49:12 +05:00
876592c38d
Refactor RebuildStrategy: rename to rebuildStrategy for improved naming consistency and update method receivers accordingly
2026-01-10 21:40:33 +05:00
e55660b098
Introduce rule management strategies and refactor Docker monitoring logic
2026-01-09 23:45:57 +05:00
c6c3f991cc
Update CHANGELOG.md with details on options.docker_support removal and related Docker configuration changes
2026-01-07 20:29:20 +05:00
bc177f83b8
Add support for Docker configuration and refactor related settings
2026-01-07 20:28:54 +05:00
48be913c57
Refactor analyzer: replace slice initialization with var keyword for clarity
2026-01-07 20:27:55 +05:00
0a30733d27
When the program stops, there are cases when empty messages "Received log entry" appear in the logs
2026-01-07 20:27:28 +05:00
4a5492b1c5
Add check to skip empty Docker event messages in monitoring loop
2026-01-05 22:48:20 +05:00
a3df113b07
Update CHANGELOG.md with details on fixes related to binaryLocations.docker setting and Docker crash issue
2026-01-05 22:46:07 +05:00
e034debeaa
Refactor Docker event monitoring: simplify Events method and introduce EventsClose for graceful shutdowns
2026-01-05 22:41:30 +05:00
9134ab8ec0
Refactor systemd log watcher to build args within the watch method
2026-01-05 22:33:52 +05:00
ba23474eab
Refactor analyzer to use a shared log channel
2026-01-05 22:27:45 +05:00
bbaf0304c3
Merge pull request 'v0.3.0' ( #3 ) from develop into main
...
Reviewed-on: #3
v0.3.0
2026-01-04 17:09:39 +05:00
1f8be77ab3
Clarify Docker support status in English README
2026-01-04 16:39:21 +05:00
d2795639da
Update Russian README: reorder sections and clarify Docker support status
2026-01-04 16:39:08 +05:00
8638c49886
Add "Requirements" section to English README
2026-01-04 16:37:16 +05:00
66e6bad111
Add system requirements section to README
2026-01-04 16:37:06 +05:00
1a6d6b813b
Update CHANGELOG.md with release date for version 0.3.0
2026-01-04 16:36:36 +05:00
9b8d07ccb3
Fix typo in CHANGELOG.md: correct WantedBy target from sysinit.target to multi-user.target
2026-01-04 16:20:05 +05:00
4b8622a870
Update CHANGELOG.md with partial Docker support details for version 0.3.0
2026-01-04 16:19:30 +05:00
b9719f7eaf
Add Docker event monitoring and chain clearing functionality
...
- Introduced `Events` method in Docker client to stream and handle Docker events.
- Added `Clear` method to nftables chain interface for clearing rules.
- Enhanced daemon lifecycle to include Docker event monitoring when Docker support is enabled.
- Updated nftables rule management with event-driven chain clearing and reloading.
2026-01-04 16:06:01 +05:00
c424621615
Add Docker support with nftables integration
...
- Introduced Docker monitoring to manage nftables rules.
- Added `docker_support` option to firewall configuration.
- Integrated Docker bridge, container handling, and related network rules.
- Updated default configurations for Docker path and settings.
- Enhanced `daemon` lifecycle for Docker integration.
2026-01-04 13:59:26 +05:00
865f12d966
Update dependencies: bump go-nftables-client to v0.1.1 and make go-mail a direct dependency
2026-01-01 22:06:50 +05:00
b3a94855b8
Refactor localOutput receiver names for consistency in AddRule and AddRuleOut methods
2026-01-01 20:28:54 +05:00
4d001a026c
Refactor localInput receiver names for consistency in AddRule and AddRuleIn methods
2026-01-01 20:28:37 +05:00
6e4bd17bfe
Update CHANGELOG.md to include new configuration files notifications.toml and analyzer.toml
2025-12-31 23:14:09 +05:00
0bcdb7bcc7
Update LICENSE-3RD-PARTY.txt to include go-mail dependency and its MIT license details
2025-12-31 23:05:56 +05:00
5f2d5a1a9e
Simplify EmptyAnalysis.Process by ignoring unused parameter
2025-12-31 23:01:20 +05:00
542f7415b7
Update CHANGELOG.md with email notification and SSH login notification details for version 0.3.0
2025-12-31 22:58:25 +05:00
8615c79f12
Refactor log analyzer to support SSH login detection
...
- Moved `Entry` type to `analysis` package for better organization.
- Introduced `SSH` analysis service to detect and notify about SSH logins.
- Added notification and logging for detected SSH login events.
2025-12-31 22:52:12 +05:00
b5686a2ee6
Add systemd log integration for analyzer service
...
- Implemented `systemd` log monitoring using `journalctl`.
- Added `BinPath` configuration for specifying binary paths.
- Introduced `ssh` unit monitoring for authorization tracking.
- Updated analyzer lifecycle to integrate log processing.
- Enhanced validation for `journalctl` path in settings.
- Updated default configurations with `journalctl` path.
2025-12-30 20:57:35 +05:00
e78685c130
Add support for analyzer service and configuration
...
- Introduced `analyzer` service for log parsing and authorization tracking.
- Added dedicated analyzer configuration via `analyzer.toml`.
- Integrated analyzer setup and lifecycle management into daemon runtime.
- Enhanced `setting` package to include analyzer settings parsing and validation.
- Updated daemon options to support analyzer configuration.
- Extended default configuration files for analyzer settings.
2025-12-30 15:03:41 +05:00