num3a / pyrit

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

Network functionality not working in latest svn release #355

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On server, set up ~/.pyrit/config and host as directed. Start with pyrit 
2. From client, ensure server is listening on 17935 (which it should be)
3. On the client (it's not necessary and just redundant, but shouldn't hurt 
anything) set up the config and hosts files as instructed.
4. Ensure terminal sessions are set up on each so both client and server can be 
monitored.
5. From the client run a simple "pyrit list_cores"

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

The network-clients section should list the server and the server should update 
the real time status to show a connected and processing client.

What version of the product are you using? On what operating system?
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Please provide any additional information below.
Server is running mac os x (no gpu optimization), client is ubuntu 11.04 with 
cpyrit-cuda running

Here is the error dump from the server:

venus:.pyrit kurt$ pyrit serve
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Serving 0 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 "/Library/Python/2.7/site-packages/pyrit_cli.py", line 117, in initFromArgv
    func(self, **options)
  File "/Library/Python/2.7/site-packages/pyrit_cli.py", line 881, in serve
    server.addClient(addr)
  File "/Library/Python/2.7/site-packages/cpyrit/network.py", line 140, in addClient
    client = NetworkClient(srv_addr, self.enqueue, known_uuids)
  File "/Library/Python/2.7/site-packages/cpyrit/network.py", line 68, in __init__
    self.srv_uuid, self.uuid = self.server.register(";".join(known_uuids))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1570, in __request
    verbose=self.__verbose
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1292, in single_request
    self.send_content(h, request_body)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1439, in send_content
    connection.endheaders(request_body)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 937, in endheaders
    self._send_output(message_body)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 797, in _send_output
    self.send(msg)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 759, in send
    self.connect()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 740, in connect
    self.timeout, self.source_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 61] Connection refused

Original issue reported on code.google.com by burnbrig...@gmail.com on 5 Oct 2011 at 5:02

GoogleCodeExporter commented 8 years ago
same here..

Original comment by danijo...@googlemail.com on 28 Jun 2012 at 12:30

GoogleCodeExporter commented 8 years ago
I have the same issue. The client is a BT3 VM under Parallels, the server is 
native Mac OSX Lion

Original comment by abratc...@gmail.com on 13 Oct 2012 at 6:57

GoogleCodeExporter commented 8 years ago
same here; client is Snow Leopard (10.6.8), server is Mountain Lion (10.8).

Original comment by viniciuskmax@gmail.com on 16 Nov 2012 at 3:57

GoogleCodeExporter commented 8 years ago
same here

Original comment by balz.re...@fatfilms.ch on 8 Feb 2015 at 3:48

GoogleCodeExporter commented 8 years ago
Same here, Pyrit 0.4.0.

Original comment by erli...@gmail.com on 13 Aug 2015 at 10:28

GoogleCodeExporter commented 8 years ago
This code is DEAD, forget it

Original comment by burnbrig...@gmail.com on 15 Aug 2015 at 10:46