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

Fixed Issuse #1094 #1139

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion slips_files/common/slips_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,9 @@ def is_ignored_ip(self, ip: str) -> bool:
ip_obj = ipaddress.ip_address(ip)
except (ipaddress.AddressValueError, ValueError):
return True

# Explicitly ignore 0.0.0.0 and the broadcast address 255.255.255.255
if ip == "0.0.0.0" or ip == "255.255.255.255":
return True
# Is the IP multicast, private? (including localhost)
# The broadcast address 255.255.255.255 is reserved.
return (
Expand Down