nids-io / ampt-monitor Goto Github PK
View Code? Open in Web Editor NEWSensor alert monitor for the AMPT passive network tools monitor
License: BSD 2-Clause "Simplified" License
Sensor alert monitor for the AMPT passive network tools monitor
License: BSD 2-Clause "Simplified" License
Support authentication of requests from monitor to manager using HMAC as implemented with the generator.
Add support to AMPT Monitor commands to report version.
Additionally add support to report installed plugins and their versions.
Also include their version in debug output when loading the plugin.
Address busted shutdown at Ctrl-c/process termination.
^CTraceback (most recent call last):
File "/Users/dspruell/bin/ampt-monitor", line 11, in <module>
Process Plugin[suricata_eve]:
Process Plugin[bro]:
load_entry_point('ampt-monitor', 'console_scripts', 'ampt-monitor')()
File "/Users/dspruell/devel/ampt-monitor/core/ampt_monitor/cli.py", line 100, in main
ampt_monitor.run()
File "/Users/dspruell/devel/ampt-monitor/core/ampt_monitor/amptmonitor.py", line 103, in run
evt = queue.get()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/queues.py", line 94, in get
res = self._recv_bytes()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
buf = self._recv(4)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 379, in _recv
File "/Users/dspruell/devel/ampt-monitor/plugins/suricata_eve/ampt_monitor_suricata_eve/plugin.py", line 39, in run
for eve_log in self._tail_logfile(self.config['path']):
File "/Users/dspruell/devel/ampt-monitor/plugins/suricata_eve/ampt_monitor_suricata_eve/plugin.py", line 89, in _tail
_logfile
time.sleep(self.interval)
Traceback (most recent call last):
KeyboardInterrupt
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/Users/dspruell/devel/ampt-monitor/plugins/bro/ampt_monitor_bro/plugin.py", line 41, in run
for bro_log in self._tail_logfile(self.config['path']):
File "/Users/dspruell/devel/ampt-monitor/plugins/bro/ampt_monitor_bro/plugin.py", line 91, in _tail_logfile
sleep(self.interval)
KeyboardInterrupt
chunk = read(handle, remaining)
KeyboardInterrupt
Possible resources:
Commit to modularization and break out the suricata-eve and zeek plugins to separate projects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.