Code Monkey home page Code Monkey logo

pydnsproxy's People

Watchers

 avatar

pydnsproxy's Issues

is useful

Thks PhiLiP,this program is very useful.good job!

Original issue reported on code.google.com by [email protected] on 6 Sep 2010 at 7:29

建议把socket.sendto(rspdata 改成 socket.sendto(str(rspdata)

修改dns.py 的:
        #socket.sendto(rspdata, self.client_address)
        socket.sendto(str(rspdata), self.client_address)

不然老报错:
Traceback (most recent call last):
  File "/usr/lib/python2.6/SocketServer.py", line 558, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
    self.handle()
  File "dns.py", line 21, in handle
    socket.sendto(rspdata, self.client_address)
TypeError: sendto() takes exactly 3 arguments (2 given)

Original issue reported on code.google.com by VermilionDun on 28 Jul 2010 at 9:11

  • Merged into: #8

64位版本的win7可以使用不?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Oct 2011 at 2:01

一时有效果一时无效果

What steps will reproduce the problem?
C:\Windows\System32>nslookup twitter.com
服务器:  UnKnown
Address:  127.0.0.1

非权威应答:
名称:    twitter.com
Addresses:  46.82.174.68
          168.143.162.100
          128.242.240.20
          128.242.245.20


C:\Windows\System32>nslookup twitter.com
服务器:  UnKnown
Address:  127.0.0.1

非权威应答:
名称:    twitter.com
Addresses:  128.242.240.20
          128.242.245.20
          168.143.162.100


C:\Windows\System32>nslookup twitter.com
服务器:  UnKnown
Address:  127.0.0.1

非权威应答:
名称:    twitter.com
Address:  203.98.7.65


C:\Windows\System32>

What version of the product are you using? On what operating system?
win7 x86
dns 8.8.8.8


Original issue reported on code.google.com by titanium98118 on 12 Jul 2010 at 1:39

似乎没有效果?

我下载了你们的源代码,没太理解为什么这样就防污染了。
运行之后,除了解析变慢,没有防污染的效果。换了多个国��
�DNS,解析返回的还是一系列假IP。

C:\Windows\system32>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\Windows\system32>nslookup facebook.com
Server:  UnKnown
Address:  127.0.0.1

Non-authoritative answer:
Name:    facebook.com
Addresses:  159.106.121.75
          243.185.187.39


C:\Windows\system32>nslookup facebook.com
Server:  UnKnown
Address:  127.0.0.1

Non-authoritative answer:
Name:    facebook.com
Addresses:  243.185.187.39
          78.16.49.15

Original issue reported on code.google.com by [email protected] on 18 Dec 2009 at 3:39

现象比较诡异啊

What steps will reproduce the problem?
1. 
装了这个东东之后,出现一个现象,打开网页有时候出现空��
�页,再刷新就出来了
2. 用nslookup 会出现dns request timed out timeout was 2 
seconds,然后再运行一次就OK了。。
3.用的是WIN7 
旗舰版,卸载之后这个现象还是在,想问问是不是他对DNS的��
�作还做了其他的改动啊?



Original issue reported on code.google.com by [email protected] on 7 Jun 2011 at 2:14

DNS.exe文件不随机启动

重启电脑后,我发现网址都无法解析了。照理说,这是以系��
�服务的形式注册的,应该是机器正常启动后就能用,但是似�
��不行。在我仔细查验下,发现是dns.exe文件没有随机启动所��
�。只要到安装文件夹里双击dns.exe,问题就迎刃而解了。

我的系统是windows xp sp3,常用浏览器是Chrome稳定版。

Original issue reported on code.google.com by [email protected] on 18 Jun 2011 at 1:38

【个人分析】这个项目的工作原理

目前DNS协议是基于UDP的不可靠无连接传输,入侵者无法截获��
�一个DNS的response包,原因可能是计算量太大了,所以采用了��
�种污染的方式,抢先在真正的DNS 
response包返回之前先伪造一个response发送给请求者,而请求者�
��收到这个包之后以为就是真的结果了(因为无连接,先到原
则),就忽略掉之后的response了。DNSProxy这个软件的做法很简�
��,先缓存第一个收到的response,如果在一段时间内又收到了�
��外一个response,那就丢弃之前那个,如果没有收到,那说明�
��个response是真的,直接返回给请求的应用程序,这样就可以�
��滤出真假response了,参见SVN上的Python源码

Original issue reported on code.google.com by [email protected] on 28 Jul 2010 at 2:28

屏蔽特定ip

电信dns会劫持NXDOMAIN或者SERVFAIL到广告ip

有的时候也会用dns劫持插入广告

OpenDNS也会劫持ip

现在手里有这样一批ip,可否在pydnsproxy里设置并屏蔽掉?

Original issue reported on code.google.com by [email protected] on 19 Dec 2009 at 2:54

我对打包很好奇

RT、、、
这个应该是用Py2exe打包的~但是Py2exe打包以后会产生很多文��
�
这个很干净~连python2x.dll都没有~
怎么做到的?


Original issue reported on code.google.com by [email protected] on 31 May 2011 at 2:35

socket.error: (10048, 'Address already in use')

Traceback (most recent call last):
  File "dns.py", line 69, in ?
  File "dns.py", line 65, in main
  File "SocketServer.pyo", line 330, in __init__
  File "SocketServer.pyo", line 341, in server_bind
  File "<string>", line 1, in bind
socket.error: (10048, 'Address already in use')

重新安装了也不行啊

Original issue reported on code.google.com by [email protected] on 13 Dec 2012 at 12:29

patch for linux version

打了这个补丁后,在 linux + py2.6 
中虽然还出现如下错误,但似乎不影响运行。

----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 45781)
Traceback (most recent call last):
  File "/usr/lib/python2.6/SocketServer.py", line 558, in
process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
    self.handle()
  File "dns.py", line 20, in handle
    rspdata = self._getResponse(data)
  File "dns.py", line 41, in _getResponse
    rspdata = sock.recv(65535)
error: [Errno 11] Resource temporarily unavailable
----------------------------------------

不知道 win 版是否也有此问题?

另外能否简要说明一下原理,或者给个参考资料看看。

还有 sock.recv(65535) 
这里面,65535是不是太大了,我简单测试了一下 rspdata
的长度,似乎没有超过 500的。


Original issue reported on code.google.com by [email protected] on 28 May 2010 at 4:24

Attachments:

失效了

Server:  UnKnown
Address:  127.0.0.1

Name:    twitter.com
Address:  243.185.187.30

Original issue reported on code.google.com by [email protected] on 5 Sep 2011 at 3:16

很好的DNS代理服务!但最近运行颇不稳定,有加入Cache的必要性啊!

正常运行过程中,网络连接稳定,Google+服务一般情况下很流�
��,但而常出现无法连接的现象,数分钟后又自动恢复!
所以,这是加密的DNS通讯被干扰的现象吗??
依我的愚见,相信加入缓存能大大改善这种状况。

另外,这么好的软件,自09年末就没再更新过?很感谢作者的
努力,希望不要丢弃了啊。

Original issue reported on code.google.com by [email protected] on 20 Nov 2012 at 1:51

批处理install提示opendns安装失败

What steps will reproduce the problem?
1. 第一次运行
2. 批处理install提示opendns安装失败

What is the expected output? What do you see instead?

提示opendns安装失败
What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Nov 2012 at 3:10

Attachments:

netkeeper

我在的南昌的上网必须使用netkeeper这个软件,本地连接的DNS��
�无用的,咋办?跪
求,先谢谢高手了。


Original issue reported on code.google.com by [email protected] on 21 Dec 2009 at 2:54

8月9日失效

What steps will reproduce the problem?
1. nslookup encrypted.google.com
2.
3.

What is the expected output? What do you see instead?
A static ip, but GFWed ip.

What version of the product are you using? On what operating system?
0.0.4

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Aug 2010 at 2:51

怎么让它绑定除了127.0.0.1以外的本地网卡地址?

貌似默认它只绑定127.0.0.1,而我希望它能在作为服务运行的同�
��,能绑定到网卡的IP上,以便让整个局域网的其他机器不必�
��装即可使用它(将DNS的IP设为运行此程序的机器的IP即可)��
�这个应该不难吧(估计改源码应该也可以,但是我这边机器�
��PY环境,而且PY源码也需要编译后才能作为服务运行的),��
�知道是不是有人能解决一下,另外就是前面有人问到的让它�
��持多DNS SERVER的问题……

Original issue reported on code.google.com by [email protected] on 28 Jul 2010 at 6:28

最近似乎不稳定,有时没效果

C:\Documents and Settings\Administrator>nslookup apps.facebook.com 127.0.0.1
Server:  localhost
Address:  127.0.0.1

Name:    apps.facebook.com
Address:  203.98.7.65


C:\Documents and Settings\Administrator>nslookup apps.facebook.com 127.0.0.1
Server:  localhost
Address:  127.0.0.1

Name:    apps.facebook.com
Address:  78.16.49.15


C:\Documents and Settings\Administrator>

Original issue reported on code.google.com by [email protected] on 10 Aug 2011 at 8:09

来个Mac下的版本吧

你可以到svn下载源码,然后在Mac下运行dns.py即可。

Mac我不熟,谁知道怎么做的也想帮忙的请申请下SVN,我给你��
�限。

Original issue reported on code.google.com by [email protected] on 18 Dec 2009 at 2:40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.