htc
b276d52735
Add support for option 'prefer-ipv6'
11 years ago
jsy
569ca0d0a4
reverse config
11 years ago
李林哲
0c4f79284e
allow user to override system dnsserver with config.
...
config item:
dns_server list
eg:
dns_server:[8.8.8.8,8.8.4.4]
11 years ago
clowwindy
a2bc6e1945
fix #414
11 years ago
clowwindy
d20a07192c
allow manager to bind on unix socket
11 years ago
clowwindy
e08845d6f3
fix manager
11 years ago
clowwindy
956199efcd
add control manager
11 years ago
clowwindy
d774286dc0
rename utils module into shell
...
Since utils is ambiguous, we want to give the module a more
clear role.
12 years ago
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.
12 years ago
clowwindy
dfd81af844
support --version
12 years ago
clowwindy
ce805f0aea
license under Apache License v2.0
12 years ago
clowwindy
0cd261dd10
catch KeyError
12 years ago
clowwindy
7aa37cad8e
check cipher before daemon start
...
fix #280
12 years ago
clowwindy
ae99698b4e
implement --user
...
fix @278
12 years ago
clowwindy
be1d1d5032
add SIGINT in workers
12 years ago
clowwindy
536b7d1ee6
use SIGINT instead in tests
...
Conflicts:
tests/test.py
12 years ago
clowwindy
134497c24f
implement daemon
12 years ago
clowwindy
d42a32fbc0
master should wait for child to quit
12 years ago
clowwindy
710fe14190
rename test_cipher as it will break unit tests
12 years ago
clowwindy
cbf8c6705b
refactor table into a single cipher plugin
12 years ago
clowwindy
0fd2f30911
lint code
12 years ago
clowwindy
2a53b67c65
python 3 support; not stable yet
12 years ago
clowwindy
0814888ba5
use absolute import
12 years ago
clowwindy
dda8f31bd3
fix PEP8
12 years ago
clowwindy
f677c8152d
close #185
12 years ago
clowwindy
ab74c010fd
close #183
12 years ago
clowwindy
2a61e80071
only output exception in verbose mode
12 years ago
clowwindy
ea70a5bd79
exit 1 on error; #179
12 years ago
clowwindy
fdb3a36170
implement graceful shutdown in sslocal; close #179
12 years ago
clowwindy
327c70e353
Graceful shutdown; close #179
12 years ago
clowwindy
743d3cddb5
close #132
13 years ago
clowwindy
71c3759c12
add async dns
13 years ago
clowwindy
816592b674
add more log
13 years ago
clowwindy
0c8a8ef23f
refine loop
13 years ago
clowwindy
5e19fdc66b
refine exiting
13 years ago
clowwindy
7a1647278f
fix multiple servers
13 years ago
clowwindy
2672a6378e
fix ctrl C
13 years ago
clowwindy
fd35f1d067
fix server
13 years ago
clowwindy
5e9a9c9beb
almost done
13 years ago
clowwindy
47fd479d6e
almost done
13 years ago
clowwindy
c2f6bc369c
more work
13 years ago
clowwindy
2cdddd4515
update config
13 years ago
clowwindy
4f46400145
add ssloop branch
13 years ago
clowwindy
ea451344ff
fix workers
13 years ago
clowwindy
6e5a753d41
add timeout in TCP server
13 years ago
clowwindy
428de3cf42
signal children
13 years ago
clowwindy
8f19fe278c
fix workers
13 years ago
clowwindy
3f523ee942
fix workers
13 years ago
clowwindy
df7614f26c
support workers
13 years ago
clowwindy
6caeabd03d
fix a potential RST problem
13 years ago