Skip to content

default_gateway not found #1527

@xezpeleta

Description

@xezpeleta

Describe the bug
Lynis can't detect the default gateway, as Ubuntu 24.04 does not have netstat pre-installed.

Version

  • Distribution: Ubuntu 24.04 LTS
  • Lynis version: 3.0.9-1 (installed via apt)

Expected behavior
Ideally, default gateway should be retrieved with pre-installed tools (ip command?).
As alternative, lynis debian/ubuntu package should has netstat as dependency

Output

Skipped test NETW-3001 (Find default gateway (route))

Thank you for this amazing project!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @xezpeleta

      Issue actions

        default_gateway not found · Issue #1527 · CISOfy/lynis