Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bridgestrap bridgestrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Anti-censorship
  • bridgestrapbridgestrap
  • Issues
  • #30

Closed
Open
Created Dec 16, 2021 by shelikhoo@shelikhooOwner

Proposal: HTTP(S) Download Test

Both Gettor and Tor's main website are targets that attract censorship agencies and law enforcement. We should have an automatic way of testing if an HTTP(s) URL is accessible. Given a URL, the probe will download a maximum of maxFetchSize bytes of data, calculate its digest, and return the digest if it exists, time in second to complete the download attempt and error if it exists.

Input

To test an HTTP(S) URL's reachability, send a POST request to

https://HOST/http-state

with a request body of

{
    "url":"http://domain.name/path",
    "maxFetchSize":102400
}

Output

{
    "error":"error reason",
    "sha256":"base64Ofhash",
    "downloadSize":102400,
    "time":0.123
}
Assignee
Assign to
Time tracking