Commit graph

1172 commits

Author SHA1 Message Date
BreakWa11
ddcf7f796f ignore error if not support "chacha20-ietf" 2015-12-22 11:22:46 +08:00
BreakWa11
3dec2377bb add "chacha20-ietf", libsodium version must be higher than 1.0.4, see https://github.com/jedisct1/libsodium/releases/ 2015-12-22 11:18:27 +08:00
BreakWa11
202f0f6142 disconnect if wrong handshake package 2015-12-21 18:43:47 +08:00
BreakWa11
80604a9421 fix auth_sha1
fix tls1.0_session_auth
2015-12-21 18:03:52 +08:00
BreakWa11
68a77ddc70 load 'user-config.json' first
set default obfs plugin 'tls1.0_session_auth_compatible'
2015-12-19 15:45:17 +08:00
BreakWa11
459b0c7004 add "redirect" in config.json 2015-12-19 12:46:47 +08:00
BreakWa11
0c4b00a8af fix LRUCache 2015-12-19 12:22:23 +08:00
BreakWa11
8fb3cc3394 fix tls1.0 protocol 2015-12-17 17:12:22 +08:00
BreakWa11
e889f953ff UDP server_transfer_dl += len(post_data) 2015-12-14 14:55:39 +08:00
BreakWa11
430b98c982 fix "tls1.0_session_auth_compatible" 2015-12-14 04:06:21 +08:00
BreakWa11
7300205add not check tls version 2015-12-14 03:59:08 +08:00
BreakWa11
443c4f35c2 fix IPv6 detect 2015-12-14 02:59:24 +08:00
BreakWa11
13579f1ca4 return after destory
fix "tls1.0_session_auth"
2015-12-14 02:32:24 +08:00
BreakWa11
aff97d4ce8 improve LRUCache
add "tls1.0_session_auth"
fix "auth_sha1" in local mode
refine log
2015-12-14 00:55:44 +08:00
BreakWa11
aa92a59405 improve tls_simple 2015-12-10 18:35:37 +08:00
BreakWa11
e61ab27e59 tls_simple bug fixed 2015-12-09 16:36:40 +08:00
BreakWa11
c83341da9b add protocol_param 2015-12-07 13:33:42 +08:00
BreakWa11
7f480248f8 Merge pull request #27 from falseen/manyuser-travis
fix travis
2015-12-04 21:24:08 +08:00
BreakWa11
96495e7dd9 add auth_sha1 2015-12-03 21:33:39 +08:00
BreakWa11
b5da4bc86a add MYSQL_TRANSFER_MUL
add protocol_param (for auth_simple)
2015-12-03 16:48:08 +08:00
BreakWa11
4894925cac add demo code in switchrule.py 2015-11-27 16:47:08 +08:00
BreakWa11
409f3b053d fix ipv6 check 2015-11-27 15:42:22 +08:00
BreakWa11
4b97412569 only correct request add into transfer size 2015-11-25 16:58:30 +08:00
BreakWa11
57433bccb9 fix transfer upload size calculation. avoid flow attack 2015-11-25 16:38:08 +08:00
BreakWa11
0504fb43cf fix a ipv6 bug in mysql mode 2015-11-19 22:21:59 +08:00
BreakWa11
3930cfc726 fix a bug 2015-11-17 17:49:04 +08:00
BreakWa11
84275b6815 UDP over TCP use 0x8 as flag 2015-11-17 17:39:18 +08:00
BreakWa11
19c84cac17 avoid conflict with OTA 2015-11-17 16:55:15 +08:00
BreakWa11
e513faae64 rename verify.py 2015-11-17 15:43:45 +08:00
BreakWa11
737b7d9890 add verify_sha1 (libev OTA) 2015-11-17 15:42:59 +08:00
BreakWa11
8826629741 fix http_simple calc 'head_size'
add 'iv', 'key', 'head_len' in server_info
2015-11-16 17:10:39 +08:00
BreakWa11
125c3e88fd random size from 0 2015-11-12 18:06:12 +08:00
BreakWa11
2a03747e76 pack header in uri 2015-11-12 17:59:21 +08:00
BreakWa11
b778a60502 detect wrong http request
disconnect wrong request by default
2015-11-12 17:48:50 +08:00
BreakWa11
f45d57950b default buffer setting 2015-11-11 22:45:09 +08:00
BreakWa11
b4d1d6b5f4 nginx http response 2015-11-11 10:23:21 +08:00
BreakWa11
877f0470c5 http_simple: fix no response in some case
verify_simple: check package size minimum 7 bytes
2015-11-08 23:35:04 +08:00
BreakWa11
04133d806c set default timeout 120 for many connections 2015-11-05 20:18:12 +08:00
BreakWa11
24a3769809 fix http_simple a bug of urlencode length 2015-11-05 19:25:19 +08:00
BreakWa11
5e46aa0b47 check encryptor object 2015-11-03 18:17:16 +08:00
BreakWa11
b606e19c0b fix default protocol setting 2015-11-02 19:42:45 +08:00
BreakWa11
bc419c4dc2 bump 2.6.13 2015-11-02 17:00:35 +08:00
BreakWa11
b713690521 multiple-port setting 2015-11-02 16:48:24 +08:00
BreakWa11
cb17c7b3b5 let setting & code simple
add "protocol" in config.json
2015-11-02 15:13:54 +08:00
Falseen
032027c3ff fix test_command
由于ssr在根目录中添加了config.json文件,导致相关的测试代码失效。所以暂时先移除。
2015-11-01 23:56:37 +08:00
Falseen
0f7a0c5628 fix chmod 2015-11-01 23:02:01 +08:00
Falseen
a96e2cbb63 fix READEME and travis url 2015-11-01 22:26:03 +08:00
Falseen
52391b9214 add test_udp_src 2015-11-01 22:00:25 +08:00
Falseen
60e86c27c4 add setup.py and remove __init__.py
根目录下的__init__.py会导致测试代码无法找到引用的包。
2015-11-01 21:38:27 +08:00
Falseen
208f1462c3 fix manger test again 2015-11-01 20:41:52 +08:00