Skip to content

ARP-SCAN and NMAPDEV cannot operate with the same subnet settings if --vlan parameter used #1264

@a-bali

Description

@a-bali

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

  • Firefox
  • Chrome
  • Edge
  • Safari (unsupported) - PRs welcome
  • N/A - This is an issue with the backend

Current Behavior

If I want to have VLANs scanned, it seems I cannot have it with both the ARP-SCAN and NMAPDEV plugins enabled, as:

  • ARP-SCAN requires to be ran with the following parameters: 10.10.10.0/24 --interface=eth0 --vlan=10
  • NMAP does not have a --vlan option
    So in SCAN_SUBNETS I can specify parameters that are either valid for ARP-SCAN or for NMAP, but not for both.

Expected Behavior

Recommendation: move SCAN_SUBNETS option to the device scanner level or implement a generic subnet configuration option that will generate specific configs for device scanners.

Steps To Reproduce

No response

app.conf

docker-compose.yml

What installation are you running?

Production (netalertx)

app.log

No response

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions