Skip to content
Snippets Groups Projects
  1. Feb 14, 2019
  2. Feb 07, 2019
  3. Feb 02, 2019
  4. Jan 25, 2019
  5. Jan 17, 2019
  6. Jan 15, 2019
  7. Nov 05, 2018
  8. Jul 18, 2018
  9. Jul 17, 2018
  10. Mar 26, 2018
  11. Mar 21, 2018
  12. Mar 07, 2018
  13. Feb 16, 2018
    • David Fifield's avatar
    • David Fifield's avatar
      Have meek-client-torbrowser give meek-client a stdin that doesn't close. · a47e634f
      David Fifield authored
      https://bugs.torproject.org/24642
      
      Running meek-client-torbrowser with the environment variable
      TOR_PT_EXIT_ON_STDIN_CLOSE=1 would cause meek-client to exit
      immediately, as it sensed that its stdin was closed.
      meek-client-torbrowser was running the meek-client subprocess with a nil
      Stdin, which causes its stdin to be /dev/null (or NUL on Windows), which
      returns an immediate EOF. So instead, give meek-client an StdinPipe and
      just keep it open. (We could alternatively keep track of it and close it
      when necessary, but that would take further refactoring.)
      
      The commit where things would have first broken was
      0ec986eb (part of tag 0.28), which
      added TOR_PT_EXIT_ON_STDIN_CLOSE awareness to meek-client. But it was
      not meek-client's fault.
      
      This bug did not affect any releases of Tor Browser, despite that on
      Windows we unconditionally set TOR_PT_EXIT_ON_STDIN_CLOSE=1 via
      terminateprocess-buffer, because Tor Browser is still using tag 0.25,
      which doesn't have the TOR_PT_EXIT_ON_STDIN_CLOSE change in meek-client.
      a47e634f
  14. Jan 11, 2018
    • David Fifield's avatar
      Show an error when missing a meek-client command line. · dcfbef8d
      David Fifield authored
      Running meek-client-torbrowser without arguments would panic as it tried
      to index the nonexistent arguments.
      
      2018/01/11 21:02:07 running firefox command ["firefox" "--invisible" "-no-remote" "-profile" "TorBrowser/Data/Browser/profile.meek-http-helper"]
      2018/01/11 21:02:07 firefox started with pid 23721
      2018/01/11 21:02:08 killing PID 23721
      panic: runtime error: index out of range
      
      goroutine 1 [running]:
      panic(0x4e95a0, 0xc42000a110)
              /usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
      main.runMeekClient(0xc420010589, 0xf, 0xc42000a2c0, 0x0, 0x0, 0x0, 0x10, 0xc42000e440)
              meek-client-torbrowser.go:267 +0x416
      main.main()
              meek-client-torbrowser.go:354 +0x3d2
      dcfbef8d
  15. Oct 01, 2017
  16. Sep 27, 2017
    • David Fifield's avatar
      Allow --port to set port 443 with --acme-hostnames. · 83daf8ad
      David Fifield authored
      --port is meant to override TOR_PT_SERVER_BINDADDR, but it was not
      overriding in the check for the presence of a bindaddr on port 443.
      
      SMETHOD-ERROR meek The --acme-hostnames option requires one of the bindaddrs to be on port 443.
      83daf8ad
  17. Sep 16, 2017
  18. Jul 26, 2017
Loading