fekriomar / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

getting Fault: <Fault 403: 'Client unknown or timed-out'> while using pyrit serve #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

What steps will reproduce the problem?
I use 3 machines with pyrit 0.4.0 (using 0.3.0 is the same problem)
1. IBM X41 Thinkpad with Centrino
2. P4 2,8 
3. Athlon 1,8 + Radeon R350

I use the P4 as server. Both others are clients. 

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

on server:
----------

Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Connecting to storage at 'sqlite:///pyritdb.db'...  connected.
Working on ESSID '*****'
Processed 182/5440 workunits so far (3.3%); 0 PMKs per second.d.

on clients:
-----------

Serving 1 active clients; 0 PMKs/s; 0.0 TTS Exception in thread Thread-181:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/network.py", line 50, in run
    self.server.gather(self.client.uuid, 5000)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
Fault: <Fault 403: 'Client unknown or timed-out'>

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

0.4.0 
Ubuntu 10.10

Please provide any additional information below.

Starting a selftest at the server results with:

server
-------
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Cores incorporated in the test:
#1:  'CPU-Core (SSE2)'
#2:  'CPU-Core (SSE2)'
#3:  'Network-Clients'

Running selftest...

All results verified. Your installation seems OK

client
-------
Serving 1 active clients; 0 PMKs/s; 0.0 TTS Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 115, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 877, in serve
    server.addClient(addr)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/network.py", line 140, in addClient
    client = NetworkClient(srv_addr, self.enqueue, known_uuids)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/network.py", line 68, in __init__
    self.srv_uuid, self.uuid = self.server.register(";".join(known_uuids))
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1237, in request
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.6/httplib.py", line 1064, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
socket.error: [Errno 104] Connection reset by peer

THX for your help!

Original issue reported on code.google.com by diesche...@web.de on 17 Feb 2011 at 12:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We have the same exact problem, there is no fix for this yet.

Original comment by mrfantas...@aol.com on 17 Feb 2011 at 9:45

GoogleCodeExporter commented 9 years ago
Issue persists on Pyrit 0.4.1-dev (svn r297)

Original comment by mrfantas...@aol.com on 17 Feb 2011 at 11:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We have found a temporary solution until the pyrit team can get the "serve" 
feature fixed
Precompute PMKs using an sql server instead of file://
Each node is "aware" which wus have allready been sent out and thus, you can 
manually
"batch" run them and each node will get unique work until the tables
have been generated for each essid

We are currently using 14 cores across the internet and 2 1 gpu, so far its 
quite a productive endeavor and I am excited to share this with you. Good luck!

See this image

http://i53.tinypic.com/20r8acx.jpg

Original comment by mrfantas...@aol.com on 26 Feb 2011 at 5:37