clowwindy
cb7062e1c1
implement utils.print_exception()
...
Previously we used logging.error(e) and traceback.print_exc()
to output error stack trace. The problem is, we want to
output the stack trace only when verbose > 0. The if statement
scattered around the code. So we replaced them with the new
utils.print_exception() call.
2015-02-10 17:21:29 +08:00
clowwindy
dfd81af844
support --version
2015-02-09 14:43:11 +08:00
clowwindy
e71ce6c758
fix server check
2015-02-03 18:45:36 +08:00
clowwindy
e564f17505
fix bytes in utils
2015-02-03 18:23:22 +08:00
clowwindy
318d88ec89
use string more
2015-02-03 18:09:07 +08:00
clowwindy
ce805f0aea
license under Apache License v2.0
2015-02-03 14:10:36 +08:00
clowwindy
1c81465436
fix command line
2015-02-02 15:57:44 +08:00
clowwindy
73f21ffbf6
do not check config for daemon stop
2015-02-02 15:50:41 +08:00
clowwindy
7aa37cad8e
check cipher before daemon start
...
fix #280
2015-02-02 15:46:22 +08:00
clowwindy
ae99698b4e
implement --user
...
fix @278
2015-02-02 15:38:55 +08:00
clowwindy
453a9c61a6
show CIDR error more friendly
2015-02-01 09:09:35 +08:00
Sunny
070108f78b
Disable forbidden ip feature for local shadowsocks
...
Since forbidden ip is server-side only, disable it for local-side.
This commit also supress warning about IPv6 loopback because I can
confirm ::1/128 is the only loopback address, not like IPv4.
2015-02-01 01:34:23 +08:00
Sunny
8af359ae05
Use IPNetwork supporting forbidden ip feature in config utils
...
This commit also make "forbidden_ip" field available in config file.
If no forbidden ip specified in command line and config file,
default to "127.0.0.0/8,::1".
2015-01-31 22:56:23 +08:00
clowwindy
eb94bd1cc3
support forbidden iplist
2015-01-12 22:30:03 +08:00
peter
8b2deb01d8
Set default method as bytes.
...
Default method as string may cause false error report.
2015-01-08 11:22:34 +08:00
clowwindy
0bc0117cd7
update help url
2015-01-04 23:55:50 +08:00
clowwindy
30f4f78557
fix travis
2014-12-24 18:23:35 +08:00
clowwindy
134497c24f
implement daemon
2014-12-21 12:47:07 +08:00
clowwindy
b5010df575
fix args on Python 3
2014-11-06 13:08:40 +08:00
clowwindy
cbf8c6705b
refactor table into a single cipher plugin
2014-11-05 18:27:18 +08:00
clowwindy
50e5e620a3
fix version detection
2014-10-31 22:27:12 +08:00
clowwindy
aff411a456
seems that dependency requires 3.3+
2014-10-31 22:16:44 +08:00
clowwindy
0719e80fbd
fix python 3.*
2014-10-31 22:08:51 +08:00
clowwindy
4699de1dd9
fix python 3.2
2014-10-31 21:53:53 +08:00
clowwindy
f0b0c1edfa
update python requirement
2014-10-31 18:45:21 +08:00
clowwindy
2a53b67c65
python 3 support; not stable yet
2014-10-31 18:28:22 +08:00
clowwindy
c668ddbc1b
fix multiple ports
2014-09-20 19:57:55 +08:00
clowwindy
ab74c010fd
close #183
2014-09-20 19:01:52 +08:00
clowwindy
327c70e353
Graceful shutdown; close #179
2014-09-12 00:51:25 +08:00
clowwindy
972bf22e6d
fix PEP8
2014-08-27 00:17:26 +08:00
clowwindy
ca6f72e22b
better error msg
2014-08-01 17:21:43 +08:00
clowwindy
72fe18212e
add quiet mode; close #164
2014-07-26 17:52:42 +08:00
clowwindy
da842918bd
close #158
2014-07-23 14:33:55 +08:00
clowwindy
b0c8e50492
fix #145
2014-07-04 22:25:27 +03:00
clowwindy
61d9e17cae
remove print
2014-06-22 19:50:34 +08:00
clowwindy
41010d810e
support -vv verbose logging
2014-06-20 21:06:15 +08:00
clowwindy
d3f294217c
close #121
2014-06-05 19:47:03 +08:00
clowwindy
8aae1f07ca
warn table encryption
2014-06-03 23:44:49 +08:00
clowwindy
c5bcb9a050
add timeout support
2014-06-02 17:01:35 +08:00
clowwindy
77f74a0668
fix python version check
2014-06-01 17:29:18 +08:00
clowwindy
20ba04c4ce
fix tests
2014-06-01 17:24:10 +08:00
clowwindy
fd35f1d067
fix server
2014-06-01 17:18:02 +08:00
clowwindy
c721a1c02f
local works
2014-06-01 15:58:37 +08:00
clowwindy
3cefe374c2
socket.SO_REUSEADDR
2014-06-01 14:53:06 +08:00
clowwindy
5e9a9c9beb
almost done
2014-06-01 14:20:40 +08:00
clowwindy
cd22d474fe
almost done
2014-06-01 14:11:38 +08:00
clowwindy
47fd479d6e
almost done
2014-06-01 14:10:18 +08:00
clowwindy
c2f6bc369c
more work
2014-06-01 11:01:11 +08:00
clowwindy
6e5a753d41
add timeout in TCP server
2014-05-22 12:01:13 +08:00
clowwindy
df7614f26c
support workers
2014-05-17 12:44:12 +08:00