Commit Graph

  • 76d576a375 _nb_clean: don't catch EPIPE after all. Avery Pennarun 2010-10-01 18:25:03 -0700
  • f6e6515a3c Fix busy-waiting in two situations: Avery Pennarun 2010-10-01 18:22:36 -0700
  • 84376284db Factor out common mainloop code between client and server. Avery Pennarun 2010-10-01 17:36:09 -0700
  • b0f061e204 Implement our own left-shift operator to shut up python 2.3 warnings. Avery Pennarun 2010-10-01 14:46:34 -0700
  • c403a83ab8 Don't use set() since it's not in python 2.3. Avery Pennarun 2010-10-01 14:23:27 -0700
  • da774f3f46 import and use subprocess.py from python 2.6. Avery Pennarun 2010-10-01 12:06:56 -0700
  • 7d3028dee2 Remove list comprehensions for python 2.3 compatibility. Avery Pennarun 2010-10-01 11:55:45 -0700
  • 518df41049 ssh.py: don't os.setsid(). Avery Pennarun 2010-10-01 11:35:13 -0700
  • 76bbbfd67b Catch the exception thrown when ssh can't connect. Avery Pennarun 2010-10-01 10:34:20 -0700
  • 6e336c09bf README: remove the note about MacOS not working. It works now! sshuttle-0.40 Avery Pennarun 2010-10-01 00:43:01 -0700
  • f950a3800b BSD: sysctl net.inet.ip.forwarding=1 is not necessary. Avery Pennarun 2010-10-01 00:39:30 -0700
  • 8b4466b802 BSD ipfw: switch from 'established' to 'keep-state/check-state'. Avery Pennarun 2010-10-01 00:00:45 -0700
  • 4bf4f70c67 ssnet: recover slightly more gracefully from an infinite forwarding loop. Avery Pennarun 2010-09-30 23:25:08 -0700
  • 410b9d4229 Magic incantation to mostly fix MacOS 10.6. Avery Pennarun 2010-09-30 23:19:18 -0700
  • 2ef1c6a4c4 latest options.py from bup, now with tty-width guessing. Avery Pennarun 2010-09-21 18:03:17 -0700
  • b35cfbd022 hostwatch: add missing errno import Frederik Deweerdt 2010-09-21 17:15:46 -0700
  • dcba684766 If netstat -rn returns an error, make that non-fatal. Avery Pennarun 2010-09-04 11:29:11 -0700
  • ee74110cff add option to allow the remote python binary's name/path to be specified chocolateboy 2010-09-03 15:46:25 +0100
  • 5bf8687ce3 Import latest options.py from bup-0.17. Avery Pennarun 2010-09-03 22:58:44 -0700
  • 6bdb9517fd README: fix some out-of-date system requirements stuff. Avery Pennarun 2010-07-25 00:16:09 -0400
  • f1b33dab29 Add a --exclude option for excluding subnets from routing. sshuttle-0.31 Avery Pennarun 2010-07-15 14:07:01 -0400
  • 3a25f709e5 log(): don't abort if we fail to write to stderr. Avery Pennarun 2010-05-16 17:55:46 -0400
  • a8b3d69856 ssh.py: try harder to find required *.py files. Avery Pennarun 2010-05-12 13:48:37 -0400
  • 2d4f6a4308 client: add a debug1() message for connecting/connected. Avery Pennarun 2010-05-11 19:04:44 -0400
  • d435ed837d Created a googlegroups.com mailing list for sshuttle. Avery Pennarun 2010-05-11 15:26:06 -0400
  • 2d77403a0b Don't use try/except/finally so that python 2.4 works. Avery Pennarun 2010-05-10 13:58:52 -0400
  • 77cf37e0fa firewall: preserve permissions on /etc/hosts sshuttle-0.30 Avery Pennarun 2010-05-09 11:22:05 -0400
  • 384d0e7c1d hostwatch: watch "netstat -n" for IP addresses. Avery Pennarun 2010-05-08 16:11:24 -0400
  • 5a4a2ab7f9 Oops, previous change to ipfw settings prevented cleanup from working. Avery Pennarun 2010-05-08 03:35:57 -0400
  • 33efa5ac62 Added new --auto-hosts and --seed-hosts options to the client. Avery Pennarun 2010-05-08 03:03:12 -0400
  • a2ea5ab455 Add 'sshuttle --hostwatch' subcommand. Avery Pennarun 2010-05-08 01:30:34 -0400
  • 680941cb0c BSD: "ipfw add %d accept ip from any to any established" Avery Pennarun 2010-05-07 20:06:26 -0400
  • 7043195043 Add -N (--auto-nets) option for auto-discovering subnets. Avery Pennarun 2010-05-07 20:02:04 -0400
  • 77935bd110 ssnet: EHOSTUNREACH and ENETUNREACH are non-fatal errors. Avery Pennarun 2010-05-07 12:30:03 -0400
  • 8fe3592be3 Don't require the remote server to have sshuttle installed. sshuttle-0.20 Avery Pennarun 2010-05-04 23:21:16 -0400
  • ba19d9c72d Rename iptables->firewall. Avery Pennarun 2010-05-04 22:05:49 -0400
  • 096bbcc576 Client "almost" works on MacOS and maybe FreeBSD. Avery Pennarun 2010-05-04 18:24:43 -0400
  • 7bd0efd57b Oops, broke --noserver mode at some point. sshuttle-0.11 Avery Pennarun 2010-05-04 18:28:31 -0400
  • 8173925bcd ssh.py: allow hostnames of the form hostname:port Avery Pennarun 2010-05-04 13:07:51 -0400
  • 0cdd72c830 README: clarify that the server doesn't need Linux or iptables. Avery Pennarun 2010-05-03 16:35:35 -0400
  • 403a088e07 README: add information about which iptables modules are needed. Avery Pennarun 2010-05-03 13:07:53 -0400
  • 4a93d3362d README: fix some formatting for easier text-mode readability. Avery Pennarun 2010-05-03 13:07:30 -0400
  • 33a73056ee README: update to use real markdown-style headings. Avery Pennarun 2010-05-02 21:46:51 -0400
  • 4a462258f5 ssh.py: support finding sshuttle in "$HOME/.../sshuttle" Avery Pennarun 2010-05-02 21:24:31 -0400
  • a5fc93c841 iptables: if client dies before sending GO, just quit. Avery Pennarun 2010-05-02 21:06:31 -0400
  • ea6bb5c255 iptables: die quietly if parent process dies. Avery Pennarun 2010-05-02 21:01:30 -0400
  • 2c2bea80bc iptables: try launching with sudo, then su, then directly. Avery Pennarun 2010-05-02 20:54:10 -0400
  • 7d674e9e37 ssnet: throw a nicer-looking Fatal when the mux connection dies. Avery Pennarun 2010-05-02 20:53:29 -0400
  • a21e8c7a3c iptables: more resilient startup/cleanup. Avery Pennarun 2010-05-02 19:29:03 -0400
  • ca14231aae Whoops, we were spinning in the server when the mux outbuf was full. Avery Pennarun 2010-05-02 06:17:43 -0400
  • 6c2dc54b9e More latency fixes: use a PING/PONG pair to limit queue length. Avery Pennarun 2010-05-02 05:39:17 -0400
  • 5d1390927d Don't overfill the mux's output buffer. Avery Pennarun 2010-05-02 05:06:51 -0400
  • da06286427 ssnet: when a connection error occurs, stop trying to connect. Avery Pennarun 2010-05-02 03:52:46 -0400
  • 616d0680d1 Add a README file based on my blog entry. Avery Pennarun 2010-05-02 03:42:59 -0400
  • 9b23fd2c01 Do non-blocking connect(). sshuttle-0.10 Avery Pennarun 2010-05-02 02:43:10 -0400
  • 81c89ce9be Don't bother with a backtrace when we produce certain fatal errors. Avery Pennarun 2010-05-02 02:23:42 -0400
  • 2dd328ada4 Add a -v (and -vv) flag and decrease default message verbosity. Avery Pennarun 2010-05-02 02:14:20 -0400
  • a244b325cb iptables: add a PREROUTING rule so we can proxy for other machines too. Avery Pennarun 2010-05-02 02:00:19 -0400
  • 10069f99e2 Clean up SockWrapper.peername stuff. Avery Pennarun 2010-05-02 01:52:05 -0400
  • ea12048418 ssh.py: use 'exec sshuttle' to get rid of the extra sh process. Avery Pennarun 2010-05-02 01:30:40 -0400
  • bfd506dcdc Improve some debugging information to find the weird data problem. Avery Pennarun 2010-05-02 01:18:55 -0400
  • 915a96b0ec We now have a server that works... some of the time. Avery Pennarun 2010-05-02 00:52:06 -0400
  • d435c41bdb stdin and stdout have different fds, so make SockWrapper take *two* socks. Avery Pennarun 2010-05-01 23:32:30 -0400
  • 5f0bfb5d9e Basic implementation of a multiplex protocol - client side only. Avery Pennarun 2010-05-01 23:14:42 -0400
  • 9f514d7a15 Smarter listenport selection. Avery Pennarun 2010-05-01 21:50:43 -0400
  • ad459e2918 iptables.py: completely replace ipt script. Avery Pennarun 2010-05-01 21:30:59 -0400
  • 8278dcfb5d Parse options correctly; call ./ipt automatically. Avery Pennarun 2010-05-01 21:14:19 -0400
  • 550048370e Move some code that'll be useful for the server into ssnet.py. Avery Pennarun 2010-05-01 20:45:59 -0400
  • 3766d4d506 Don't "import * from socket". Avery Pennarun 2010-05-01 20:26:16 -0400
  • 651b945299 Prevent loopbacks caused by telnetting to the transproxy port directly. Avery Pennarun 2010-05-01 20:20:54 -0400
  • dc643ccdc4 Clean up log messages slightly. Avery Pennarun 2010-05-01 20:14:17 -0400
  • 72ed385b7f Really basic transproxying on localhost. Avery Pennarun 2010-05-01 20:03:50 -0400
  • a818105dfe client now listens on a socket and gets SO_ORIGINAL_DST correctly. Avery Pennarun 2010-05-01 18:03:45 -0400
  • f84b87d7eb ipt: example script for how to set up an iptables transproxy. Avery Pennarun 2010-05-01 17:15:18 -0400
  • 2f3c86e962 Initial commit. Avery Pennarun 2010-05-01 16:15:37 -0400