kippo
kippo copied to clipboard
Add an option to disable wget completely
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.