Giter Site home page Giter Site logo

taxii-proxy failure about misp-taxii-server HOT 10 CLOSED

misp avatar misp commented on September 24, 2024
taxii-proxy failure

from misp-taxii-server.

Comments (10)

FloatingGhost avatar FloatingGhost commented on September 24, 2024

A few things

  1. you should probably redact your collection name, we now all know where you work ;)
  2. I've never used taxii-proxy, but hey debugging shouldn't be so hard

You haven't attached any sort of log - the taxii server you run should say why there was an error. Can you give me that?

from misp-taxii-server.

UOITGeorge avatar UOITGeorge commented on September 24, 2024

Not sure what you mean by redacting the collection name
As far as the log file , this was the first thing i was trying to look for , but i don't see any logs being created when i use taxii-proxy script . Am i missing something ?
Is there any other (simple) way to populate the DB ?
Thank you

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 24, 2024

Not sure what you mean by redacting the collection name

never mind, misread

Ok so I just tried it and it works just fine.

Steps to do what I did:

  • Start up local taxii server, OPENTAXII_CONFIG=<path to config> opentaxii-run-dev
  • Run the command
taxii-proxy \
  --poll-path http://hailataxii.com/taxii-data \
  --poll-collection guest.Abuse_ch \
  --inbox-path http://localhost:9000/services/inbox \
  --inbox-collection collection \
  --inbox-username user \
  --inbox-password pass

With no server logs from the taxii server itself there's nothing more I can debug

from misp-taxii-server.

UOITGeorge avatar UOITGeorge commented on September 24, 2024

Is there a way to enable the server logs?
The only thing i was able to do is to redirect the output to a file . by adding -v &>output.log
output.log
The log shows that it fails after adding 4 objects successfully

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 24, 2024

I asked for the SERVER logs, not the proxy client ones.

See my desktop, the server logs are printed to stdout when using opentaxii-run-dev, telling you everything you need to know.

Server on the left, proxy client on the right.

2017-11-22-155142

from misp-taxii-server.

UOITGeorge avatar UOITGeorge commented on September 24, 2024

server2.log
The log is not generated . I have redirected the output of the opentaxii-run-dev to server2.log (attached)
Looks like this si the same information like in your screenshot
Is this the correct one ?

Thank you

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 24, 2024

You're using outdated code, this was an issue with pymisp removing an internal function I relied on.

git pull
sudo python3 setup.py install

and try again

from misp-taxii-server.

UOITGeorge avatar UOITGeorge commented on September 24, 2024

Thank you
Updating the code worked

from misp-taxii-server.

UOITGeorge avatar UOITGeorge commented on September 24, 2024

Now , after running for some time the script crashes with the following message
2017-11-22 22:44:37,353 ERROR: StartTag: invalid element name, line 95071, column 2 (, line 95071)
server3.zip

from misp-taxii-server.

FloatingGhost avatar FloatingGhost commented on September 24, 2024

Well I mean that's not my log format, and its not in your server log.

As my side works (as expected) I'm closing this issue.

from misp-taxii-server.

Related Issues (20)

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.