Chkdfront - Cheque Domain Fronting
chkdfront checks if your domain fronting is working yesteryear testing the targeted domain (fronted domain) against your domain front end domain.
Features
- Checking your domain fronted against the domain front.
- Searching an expected string inward the answer to betoken success.
- Showing troubleshooting suggestions when a examination fails based on the failure natural.
- Inspecting the HTTP asking together with answer when a examination fails. (optionally if succeeded).
- Troubleshooting alongside diverse checks (ping, HTTP, nslookup) when a examination fails. (optionally if succeeded).
- Support testing though proxy.
Demo
Please banking concern represent the demo https://asciinema.org/a/nA9wBiuSDLDH9SunQ8GxKT2ra
Installation
$ jewel install chkdfront
Usage
Help menu: -f, --front-target URL Fronted target domain or URL. e.g. images.businessweek.com -d, --domain-front DOMAIN DomainFront domain. e.g. df36z1umwj2fze.cloudfront.net -e, --expect STRING Expect a given string that indicates success. (case-sensitive) e.g. It industrial plant -p, --provider NUM Choose CDN / Domain Front Provider: [0] Auto (default - motorcar melody request. Extra asking to detect) [1] Amazon (tune asking for Amazon domain fronting) [2] Azure (tune asking for Azure domain fronting) [3] Alibaba (tune asking for Alibaba domain fronting) -t, --troubleshoot [DOMAIN] Force troubleshooting procedures. execute troubleshooting procedures(ping, http, nslookup) for all parties (optional: master domain where CDN forwards, to include inward the checks) e.g. c2.mydomain.com --proxy USER:PASS@HOST:PORT Use proxy settings if you're behind proxy. e.g. user1:Pass123@localhost:8080 --debug Force debugging. demonstrate response's trunk together with low-level asking together with answer debug trace. (default enabled when examination fails.) -h, --help Show this message. Usage: / usr/local/bin/chkdfront Example: /usr/local/bin/chkdfront -f images.businessweek.com -d df36z1umwj2fze.cloudfront.net /usr/local/bin/chkdfront -f images.businessweek.com -d df36z1umwj2fze.cloudfront.net --debug -t c2.mysite.com
Contributing
- Fork it ( https://github.com/KINGSABRI/chkdfront/fork )
- Create your characteristic branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add simply about feature')
- Push to the branch (git force rootage my-new-feature)
- Create a novel Pull Request