BreakWa11
1ee344220a
merge manyuser 2.6.13
9 years ago
BreakWa11
a681a72b16
a stupid bug
9 years ago
breakwa11
7df3152608
merge manyuser
9 years ago
mengskysama
3db5a4918f
发现好多坑
233
9 years ago
mengskysama
b059b9ad85
memory leak
9 years ago
mengskysama
418cadb945
Update lru_cache.py
9 years ago
breakwa11
1bc0e60cfd
merge manyuser branch
9 years ago
breakwa11
3200b7d4fe
merge manyuser branch
9 years ago
breakwa11
8f402277e6
merge manyuser branch
9 years ago
breakwa11
a37623b0b7
log TCP header if parse error
9 years ago
breakwa11
5b6dec5940
merge manyuser branch
9 years ago
breakwa11
a38db829f2
new UDP over TCP protocol, merge master
10 years ago
breakwa11
d475076cdc
listen ipv6
10 years ago
clowwindy
13a6bb007c
cache DNS results in UDPRelay
10 years ago
clowwindy
99b4121fd9
fix problem when UDP client requesting both IPv4 and IPv6
10 years ago
clowwindy
c34c99450f
fix UDP source port issue
10 years ago
breakwa11
7c3e047449
merge manyuser branch
10 years ago
breakwa11
1b0504ade2
merge manyuser branch
10 years ago
breakwa11
e5b4a804e9
double UDP sockets for IPv4 and IPv6
10 years ago
breakwa11
3d1563ecac
fix udp ipv6
10 years ago
breakwa11
c549929dfb
fix udp ipv6
10 years ago
breakwa11
d065dba34f
merge manyuser
udp ipv6 bug fix
10 years ago
breakwa11
f16749962a
drop UDP message if frag != 0
10 years ago
breakwa11
62dca9d3cd
udp over tcp
10 years ago
clowwindy
e74ae193d0
elaborate reasons of header parsing failure
10 years ago
clowwindy
16db66675b
optimize LRUCache
10 years ago
clowwindy
082c8a80f4
fix duplicated close in LRUCache
close #324
10 years ago
Kim Wong
e17279e5bf
remove duplicated line (refer line 221)
10 years ago
lazybios
d3831bef8c
remove duplicate code from shell.py
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
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
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
0cd261dd10
catch KeyError
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
453a9c61a6
show CIDR error more friendly
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