1. 09 Jan, 2012 4 commits
  2. 07 Jan, 2012 4 commits
  3. 03 Jan, 2012 2 commits
    • Avery Pennarun's avatar
      ui-macos/main.py: fix wait() to avoid deadlock. · 89e914e9
      Avery Pennarun authored
      If the subprocess was trying to write to its stdout/stderr, its process
      would never actually finish because it was blocked waiting for us to read
      it, but we were blocked on waitpid().  Instead, use waitpid(WNOHANG) and
      continually read from the subprocess (which should be a blocking operation)
      until it exits.
      89e914e9
    • Avery Pennarun's avatar
      ipfw: don't use 'log' parameter. · 2268e767
      Avery Pennarun authored
      I guess we were causing the kernel to syslog on every single packet on
      MacOS.  Oops.
      2268e767
  4. 31 May, 2011 3 commits
  5. 30 May, 2011 1 commit
  6. 16 May, 2011 1 commit
  7. 08 May, 2011 4 commits
  8. 04 May, 2011 6 commits
  9. 25 Apr, 2011 3 commits
  10. 07 Apr, 2011 1 commit
    • Avery Pennarun's avatar
      DNS: auto-retry if we get an error on send/recv to DNS server. · 783d33ca
      Avery Pennarun authored
      A few people have reported that they have one or more invalid DNS servers in
      /etc/resolv.conf, which they don't notice because the normal resolver
      library just skips the broken ones.  sshuttle would abort because it got an
      unexpected socket error, which isn't so good.
      783d33ca
  11. 21 Mar, 2011 2 commits
  12. 20 Mar, 2011 1 commit
  13. 15 Mar, 2011 1 commit
    • Avery Pennarun's avatar
      hostwatch.py: avoid using /dev/null on the server. · 2e8381ec
      Avery Pennarun authored
      According to at least one report, there are some slightly insane servers out
      there that have /dev/null set to non-user-writable.  This is totally broken,
      but we want sshuttle to work with as many servers as possible, so let's fake
      it up a bit instead.
      
      We don't try to avoid /dev/null on the client; sshuttle needs root access
      anyway, and if you're root, you can just fix your stupid /dev/null
      permissions.
      2e8381ec
  14. 28 Feb, 2011 1 commit
  15. 27 Feb, 2011 4 commits
  16. 21 Feb, 2011 1 commit
    • Avery Pennarun's avatar
      firewall.py: iptables: failure to delete a rule isn't always fatal. · 6ef9ae17
      Avery Pennarun authored
      If the previous run of sshuttle didn't manage to clean up after itself, it
      might have left the sshuttle-12300 chain intact, but the OUTPUT chain might
      not refer to it anymore.  That would cause the *next* run of sshuttle to
      barf when trying to delete the OUTPUT entry, and then never get to the part
      where it just tries to delete the old chain so it can continue.
      
      Now only the last delete command (the one that actually deletes the chain)
      is fatal if it fails; the others just print a scary message, but that should
      only happen once in your life if you're unlucky.
      6ef9ae17
  17. 08 Feb, 2011 1 commit