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

Allow customized subnet list for nmap #53

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

alexxxxxxxandria
Copy link

The core purpose for this change is to allow Bjorn to function in large networks; 10.0.0.0/8 subnets have millions of available addresses. This is a known limitation of nmap; nothing is well-suited to poll this many hosts.

This commit adds two new config items, boolean 'use_custom_subnets' and string[] 'custom_subnet_list'. By default, 'use_custom_subnets' is False which matches the current behavior of using the IP Interface subnet. If 'use_custom_subnets' is True, then the subnets in 'custom_subnet_list' are passed to nmap instead.

The core purpose for this change is to allow Bjorn to function in large
networks; 10.0.0.0/8 subnets have millions of available addresses. This
is a known limitation of nmap; nothing is well-suited to poll this many
hosts.

This commit adds two new config items, boolean 'use_custom_subnets' and
string[] 'custom_subnet_list'. By default, 'use_custom_subnets' is False
which matches the current behavior of using the IP Interface subnet. If
'use_custom_subnets' is True, then the subnets in 'custom_subnet_list'
are passed to nmap instead.
@JuanVilla424
Copy link
Contributor

JuanVilla424 commented Nov 21, 2024

Disclaimer

#48?

@JuanVilla424
Copy link
Contributor

Please switch target branch to dev.

@meditant
Copy link

meditant commented Dec 1, 2024

Yes please switch target branch to dev.

@alexxxxxxxandria alexxxxxxxandria changed the base branch from main to dev December 2, 2024 03:48
@alexxxxxxxandria
Copy link
Author

Branch changed

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