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 an option to disable wget completely #177

Open
m13253 opened this issue Feb 11, 2015 · 0 comments
Open

Add an option to disable wget completely #177

m13253 opened this issue Feb 11, 2015 · 0 comments

Comments

@m13253
Copy link

m13253 commented Feb 11, 2015

Motivation

I would like to request for an option to disable wget completely.
I want to deploy Kippo on my production server, that is, any possible manner to make a network request should be rejected.

Expected response:

When the user tries to download something, he will get:

Resolving <domain> (<domain>)... failed: Name or service not known.
wget: unable to resolve host address ‘<domain>’

Or if an IP address (IPv4 / IPv6) is provided:

Connecting to xxx.xxx.xxx.xxx:80... failed: Network is unreachable.

127.0.0.0/8 subnet and ::1 should behave a little differently:

Connecting to 127.0.0.1:80... failed: Connection refused.

Maybe I will implement myself and submit a PR weeks later.
But I decide to ask for comments in advance.
I would appreciate it if anyone can offer me some help.

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

1 participant