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
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".
10 years ago
clowwindy
eb94bd1cc3
support forbidden iplist
10 years ago
peter
8b2deb01d8
Set default method as bytes.
Default method as string may cause false error report.
10 years ago
clowwindy
0bc0117cd7
update help url
10 years ago
clowwindy
30f4f78557
fix travis
10 years ago
clowwindy
134497c24f
implement daemon
10 years ago
clowwindy
b5010df575
fix args on Python 3
10 years ago
clowwindy
cbf8c6705b
refactor table into a single cipher plugin
10 years ago
clowwindy
50e5e620a3
fix version detection
10 years ago
clowwindy
aff411a456
seems that dependency requires 3.3+
10 years ago
clowwindy
0719e80fbd
fix python 3.*
10 years ago
clowwindy
4699de1dd9
fix python 3.2
10 years ago
clowwindy
f0b0c1edfa
update python requirement
10 years ago
clowwindy
2a53b67c65
python 3 support; not stable yet
10 years ago
clowwindy
c668ddbc1b
fix multiple ports
10 years ago
clowwindy
ab74c010fd
close #183
10 years ago
clowwindy
327c70e353
Graceful shutdown; close #179
10 years ago
clowwindy
972bf22e6d
fix PEP8
10 years ago
clowwindy
ca6f72e22b
better error msg
11 years ago
clowwindy
72fe18212e
add quiet mode; close #164
11 years ago
clowwindy
da842918bd
close #158
11 years ago
clowwindy
b0c8e50492
fix #145
11 years ago
clowwindy
61d9e17cae
remove print
11 years ago
clowwindy
41010d810e
support -vv verbose logging
11 years ago
clowwindy
d3f294217c
close #121
11 years ago
clowwindy
8aae1f07ca
warn table encryption
11 years ago
clowwindy
c5bcb9a050
add timeout support
11 years ago
clowwindy
77f74a0668
fix python version check
11 years ago
clowwindy
20ba04c4ce
fix tests
11 years ago
clowwindy
fd35f1d067
fix server
11 years ago
clowwindy
c721a1c02f
local works
11 years ago
clowwindy
3cefe374c2
socket.SO_REUSEADDR
11 years ago
clowwindy
5e9a9c9beb
almost done
11 years ago
clowwindy
cd22d474fe
almost done
11 years ago
clowwindy
47fd479d6e
almost done
11 years ago
clowwindy
c2f6bc369c
more work
11 years ago
clowwindy
6e5a753d41
add timeout in TCP server
11 years ago
clowwindy
df7614f26c
support workers
11 years ago
clowwindy
eb8fccad79
fix Windows
11 years ago
clowwindy
04d4db1f0b
close #97
11 years ago
clowwindy
89a7508f26
lint code
11 years ago
clowwindy
2d3ecdeb4f
lint code
11 years ago
clowwindy
9d3e2d7177
update help
11 years ago
clowwindy
854d175245
fix a typo in help
11 years ago
clowwindy
ea663145e2
add help
11 years ago
clowwindy
29c4fd7de9
listen at server; show warnings
12 years ago
clowwindy
794ff240a6
move to pypi
12 years ago