Commit Graph

244 Commits

Author SHA1 Message Date
0719e80fbd fix python 3.* 2014-10-31 22:08:51 +08:00
efd45ddfc6 fix UDP server 2014-10-31 21:59:22 +08:00
4699de1dd9 fix python 3.2 2014-10-31 21:53:53 +08:00
a502dd32fc fix UDP 2014-10-31 21:49:22 +08:00
5024b300f1 fix rc4-md5 2014-10-31 19:21:13 +08:00
be045f1687 fix import 2014-10-31 19:10:29 +08:00
497524b313 drop table on Python 3 2014-10-31 19:08:00 +08:00
05ba3cc5aa lint code 2014-10-31 18:57:06 +08:00
ede2b1b120 fix salsa20 on python 3 2014-10-31 18:56:24 +08:00
f0b0c1edfa update python requirement 2014-10-31 18:45:21 +08:00
0fd2f30911 lint code 2014-10-31 18:43:15 +08:00
2a53b67c65 python 3 support; not stable yet 2014-10-31 18:28:22 +08:00
0814888ba5 use absolute import 2014-10-31 16:29:19 +08:00
89dc6031e8 lint code 2014-10-31 16:14:28 +08:00
c553e7a725 lint code 2014-10-31 16:10:41 +08:00
ac94104ac0 use deque instead of heapq 2014-10-31 15:49:24 +08:00
da11d02706 fix memory leak 2014-10-31 15:14:28 +08:00
2461f623dd change lru behaviour; #202 2014-10-31 14:33:43 +08:00
9e8aa1c56a fix libcrypto on Windows 2014-10-11 00:38:19 +08:00
eb9b6f0a9b does not require M2Crypto anymore 2014-10-08 21:03:01 +08:00
dfd4cdd758 avoid memory leak
Although fd is always the smallest number which haven't been allocated, which means memory leak is quite small. but the worst situation may consume lots of memory.
2014-09-25 20:18:02 +08:00
dda8f31bd3 fix PEP8 2014-09-20 20:21:09 +08:00
c668ddbc1b fix multiple ports 2014-09-20 19:57:55 +08:00
f677c8152d close #185 2014-09-20 19:11:33 +08:00
ab74c010fd close #183 2014-09-20 19:01:52 +08:00
81223902d0 fix a potential BOF 2014-09-19 01:07:10 +08:00
4be2731293 fix PEP8 2014-09-17 14:15:24 +08:00
f6951c9633 fix m2 2014-09-17 13:54:33 +08:00
d6a5c567ae lint 2014-09-17 13:52:28 +08:00
402bc5743b add comment about buf 2014-09-17 00:11:50 +08:00
0e649453ed support CTR mode 2014-09-16 23:55:50 +08:00
2122f96aeb lint code 2014-09-16 11:03:36 +08:00
76fed23b34 refactor encrypt; add cfb1 and cfb8 modes 2014-09-16 10:58:45 +08:00
5aece6f464 remove test in asyncdns 2014-09-14 10:17:45 +08:00
e72594ffbe only end querying when response is of query type AAAA 2014-09-14 10:16:40 +08:00
3ce7c18dfb close #180 2014-09-14 10:06:16 +08:00
21f61c7d91 avoid removing items of the handler list while iterating over it; #179 2014-09-13 00:02:21 +08:00
2a61e80071 only output exception in verbose mode 2014-09-12 23:06:18 +08:00
ea70a5bd79 exit 1 on error; #179 2014-09-12 22:20:33 +08:00
380a646f09 handle signal soon; #179 2014-09-12 22:18:08 +08:00
e43520da58 log when closing port 2014-09-12 20:59:47 +08:00
fdb3a36170 implement graceful shutdown in sslocal; close #179 2014-09-12 20:47:04 +08:00
a6b8a5eef9 add some debug logs 2014-09-12 00:53:12 +08:00
327c70e353 Graceful shutdown; close #179 2014-09-12 00:51:25 +08:00
3e3c885a42 remove print 2014-09-09 16:18:39 +08:00
1044358a6b use md5 instead of sha256; #178 2014-09-09 16:17:33 +08:00
c9b489b5e3 fix UDP 2014-09-09 14:43:32 +08:00
1b4e885818 add rc4-sha256; close #178 2014-09-09 14:26:34 +08:00
972bf22e6d fix PEP8 2014-08-27 00:17:26 +08:00
e51aa4f137 use only ipv4 dns server 2014-08-10 12:23:44 +08:00