Hi Eric,
I was able to see the events and packet data in the database's tables.
In the event, it shows the alert like "Snort Alert [1:100000X:1]" and i want that to be "MY_EVENT_ALERT".
Please, correct me if i am wrong.
I looked into the source code, Barnyard2 reads from gen-msg.map and writes to 'signature' table of the database.
So, i added the following line to gen-msg.map.
146 || 1000001 || MY_CLASSIFICATION: MY EVENT ALERTSimilarly, I added the following line to sid-msg.map.
1000001 || MY EVENT ALERTWhen i restarted barnyard2, it wrote this line to the 'signature' table. And, this 'MY_CLASSIFICATION' was included in classification.config also.
But, i get the same old alert message "Snort Alert [1:100000X:1]".
What should i do to get "MY EVENT ALERT" in the alerts ? Should i have to compile snort again adding 'my new generator id' ?
Can any one help me to understand the 'generator id' and how it is used ?
Thanks,
Rajesh