Improve Collector to run as a system process or docker process not SSH #2
Labels
No labels
Bug
Enhancement
Feature
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Security
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#3 Create Collector System Process Script
Public/byespy
#4 Docker
Public/byespy
Reference
Public/byespy#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Improvement
Currently, the collector runs on the server and connects to the server with SSH. This is not an ideal connection method for various reasons. I will be improving the collector to run on the endpoint and connect to the API in order to report information.
Details
Collector will be branched off from the project to byespy-collector and run as a separate entity and repository. This collector will report the same information from the logs, and be it's own thing.
This will allow the collector to be run on the host machine and will connect to the byespy dashboard via API, which is more secure, and poses less overhead.
Configuration
There will be 2 types of configuration for the collector
System Process (Preferred)
The system process will run as a process. It will be a script within the new byespy-collector directory/repository, the script run command will be generated by the system and listed as an onboarding process within the byespy dashboard. I will put in configuration for Debian, RHL, and Arch based distributions for now.
Docker
The Docker process will be a docker run command that is generated within the byespy dashboard as an easier way to pull the information from the fail2ban logs. the /var/logs directory will be mounted in the container as a volume, so not the most secure way of going about this, but potentially easier for an end user.
Potential Fail2Ban4Win log collector
I would also like to add a potential future collector for the Fail2Ban4Win program, although less used than Fail2Ban, still useful.