12 Commits

Author SHA1 Message Date
Chen Yufei
193b483da2 Support multiple sshServer options. 2013-06-05 19:46:07 +08:00
Chen Yufei
a9b07db0f1 Add httpParent option. Try parent connection in the order specified in config. 2013-02-07 13:56:13 +08:00
Chen Yufei
815ac9b613 Allow specify configuration file on command line.
Config now becomes a type, to make reflection possible, all fields are
exported now. So this commit touches almost all source files.
2012-12-17 16:55:52 +08:00
Chen Yufei
e98ff56e6d Allow specifying ssh server port. 2012-12-09 21:17:20 +08:00
Chen Yufei
d851f0d0f6 Print error message if given ssh server but no socks address. 2012-12-07 15:15:48 +08:00
Chen Yufei
9050779f6c Retry request for HTTP CONNECT. 2012-11-30 00:24:36 +08:00
Chen Yufei
2c9bf58a06 Use debug output for ssh exit message. 2012-11-23 00:22:34 +08:00
Chen Yufei
b7d447f7cb Use debug output for ssh error message. 2012-11-22 00:44:27 +08:00
Chen Yufei
596d9b6998 ssh socks server liveness checking.
Check if it's running before starting new one.
2012-11-21 13:37:51 +08:00
Chen Yufei
48bbea56ec Write output to ~/.cow/log by default. 2012-11-15 15:40:15 +08:00
Chen Yufei
7289d2dbc4 Fix bug in restarting ssh. 2012-11-07 15:16:25 +08:00
Chen Yufei
e1cf1eb0f6 Run ssh command to start socks server. 2012-11-06 22:12:13 +08:00