Commit graph

593 commits

Author SHA1 Message Date
clowwindy
fa31a233b6 add ipv6 tests 2014-11-10 15:04:30 +08:00
clowwindy
e476a54658 Merge pull request #214 from wb14123/py3-str
fix str/byte issue in python 3
2014-11-10 11:30:23 +08:00
Bin Wang
f43906006a fix str/byte issue in python 3 2014-11-10 10:37:37 +08:00
clowwindy
ea535c74b2 bump 2014-11-06 14:52:53 +08:00
clowwindy
143750f699 update README.rst 2014-11-06 14:52:15 +08:00
clowwindy
a8996b812b update CHANGES 2014-11-06 14:50:19 +08:00
clowwindy
70dae91e7c add tests for common.py 2014-11-06 14:04:28 +08:00
clowwindy
b5010df575 fix args on Python 3 2014-11-06 13:08:40 +08:00
clowwindy
4e3c055406 lint code 2014-11-06 12:58:14 +08:00
clowwindy
a88d47883b add tests for command line args 2014-11-06 12:56:00 +08:00
clowwindy
6bbf347d0e Merge branch 'master' of https://github.com/jinliu/shadowsocks into jinliu-master 2014-11-05 18:48:49 +08:00
clowwindy
5209860db1 fix cipher name in test 2014-11-05 18:42:01 +08:00
clowwindy
f9ba6f7390 fix table test 2014-11-05 18:40:51 +08:00
clowwindy
710fe14190 rename test_cipher as it will break unit tests 2014-11-05 18:32:01 +08:00
clowwindy
039451bcfb fix encrypt_all 2014-11-05 18:30:18 +08:00
clowwindy
cbf8c6705b refactor table into a single cipher plugin 2014-11-05 18:27:18 +08:00
clowwindy
2519fb9abe Merge pull request #208 from felixonmars/table-py3
encrypt.py: port table to support python 3 (recreated)
2014-11-05 17:15:43 +08:00
Felix Yan
aca86f8685 encrypt.py: port table to support python 3 2014-11-05 16:54:51 +08:00
刘缙
fb27cf52a9 Fix str/byte related TypeError in Python 3.4
Traceback (most recent call last):
File "/usr/bin/sslocal", line 9, in <module>
load_entry_point('shadowsocks==2.4', 'console_scripts', 'sslocal')()
File "/usr/lib/python3.4/site-packages/shadowsocks/local.py", line 68, in main
loop.run()
File "/usr/lib/python3.4/site-packages/shadowsocks/eventloop.py", line 230, in run
handler(events)
File "/usr/lib/python3.4/site-packages/shadowsocks/tcprelay.py", line 630, in _handle_events
handler.handle_event(sock, event)
File "/usr/lib/python3.4/site-packages/shadowsocks/tcprelay.py", line 458, in handle_event
self._on_local_read()
File "/usr/lib/python3.4/site-packages/shadowsocks/tcprelay.py", line 377, in _on_local_read
self._handle_stage_reply(data)
File "/usr/lib/python3.4/site-packages/shadowsocks/tcprelay.py", line 212, in _handle_stage_reply
s = remote_sock.sendto(data, MSG_FASTOPEN, self._chosen_server)
TypeError: 'str' does not support the buffer interface
2014-11-05 11:04:40 +08:00
clowwindy
7ac8434983 Update README.md 2014-11-03 18:14:25 +08:00
clowwindy
f02e9a3132 fix EVP_CIPHER_CTX_new's arg types 2014-11-02 17:13:56 +08:00
clowwindy
9fe3cf17d5 just start curl, don't wait 2014-11-02 01:33:31 +08:00
clowwindy
22b87f6f16 Merge pull request #205 from felixonmars/py3-logging
tcprelay.py: decode remote_addr to fix extra b'' in logging on python 3
2014-11-02 00:47:55 +08:00
Felix Yan
d971cb44a8 tcprelay.py: wrap long line for PEP8 2014-11-02 00:41:29 +08:00
Felix Yan
833c98e114 tcprelay.py: decode remote_addr to fix extra b'' in logging on python 3 2014-11-02 00:23:44 +08:00
clowwindy
4e08344035 bump 2014-11-02 00:10:06 +08:00
clowwindy
5892789005 refine tests: add time limit for curl; output shadowsocks logs 2014-11-01 23:52:28 +08:00
clowwindy
d64450915b Merge pull request #203 from felixonmars/setup-py3-fix
setup.py: use codecs.open() so it works for non-utf8 locales
2014-11-01 23:24:44 +08:00
Felix Yan
e6306f7b32 setup.py: use codecs.open() so it works for non-utf8 locales 2014-11-01 22:48:22 +08:00
clowwindy
90dc03c762 prefer ctypes over m2crypto in rc4-md5 2014-11-01 13:52:16 +08:00
clowwindy
4affb56d36 fix test 2014-11-01 13:24:40 +08:00
clowwindy
13c6c393db fix pyflakes 2014-11-01 13:10:19 +08:00
clowwindy
82ddafafa5 skip m2crypto tests on pypy 2014-11-01 13:03:13 +08:00
clowwindy
1205b8c50e skip m2crypto tests on Python 3 2014-11-01 12:52:51 +08:00
clowwindy
812a286f12 lint code 2014-11-01 12:44:22 +08:00
clowwindy
7bff002202 more cipher tests 2014-11-01 12:40:06 +08:00
clowwindy
c69a127772 add some tests 2014-11-01 12:25:44 +08:00
clowwindy
099323e28e update CHANGES 2014-11-01 12:03:38 +08:00
clowwindy
50e5e620a3 fix version detection 2014-10-31 22:27:12 +08:00
clowwindy
aff411a456 seems that dependency requires 3.3+ 2014-10-31 22:16:44 +08:00
clowwindy
0719e80fbd fix python 3.* 2014-10-31 22:08:51 +08:00
clowwindy
efd45ddfc6 fix UDP server 2014-10-31 21:59:22 +08:00
clowwindy
4699de1dd9 fix python 3.2 2014-10-31 21:53:53 +08:00
clowwindy
a502dd32fc fix UDP 2014-10-31 21:49:22 +08:00
clowwindy
5024b300f1 fix rc4-md5 2014-10-31 19:21:13 +08:00
clowwindy
be045f1687 fix import 2014-10-31 19:10:29 +08:00
clowwindy
497524b313 drop table on Python 3 2014-10-31 19:08:00 +08:00
clowwindy
05ba3cc5aa lint code 2014-10-31 18:57:06 +08:00
clowwindy
ede2b1b120 fix salsa20 on python 3 2014-10-31 18:56:24 +08:00
clowwindy
753e46654d bump 2014-10-31 18:46:45 +08:00