Open GoogleCodeExporter opened 9 years ago
额,发现不知是 Python 3,Python 2 也一样。。。。
Original comment by riverrin...@gmail.com
on 23 Jun 2014 at 9:41
能否抓取 udp 53端口的包,发过来看看,就清楚了。
Original comment by opene...@gmail.com
on 25 Jun 2014 at 12:56
请问是这样么?
sudo tcpdump -i enp2s0 -n udp dst port 53
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp2s0, link-type EN10MB (Ethernet), capture size 65535 bytes
12:52:54.288223 IP 172.18.194.64.50824 > 42.120.21.30.53: 20357+ A? python.org.
(28)
12:52:54.288277 IP 172.18.194.64.50824 > 42.120.21.30.53: 26350+ AAAA?
python.org. (28)
12:52:54.328500 IP 172.18.194.64.42747 > 42.120.21.30.53: 29267+ A? python.org.
(28)
12:52:54.328555 IP 172.18.194.64.42747 > 42.120.21.30.53: 30676+ AAAA?
python.org. (28)
12:53:46.680943 IP 172.18.194.64.52819 > 42.120.21.30.53: 27134+ A?
pypi.python.org. (33)
12:53:46.680980 IP 172.18.194.64.52819 > 42.120.21.30.53: 50657+ AAAA?
pypi.python.org. (33)
12:53:46.730310 IP 172.18.194.64.60022 > 42.120.21.30.53: 4146+ A?
pypi.python.org. (33)
12:53:46.730364 IP 172.18.194.64.60022 > 42.120.21.30.53: 50076+ AAAA?
pypi.python.org. (33)
^C
8 packets captured
8 packets received by filter
0 packets dropped by kernel
172.18.194.64 是我在内网(我是校园网)的ip,上面是我直接在
python 里用 urllib 和 运行 pypi-cli https://github.com/sloria/pypi-cli
时抓取的结果
Original comment by riverrin...@gmail.com
on 27 Jun 2014 at 4:53
这个是用
sudo tcpdump -i enp2s0 -n udp dst port 53 -w dns
保存的结果
Original comment by riverrin...@gmail.com
on 27 Jun 2014 at 5:03
Attachments:
Original issue reported on code.google.com by
riverrin...@gmail.com
on 23 Jun 2014 at 9:37