Sign inSign up

wwmoraes/responder

By wwmoraes

Updated over 6 years ago

A dead-simple blackhole "web server" that responds all requests with the set HTTP status

Image
0

978

wwmoraes/responder repository overview

HTTP Responder/Rejector

A dead-simple blackhole "web server" that responds all requests with the set HTTP status.

y u dis

Some scalable scenarios require applications exposing itself to the internet, but you still need to "disable" some endpoints on the public internet. You can do so on your application, on your front-end server, or you can use this.

A real-world scenario is a kubernetes exposed application, which uses an ingress that binds /, but some endpoints are internal ones.

build and use

docker build -t rejector .
docker run --rm -it -p 8080:80 rejector

Configuration

All settings can be done through environment variables.

Environment variables
NameDefault valueDescription
HTTP_VERSION1.1the HTTP version to use on the header
HTTP_STATUS403 Forbiddenthe HTTP response code
PORT80the port where the server should listen to

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

over 6 years ago

docker pull wwmoraes/responder