Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Mitigation - HLD #1342

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open

Conversation

renukamanavalan
Copy link
Contributor

No description provided.

@Hongxing777
Copy link

What is the source of the data used for detection, is it just from xxx-db?Can I use this function to do some missions that the host intrusion detection system do? (such as Suspicious connection detection, suspicious process detection)

@renukamanavalan
Copy link
Contributor Author

What is the source of the data used for detection, is it just from xxx-db?Can I use this function to do some missions that the host intrusion detection system do? (such as Suspicious connection detection, suspicious process detection)

First cut -- Source is Redis-DB only.
RFE: We could extend .. But all the time running within the context of container.

@NanQiSweeper
Copy link

Firstly, since all the data is sourced from the database, won't there be significant limitations? Secondly, are there any experimental data on how much resources the LoM service will consume?

@renukamanavalan
Copy link
Contributor Author

Firstly, since all the data is sourced from the database, won't there be significant limitations? Secondly, are there any experimental data on how much resources the LoM service will consume?

SONiC is going towards maintaining all its state & config in DB only. This is the beautiful model (not just for this project) but by general design principals. Many of the operations are possible, like service restart is possible via DB and more coming to DB. So there are no significant limitations.

As we mature, we could increase our reach by mounting more dirs as RO and we could potentially extend our capabilities via D-Bus.
As for resources, it could be set at Docker level. Most of our code will go on subscribe model and fallback to poll where subscribe can be expensive. Expect code to sleep most of the time in a healthy box and wake up only upon some signals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants