clowwindy
082c8a80f4
fix duplicated close in LRUCache
close #324
10 years ago
clowwindy
893d21da76
Merge pull request #332 from sky-chen/master
flush autoban output
10 years ago
sky
ea7a3e1b58
flush autoban output
10 years ago
clowwindy
e898f92191
Merge pull request #295 from jlund/no-rc4
Use AES in the Usage example instead of RC4.
10 years ago
clowwindy
5c0391d146
Merge pull request #312 from kimw/patch-1
remove duplicated line (refer line 221)
10 years ago
Kim Wong
e17279e5bf
remove duplicated line (refer line 221)
10 years ago
clowwindy
f17da943b3
Merge pull request #305 from lazybios/patch
remove duplicate code from shell.py
10 years ago
lazybios
d3831bef8c
remove duplicate code from shell.py
10 years ago
Joshua Lund
b6e6e14b8a
Use AES in the Usage example instead of RC4.
10 years ago
clowwindy
4172639d48
Update README.md
10 years ago
clowwindy
e8488895f0
Merge pull request #291 from felixonmars/py3-remote-address
convert remote_address to str so it will be printed more correctly on python 3
10 years ago
Felix Yan
edb7822a7b
convert remote_address to str so it will be printed more correctly on python 3
10 years ago
clowwindy
294556f8bc
bump 2.6.9
10 years ago
clowwindy
1b7ab23f78
release 2.6.8
10 years ago
clowwindy
0e14f3bbef
fix travis
10 years ago
clowwindy
42ce2569c4
also test with real website
Now that localhost is used in tests, DNS code is uncovered.
Use clients1.google.com/generate_204 to test if a real website works.
10 years ago
clowwindy
581d6e687f
use localhost in test.py
Since now the unit tests is huge, using third party website
is not polite. So use localhost instead.
10 years ago
clowwindy
d774286dc0
rename utils module into shell
Since utils is ambiguous, we want to give the module a more
clear role.
10 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.
10 years ago
clowwindy
48ddc1714b
move jenkins.sh
10 years ago
clowwindy
dfd81af844
support --version
10 years ago
clowwindy
783a6ef7f2
support multiple server ip on client side
10 years ago
clowwindy
e71ce6c758
fix server check
10 years ago
clowwindy
e564f17505
fix bytes in utils
10 years ago
clowwindy
6d09cd21ca
fix openssl
10 years ago
clowwindy
318d88ec89
use string more
10 years ago
clowwindy
ce805f0aea
license under Apache License v2.0
10 years ago
clowwindy
96a86c028d
update CHANGES
10 years ago
clowwindy
2c59ffb952
update rst
10 years ago
clowwindy
27a0c7754d
bump
10 years ago
clowwindy
0cd261dd10
catch KeyError
10 years ago
clowwindy
fbf15cb942
update command tests
10 years ago
clowwindy
1c81465436
fix command line
10 years ago
clowwindy
73f21ffbf6
do not check config for daemon stop
10 years ago
clowwindy
7aa37cad8e
check cipher before daemon start
fix #280
10 years ago
clowwindy
ae99698b4e
implement --user
fix @278
10 years ago
clowwindy
da65d0a2ee
update coverage_server
10 years ago
clowwindy
3b7755bd5e
fix a travis issue
10 years ago
clowwindy
5a7225c54b
fix a problem in test arguments
10 years ago
clowwindy
4aba904d6e
fix typo
10 years ago
clowwindy
b77f419336
test if localhost is in the default forbidden list
10 years ago
clowwindy
c39bbbe237
test invalid CIDR
10 years ago
clowwindy
453a9c61a6
show CIDR error more friendly
10 years ago
clowwindy
54181ef821
Merge pull request #279 from planetmeow/develop/CIDRForbidden
Implement CIDR forbidden blacklist
10 years ago
Sunny
17624d0b99
Fix large file test since forbidden ip list is default to localhost
Use an empty forbidden ip list to override default list should work.
10 years ago
Sunny
a0aa9173a8
Fix for Python3 map changed behavior
In Python3, map returns an iterator instead of list in Python2,
which cause map "lazier" than before, wrap with list() force it running.
10 years ago
Sunny
79b9b53dbe
Never process empty string and prevent infinite loop
If user provide an empty string as network range, inet_pton will
treate it as an IPv6 unspecified address, it seems a bug but I
can't confirm. Then empty string will be converted to 0, 0 & 1
always be zero, so it caused dead loop.
10 years ago
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.
10 years ago
Sunny
b11d848986
Fix for Python3 lambda behavior change
In Python3, lambda no longer support use tuple as syntax.
So, ugly changes is inevitable.
10 years ago
Sunny
aa28796524
Make common fit PEP8
10 years ago