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

IDS #22

Open
majst01 opened this issue Apr 20, 2020 · 1 comment
Open

IDS #22

majst01 opened this issue Apr 20, 2020 · 1 comment

Comments

@majst01
Copy link
Contributor

majst01 commented Apr 20, 2020

In order to be able to report IDS events we need to install a open source IDS system in the firewall image. We already decided to choose https://suricata-ids.org/. This IDS will be always installed and will listen on all external interfaces. Configuration will be done by:

  • metal-networker which has the knowledge of interfaces
  • Custom CRD which enables/disables IDS event forwarding to a customer visible pod

A mechanism to update IDS patterns must be enabled to run at a regular basis.

@majst01 majst01 mentioned this issue Apr 20, 2020
@majst01
Copy link
Contributor Author

majst01 commented Apr 24, 2020

Simple consuming of IDS Stats is implemented in the new firewall-controller:
metal-stack/firewall-controller@879ea04

This will show up like:
k describe networkids

Name:         networkids-sample
Namespace:    default
API Version:  firewall.metal-stack.io/v1
Kind:         NetworkIDS
Spec:
  Enabled:   true
  Interval:  10
  Statslog:  /var/log/suricata/stats.log
Status:
  ID Sstatistics:
    Stats:
      capture.errors:          0
      capture.kernel_drops:    0
      capture.kernel_packets:  2
      decoder.bytes:           432
      decoder.pkts:            2
  Last Run:                    2020-04-24T09:20:38Z
Events:                        <none>

This can probably be exposed by default to all customers even if the did not pay for IDS to have a peek preview what they can expect once paying.

@mwindower @chbmuc

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

No branches or pull requests

1 participant