Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix for issue 105 -- more robust IP and hostname validation #107

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

Closed
bbeale wants to merge 5 commits into codingo:master from bbeale:master

Conversation

Copy link
Contributor

@bbeale bbeale commented Jun 23, 2020
edited
Loading

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.

Copy link

Stale pull request message

Copy link

drwetter commented Sep 1, 2020

Why the F^Wheck was this automatically closed?

Wondering whether this project is still maintained.

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.

Copy link

drwetter commented Sep 1, 2020

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

bbeale reacted with thumbs up emoji

Copy link

Is this project still alive?

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.

Copy link
Collaborator

tcstool commented Oct 27, 2020 via email

I am the original creator of this tool back in 2014 and turned it over to another maintainer a few years ago due to time constraints I had. I would love to see the project keep going but I don't think the current maintainer has done a good job devoting time to it. It really needs a complete overhaul and rewrite.
...
On Tue, Oct 27, 2020 at 10:44 AM Ben ***@***.***> wrote: Doesn't look like it @drwetter <https://github.com/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. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#107 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAY3TXUZHCQJEEMBE5MNBXLSM3THTANCNFSM4OFF22CA> .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /