Sign inSign up

toincrease/consul-http-router

By toincrease

•Updated almost 9 years ago

Image
0

2.7K

toincrease/consul-http-router repository overview

⁠consul-http-router

A minimal consul docker container built on cargonauts/consul-http-router⁠.

Allows To-Increase-style URL proxy-ing.

⁠Debugging

  • Enable debug logging
  • Use TCP Dump on receiving host:
[ec2-user@ip-10-0-1-66 ~]$ sudo tcpdump -vv -l -s0 -w - port 8080 | strings
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes

Got 0
6GET /1bec7133-676e-4434-929a-8b1c9a6cc608/identification HTTP/1.0
X-Forwarded-Host: localhost
X-Forwarded-For: 172.17.42.1
Host: localhost
X-Real-IP: 172.17.42.1
Connection: close
User-Agent: curl/7.40.0
Accept: */*
HTTP/1.1 404 Not Found
Date: Wed, 19 Aug 2015 07:32:47 GMT
Connect

[...]
  • Dump
sudo tcpdump -l -s0 -w /tmp/dump.pcap
  • Upload files:
curl --upload-file /tmp/dump.pcap https://transfer.sh/myfile.dump

Tag summary

Content type

Image

Digest

sha256:fae98ebdf…

Size

11.5 MB

Last updated

almost 9 years ago

docker pull toincrease/consul-http-router