« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 826 ms

GitHub - dalf/cryptcheck-backend

Source: https://github.com/dalf/cryptcheck-backend

Repository navigation

cryptcheck-backend
Public

About

No description, website, or topics provided.

Resources

Readme AGPL-3.0 license Activity

Stars

18 stars

Watchers

3 watching

Forks

5 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


7 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.dockerignore .dockerignore    
.gitignore .gitignore    
.ruby-version .ruby-version    
Dockerfile Dockerfile    
Gemfile Gemfile    
LICENSE LICENSE    
Makefile Makefile    
README.md README.md    
cryptcheck-backend cryptcheck-backend    

Repository files navigation

Web server to run cryptcheck , without scheduling, database, cache.

Provide one API similar to the one cryptcheck.fr:

  • /https/<host>.json
  • /https/<host>:<port>.json

Result:

  • If there is no error, a similar JSON structure is returned.
    {"service":"https",
     "host":"<host>",
     "pending":false,
     "result": <cryptcheck result>,
     "created_at": "<date time>",
     "updated_at": "<date time>",
     "args": 443}
  • If one argument is invalid, the HTTP status code is 400, a json
    {"status":400,"error":"Invalid port","error_message":"<port> is not a number"}
  • If cryptcheck triggers an exception, the HTTP status code is 503:
    {"status":503,"error":"Address not available","error_message":"Address not available - connect(2) for [<ip>]:443"}
  • If the host don't have an IPv6 connectivity:
    {"service":"https","host":"<host>","pending":false,"result":[{"hostname":"<host>","port":443,"error":"Network unreachable - connect(2) for [<ipv6>]:443"}],"created_at":"<timestamp>","updated_at":"<timestamp>","args":443}

Build docker image

make docker-build

Run docker image

make docker-run

Or

docker run --rm -p 7000:7000 dalf/cryptcheck-backend:latest -o 0.0.0.0

About

No description, website, or topics provided.

Resources

Readme AGPL-3.0 license Activity

Stars

18 stars

Watchers

3 watching

Forks

5 forks Report repository

Releases

Packages

Used by

Contributors

Languages