GithubHelp home page GithubHelp logo

stucco / collectors Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 5.0 1.63 MB

Suite of data collectors for scheduling and gathering structured and unstructured documents

License: Other

PHP 15.59% HTML 17.59% Shell 1.49% Java 65.33%

collectors's People

Contributors

grantnakamura avatar jgoodall avatar mikeiannacone avatar sjfawks avatar testak avatar zbeech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

collectors's Issues

Hone data hostname

When hone data is sent to the extractors, no hostname is specified, which means the flows and process info cannot be associated with their host. (This cannot be done using the src/dest addresses, because there is not a good way to determine which of these addresses belong to the machine the data was collected on.)

The options for including this seem to be:

  • Include a hostname column in the CSV. This could come from the PcapNg metadata, described in their documentation
  • Include a hostname as additional metadata when sending the message to rt. This could come from the config info for the collectors.

Both seem like reasonable approaches from my end, and there are probably others that would work just as well.

SSLv3 for NVD

Can't complete the handshake with NVD. They are using SSLv3. It sounds like it should still be able to negotiate a connection, but it does not.

For now, added script in 150f5d2 as a workaround.

Presumably, will need to pass additional options for (only) those connections. Should also add this & some other sources to tests.

handling invalid section name

The driver should confirm that the given config section name is valid, before using it. Currently, an invalid section name gives the error below.

Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.simontuffs.onejar.Boot.run(Boot.java:340)
    at com.simontuffs.onejar.Boot.main(Boot.java:166)
Caused by: java.lang.NullPointerException
    at gov.pnnl.stucco.utilities.Replayer.<init>(Replayer.java:39)
    at gov.pnnl.stucco.utilities.CollectionDriver.main(CollectionDriver.java:66)
    ... 6 more
Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
    at gov.pnnl.stucco.utilities.CollectionDriver$1.run(CollectionDriver.java:52)
Caused by: java.lang.IllegalStateException: Shutdown in progress
    at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
    at java.lang.Runtime.addShutdownHook(Runtime.java:211)
    at org.mapdb.EngineWrapper$CloseOnJVMShutdown.<init>(EngineWrapper.java:581)
    at org.mapdb.DBMaker.makeEngine(DBMaker.java:764)
    at org.mapdb.DBMaker.make(DBMaker.java:665)
    at gov.pnnl.stucco.utilities.CollectorMetadata.getLatestFromDb(CollectorMetadata.java:65)
    at gov.pnnl.stucco.utilities.CollectorMetadata.<init>(CollectorMetadata.java:54)
    at gov.pnnl.stucco.utilities.CollectorMetadata.<clinit>(CollectorMetadata.java:26)
    ... 1 more

An example of this can be caused by: java -jar ./collectors/target/collect.jar -load -config ./collectors/config/collectors.yml -section asdf

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.