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

Skipping IP's when scanning a range #309

Closed
dnyt84 opened this issue Oct 11, 2021 · 2 comments
Closed

Skipping IP's when scanning a range #309

dnyt84 opened this issue Oct 11, 2021 · 2 comments
Milestone

Comments

@dnyt84
Copy link

dnyt84 commented Oct 11, 2021

Describe the bug
I am Scanning an IP range, for example 192.168.56.250 - 192.168.57.20
In that range there are 12 valid IP addresses.
But the scanner only scan's 10 IP addresses skipping 192.168.56.255 and 192.168.57.0.
This is not correct behavior as the subnet is a /21 and 255 and 0 are valid IP addresses.

Similar to public space where .0 and .1 or .254 and .255 can be valid when either it is part of a larger subnet or a /31 subnet.
we use /31 on Point to Point links.

Same behavior when scanning for a /23, it skips the .0 and .255 address out of both subnets even though the IP Range specifies x.x.14.0 to x.x.15.255.

To Reproduce
Steps to reproduce the behavior:
Scan 192.168.56.250 - 192.168.57.20 and only 10 IP's are scanned.
Scan 192.168.56.0/23
Expected behavior
Should be 12 IP addresses
Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • Windows 10

  • Java version,
    java version "1.8.0_301"
    Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
    Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

  • Version of Angry IP Scanner: 3.7.6

@dnyt84
Copy link
Author

dnyt84 commented Nov 28, 2021

bump

@angryziber
Copy link
Collaborator

You are right, this needs to be addressed.
Probably skipping must be done based on the chosen netmask for scanning. Unfortunately, it cannot be done with non-rangenbased scans.

In the meantime, you can disable this skipping in Preferences.

@angryziber angryziber added this to the 3.8.0 milestone Jan 16, 2022
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

2 participants