-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SignatureMap error #2
Comments
Any chance you can share your gen-msg.map and community-sid-msg.map? I think I see the issue, but just want to be sure. |
The *.map files are the default ones after a fresh apt-get install snort with no updates (pulled pork). Thanks for idstools as I am trying to use it to feed events directly into elasticsearch and bypass I also had some errors reading old unified2 files, but I'll have to get back to you when I can find |
Fixed in git master. It was failing while loading the community-sid-msg.map file. Now you should be able to print(sigmap.get(1, 100000934)) and see some proper output. |
Thanks :) ... so I need to clone, or just edit maps.py, and wait until later for a pip install ? |
white space from each line before trying to parse it. Fixed #2
I tossed a 0.4.2 up on PyPi, so you should be able to get it with pip now. |
Thanks it works now ... one step closer to indexing in elasticsearch. |
Ahh cool. I've been working on the same thing. py-idstools has a bit of a oinkmaster/pulledpork clone in it, and indexing rules into elastic search is something I've been working on to make rules available to my own EveBox tool. |
I have several projects (ruby/rails) that offer a UI for snort events both in mysql |
From the docs:
http://idstools.readthedocs.org/en/latest/maps.html
and
http://blog.jasonish.org/2013/07/easy-unified2-file-reading-in-python.html
... figured out that MsgMap should be SignatureMap, but running this:
gives the following error:
I tried lots of gids/sids but no luck ... suggestions ?
Otherwise, I like these tools as it's hard to find snort related stuff ... thanks for this :)
The text was updated successfully, but these errors were encountered: