Open GoogleCodeExporter opened 8 years ago
Another test: on the same machine, start on instance of "pyrit serve", add any
of the local IPs to the hosts file, "pyrit list_cores" sees no network server,
evven looping back...
Original comment by rimba...@gmail.com
on 15 Jan 2011 at 9:47
Have you tried updating to the latest build from the svn?
I can't remember if networking was working properly in that release or not.
Though in the current svn the settings are stored in .pyrit/config
for reference my config file is:
default_storage = sqlite:////pyrit.db (I use an sqlite database, ignore this if
you are not)
limit_ncpus = 0
rpc_announce = true
rpc_announce_broadcast = true
rpc_knownclients = 192.168.1.1 192.168.1.7
rpc_server = true
workunit_size = 75000
Original comment by adam.k...@gmail.com
on 15 Jan 2011 at 10:40
Got the SVN now. Running r288.
I try the local test to exclude every possible network related issue. Config
file like the one you posted.
Server starts, when running list_cores server crashes:
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/site-packages/pyrit_cli.py", line 115, in initFromArgv
func(self, **options)
File "/usr/local/lib/python2.6/site-packages/pyrit_cli.py", line 877, in serve
server.addClient(addr)
File "/usr/local/lib/python2.6/site-packages/cpyrit/network.py", line 140, in addClient
client = NetworkClient(srv_addr, self.enqueue, known_uuids)
File "/usr/local/lib/python2.6/site-packages/cpyrit/network.py", line 68, in __init__
self.srv_uuid, self.uuid = self.server.register(";".join(known_uuids))
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1237, in request
errcode, errmsg, headers = h.getreply()
File "/usr/local/lib/python2.6/httplib.py", line 1060, in getreply
response = self._conn.getresponse()
File "/usr/local/lib/python2.6/httplib.py", line 986, in getresponse
response.begin()
File "/usr/local/lib/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python2.6/httplib.py", line 349, in _read_status
line = self.fp.readline()
File "/usr/local/lib/python2.6/socket.py", line 397, in readline
data = recv(1)
socket.error: [Errno 54] Connection reset by peer
It seems it started crashing after adding announce_broadcast=true. Before that,
nothing happens, no network connection and no network cores detected.
Starting a browser on port 17935 shows me the pyrit normal error, so it is
correctly listening and the console message show the incoming connection.
I'm using file://, don't know if it matters.
Original comment by rimba...@gmail.com
on 15 Jan 2011 at 1:10
were getting the same problem on debian
see other releted posts
Original comment by thefixe...@gmail.com
on 3 Feb 2011 at 10:08
We have found a temporary solution until the pyrit team can get it fixed
Precompute 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 unites until the tables
have been generated for each essid
See this image
http://i53.tinypic.com/20r8acx.jpg
Original comment by mrfantas...@aol.com
on 26 Feb 2011 at 5:33
I've been having the exact same issue with r308 for over a month! Can anyone
confirm that this is still a known bug in r308???
Original comment by noli...@gmail.com
on 26 Feb 2012 at 9:36
Original issue reported on code.google.com by
rimba...@gmail.com
on 15 Jan 2011 at 9:36