1. 19 May, 2020 2 commits
    • Philipp Winter's avatar
      Change data structure of PT parameters. · 0d446b04
      Philipp Winter authored
      This makes it easier for OONI to receive our data.
    • Philipp Winter's avatar
      Use bearer tokens for authentication. · 0bf8e540
      Philipp Winter authored
      Instead of passing our authentication token in the "auth_token" GET
      parameter, we are now using the "Authorization" HTTP header as defined
      in RFC 6750.
      The advantage of this is that we don't have to worry about the URL
      encoding of our Base64-encoded token.  Besides, middleboxes frequently
      like to log request parameters (but not necessarily HTTP headers) and we
      don't want our authentication token to be part of these logs.
      Thanks to Arturo Filastò for suggesting this!
  2. 18 May, 2020 3 commits
  3. 15 May, 2020 2 commits
    • Philipp Winter's avatar
      Only select rows where or_port is not NULL. · 330892cc
      Philipp Winter authored
      For some reason, the following row ended up in BridgeDB's SQLite DB:
        "339948" "REDACTED" "None" "NULL" "moat" "2020-04-28 23:00" "2020-05-15 21:30"
      "None" and "NULL" should be the bridge's IP address and OR port,
      This commit adds a clause to our SQLite statement that filters out rows
      whose or_port is NULL.
    • Philipp Winter's avatar
      Don't terminate when bridges could not be read. · 8b707425
      Philipp Winter authored
      We should log an error but there's no reason to terminate the service if
      there's a transient error in reading bridges.
  4. 14 May, 2020 2 commits
  5. 13 May, 2020 1 commit
  6. 12 May, 2020 5 commits
  7. 08 May, 2020 1 commit
  8. 06 May, 2020 1 commit
  9. 04 May, 2020 4 commits
  10. 01 May, 2020 4 commits
  11. 14 Apr, 2020 1 commit