My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 10: running latest ragpicker version with cuckoo 1.1 in ubuntu 12.04. submit to cuckoo api not working
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2014


 
Reported by cbala...@gmail.com, Jun 27, 2014
What steps will reproduce the problem?
1. latest ragpicker
2. cuckoo 1.1
3. ubuntu 12.04

What is the expected output? What do you see instead?
submitting to cuckoo api generates errors and noting gets processed by sandbox

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


Please provide any additional information below.
ERROR core.worker worker:177 Failed to run the processing module "CuckooSandbox":
Traceback (most recent call last):
  File "/ragpicker/core/worker.py", line 164, in _run_processing
    data = processModul.run(objfile)
  File "/ragpicker/processing/cuckooSandbox.py", line 50, in run
    data = urllib2.urlopen(request).read()
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 400, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 418, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib/python2.7/httplib.py", line 958, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 562, in create_connection
    sock.connect(sa)
  File "/ragpicker/utils/socks.py", line 375, in connect
    self.__negotiatesocks5(destpair[0],destpair[1])
  File "/ragpicker/utils/socks.py", line 240, in __negotiatesocks5
    raise Socks5Error(ord(resp[1]),err)
Socks5Error: <unprintable Socks5Error object>


Jul 5, 2014
Project Member #1 Robby@Zeitfuchs.org
The problem is ragpicker tries to reach the sandbox over tor network. Either turn off the Tor network or using Git version of Ragpicker. In the Git version of the problem is already solved.
Jul 5, 2014
Project Member #2 Robby@Zeitfuchs.org
(No comment was entered for this change.)
Status: Fixed
Jul 5, 2014
#3 cbala...@gmail.com
Thanks Robby.....followed your advice and everything OK now using the git version.
Grate tool. 

Thank you,
cristian

Powered by Google Project Hosting