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

feat(inventory): track new Snort, WireGuard and MAC binding features #87

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

stephdl
Copy link
Contributor

@stephdl stephdl commented Jan 14, 2025

Implement functionality to retrieve and return statistics for WireGuard interfaces, including the number of instances and peers associated with each interface.

NethServer/nethsecurity#987

    "wiregard": {
      "instances": 2,
      "statistics": [
        {
          "server": "wg1",
          "peers": 2,
          "ns_user_db": "main"
        },
        {
          "server": "wg2",
          "peers": 0,
          "ns_user_db": "ldap"
        }
      ]
    },


    "mac_ip_binding": {
      "disabled": 1,
      "soft-binding": 0,
      "hard-binding": 1
    },


    "snort": {
      "enabled": true,
      "policy": "security",
      "oink_enabled": false,
      "disabled_rules": 2,
      "bypass_src_ipv4": 2,
      "bypass_src_ipv6": 0,
      "bypass_dst_ipv4": 0,
      "bypass_dst_ipv6": 0
    },

src/nethsec/inventory/__init__.py Outdated Show resolved Hide resolved
src/nethsec/inventory/__init__.py Outdated Show resolved Hide resolved
src/nethsec/inventory/__init__.py Show resolved Hide resolved
@gsanchietti gsanchietti requested a review from Tbaile January 15, 2025 09:27
@stephdl stephdl requested a review from gsanchietti January 15, 2025 09:52
@Tbaile Tbaile merged commit 02b7354 into main Jan 15, 2025
2 checks passed
@Tbaile Tbaile deleted the sdl-987 branch January 15, 2025 09:53
@Tbaile
Copy link
Contributor

Tbaile commented Jan 15, 2025

Bit late for this 😅
Head over to the nethsecurity repo and:

  1. Open a PR updating the python3-nethsec package Already did that: NethServer/nethsecurity@18a1983
  2. Add the QA to the relevant issues

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