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

Add IPv6 support, ignore trailing dot in IP abuse #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

monoidic
Copy link

@monoidic monoidic commented Sep 9, 2020

This PR will allow abuse_finder to work with IPv6 addresses by using the IP version agnostic ip_network and ip_address functions from the ipaddress library. I consider this enough to bump the minor version as well.

@monoidic
Copy link
Author

@Heat-Miser @gaelmuller @garanews @udgover
Any thoughts?

@monoidic
Copy link
Author

I also updated the abuse address regex to make it ignore trailing dots, which pop up for some IP addresses. For instance, the results for 40.121.0.1 are ['[email protected].', '[email protected]']

@monoidic monoidic changed the title Add IPv6 support Add IPv6 support, ignore trailing dot in IP abuse Oct 29, 2020
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.

1 participant