-
Notifications
You must be signed in to change notification settings - Fork 505
METRON-1785 Automate deployment of packet capture for development environment #1205
Conversation
nickwallen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments to help reviewers.
| - { role: pcap_replay } | ||
| - { role: pycapa } | ||
| tags: | ||
| - pcap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows us to deploy all of the components required for testing packet capture using the tag 'pcap'.
| librdkafka_version: 0.9.4 | ||
| librdkafka_url: https://github.com/edenhill/librdkafka/archive/v0.9.4.tar.gz | ||
| librdkafka_version: 0.11.5 | ||
| librdkafka_url: https://github.com/edenhill/librdkafka/archive/v0.11.5.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pycapa only works with 0.11.5 now. This was tested and validated in a previous PR #1136.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we update the bro package as well? I would need to double check but I think it uses the version of librdkafka installed here in full-dev, but the package docs say "This plugin has been tested against the latest release of librdkafka, which at the time of this writing is v0.9.4."
|
|
||
| ### Deploy Packet Capture | ||
|
|
||
| If you want to deploy the components required to generate and capture network packets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specific instructions for deploying the components required to test packet capture in the development environment.
|
Travis CI goofed |
|
Deployed a full dev , I executed set of instructions as in Docs
#Stopped the Parser, Enrichment, Indexing, and Profiler topologies to free-up resources.
I see that the pcap-replay and pycapa services not deployed ..
|
|
Yes, you are right @MohanDV. Somehow the default tags are interacting badly with the tags that are passed in. I'll try to figure out what's going on. |
While trying to test #1201 , I fixed some issues with the Ansible install of the components required for testing packet capture. I added instructions for how to do this in the README.
Testing
Spin-up the development environment and validate that alerts are visible in the Alerts UI and run the Metron Service Check in Ambari.
Follow the instruction in the README, to install and start all of the components for capturing packets. Ensure that you can search and find these packets using the Alerts UI > PCAP tab.
Pull Request Checklist