Skip to content

Conversation

bbeale
Copy link
Contributor

@bbeale bbeale commented Jun 23, 2020

Added a regex to look for hostname and IPV4 patterns. If this first check passes, then the ipaddress module from the standard library is used to validate the IP address. If a hostname is detected instead of an IP address, it will try to get the fully qualified domain name. Keeping within the standard library, socket.getfqdn was used for this step. Let me know if you think the FQDN part might be overkill.

I added this for options 1 and 7, which prompt the user for an IP address or domain. I left out the domain part for option 7.

Edit to remove stale tag.

@github-actions
Copy link

Stale pull request message

@drwetter
Copy link

drwetter commented Sep 1, 2020

Why the F^Wheck was this automatically closed?

Wondering whether this project is still maintained.

@bbeale
Copy link
Contributor Author

bbeale commented Sep 1, 2020

Clearly I wasn't quick enough with my edit to avoid getting auto closed.

He did respond to one of my other threads though @drwetter, I think he's busy but getting to them slowly but surely.

@drwetter
Copy link

drwetter commented Sep 1, 2020

Ok but why is the bot enabled if he/she cannot get to it atm?

@drwetter
Copy link

Is this project still alive?

@bbeale
Copy link
Contributor Author

bbeale commented Oct 27, 2020

Doesn't look like it @drwetter. It can always be reopened if the maintainer wants this PR, but I'm not going to worry about it anymore until that happens.

@tcstool
Copy link
Collaborator

tcstool commented Oct 27, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants