BreakWa11
14edb58281
DNS VALID_HOSTNAME add underline
9 years ago
BreakWa11
443c4f35c2
fix IPv6 detect
9 years ago
BreakWa11
409f3b053d
fix ipv6 check
9 years ago
Falseen
fcc7a4cf9b
remove os.chdir(file_path)
os.chdir(file_path) 会导致测试代码无法找到引用的包,暂时先移除。
9 years ago
BreakWa11
e6d7a12afe
fix bugs
dns working in both v4 & v6
connecting problem in windows
9 years ago
BreakWa11
b31a8ea3f3
auto get realpath
9 years ago
BreakWa11
c8423e360d
DNS request ipv6 first
9 years ago
breakwa11
a9ea55c396
new UDP over TCP protocol, merge master
9 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
ce805f0aea
license under Apache License v2.0
10 years ago
Sunny
8783e0e9ae
Move is_ip from asyncdns to common
Since implement CIDR forbidden need this function,
move it to common file seems to be a better choice.
10 years ago
clowwindy
6efb3d00e4
fix #264
10 years ago
clowwindy
134bf332a4
remove domain not existed test(causing time out)
10 years ago
clowwindy
030cdbcec0
add asyncdns test
10 years ago
clowwindy
2a53b67c65
python 3 support; not stable yet
10 years ago
clowwindy
0814888ba5
use absolute import
10 years ago
clowwindy
5aece6f464
remove test in asyncdns
10 years ago
clowwindy
e72594ffbe
only end querying when response is of query type AAAA
10 years ago
clowwindy
3ce7c18dfb
close #180
10 years ago
clowwindy
327c70e353
Graceful shutdown; close #179
10 years ago
clowwindy
972bf22e6d
fix PEP8
10 years ago
clowwindy
e51aa4f137
use only ipv4 dns server
10 years ago
clowwindy
012ab70500
use multiple DNS instead of trying each one
11 years ago
clowwindy
d4458bceb7
add timeout support in DNS
11 years ago
clowwindy
f9fef0e229
add TypeError
11 years ago
clowwindy
4b3c018aa9
verify hostname
11 years ago
clowwindy
a109f571e3
fix worker master
11 years ago
clowwindy
df836bed77
fix DNS record parsing
11 years ago
clowwindy
2306add1df
split parse_header()
11 years ago
clowwindy
24eadfbb5f
send again even if in queue
11 years ago
clowwindy
bcdc1e9671
add async dns to tcp relay
11 years ago
clowwindy
5c274a1bc7
update dns
11 years ago
clowwindy
cdd333ea97
update dns
11 years ago
clowwindy
de5461a17e
refine test
11 years ago
clowwindy
71c3759c12
add async dns
11 years ago
clowwindy
fbc4906445
add cache
11 years ago
clowwindy
9c0bab297e
more work
11 years ago
clowwindy
45f9998fa9
more work
11 years ago
clowwindy
6b76319495
more work
11 years ago
clowwindy
7a77205530
update ns
11 years ago
clowwindy
795e0f4b8e
update ns
11 years ago
clowwindy
c354d8a8af
add asyncdns
11 years ago