111acf66c1
fix graceful restart and add unit test
2015-08-02 14:37:44 +08:00
e8b2946999
fix workers
2015-08-01 19:09:29 +08:00
80102f3899
fix pyflakes
2015-08-01 18:57:44 +08:00
4a8d0774b4
optimize performance for multiple ports
...
UDPRelay is broken now
2015-08-01 18:53:18 +08:00
13a6bb007c
cache DNS results in UDPRelay
2015-07-10 17:39:24 +08:00
99b4121fd9
fix problem when UDP client requesting both IPv4 and IPv6
2015-07-10 17:32:31 +08:00
c34c99450f
fix UDP source port issue
2015-07-10 16:58:04 +08:00
d774286dc0
rename utils module into shell
...
Since utils is ambiguous, we want to give the module a more
clear role.
2015-02-10 17:26:10 +08:00
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.
2015-02-10 17:21:29 +08:00
783a6ef7f2
support multiple server ip on client side
2015-02-09 13:50:46 +08:00
ce805f0aea
license under Apache License v2.0
2015-02-03 14:10:36 +08:00
53a7e4d0e4
remove print
2015-01-12 23:21:16 +08:00
f7316c0047
change logging level for UDP warning
2015-01-12 23:08:27 +08:00
4312eb9e58
add forbidden support for UDP and add tests
2015-01-12 23:02:59 +08:00
a502dd32fc
fix UDP
2014-10-31 21:49:22 +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
380a646f09
handle signal soon; #179
2014-09-12 22:18:08 +08:00
327c70e353
Graceful shutdown; close #179
2014-09-12 00:51:25 +08:00
a323f878e1
prefer addrtype 1 and 4 over 3 in UDP relay
2014-07-12 10:32:51 +08:00
040c956472
fix server-multi-ports
2014-07-11 18:40:18 +08:00
122f233143
fix udprelay for local
2014-07-11 18:00:58 +08:00
46d23bf0d4
more log
2014-06-19 09:20:04 +08:00
71c3759c12
add async dns
2014-06-08 15:58:59 +08:00
0c8a8ef23f
refine loop
2014-06-01 19:09:52 +08:00
47fd479d6e
almost done
2014-06-01 14:10:18 +08:00
c2f6bc369c
more work
2014-06-01 11:01:11 +08:00
0d6c39900b
more work
2014-05-30 23:55:33 +08:00
4f46400145
add ssloop branch
2014-05-30 16:28:44 +08:00
ea451344ff
fix workers
2014-05-24 19:16:21 +08:00
3f523ee942
fix workers
2014-05-17 13:42:26 +08:00
b8f9370426
fix close
2014-05-01 11:21:05 +08:00
7e70fe290a
fix local
2014-04-24 15:07:18 +08:00
e6a225513e
fix remove()
2014-04-24 12:34:31 +08:00
6834178a89
add LRUCache
2014-04-24 01:36:22 +08:00
9ffb0320bb
move connect to a proper place
2014-04-24 00:15:18 +08:00
6e50890f4f
add connect
2014-04-24 00:10:45 +08:00
10c73e555a
fix a typo
2014-04-23 22:51:45 +08:00
1ed149a46a
udp server works
2014-04-23 22:44:10 +08:00
43b5d6c63a
lint code
2014-04-23 19:51:46 +08:00
10358ffebd
add checkout for header
2014-04-23 19:30:06 +08:00
0f23b58656
implement udp relay
2014-04-23 19:24:53 +08:00
e5149d0ed9
impl
2014-04-23 17:57:09 +08:00
6e7e689a24
add event loop
2014-04-23 17:12:07 +08:00
d940951b93
add udprelay
2014-04-23 16:31:17 +08:00