[Bro] BinPAC analyzer name

Dane Wullen brot212 at googlemail.com
Sat Dec 17 06:00:46 PST 2016


Hey,

sorry, I was kind of busy the last days and couldn't answer.

http://pastebin.com/6Z9fykTT <-- all .pac files
http://pastebin.com/VBUM5CwE <- all .CC and .h files

This is the binPAC code. Like I said, only the standard code, untouched 
(except the std::cout line).
The same code with Test instead of AMS works fine. I don't know, maybe 
I'm doing something wrong, I've tested it on 3 VMs and on a Raspberry 
Pi, but the result are always the same.

Thanks

Dane


Am 06.12.2016 um 16:52 schrieb Vlad Grigorescu:
> Hmm. Could be a capitalization issue? binpac_quickstart does do some
> uppercasing/lowercasing in a couple of the templates. For example:
>
> Dane Wullen <brot212 at googlemail.com> writes:
>
>> function proc_NAME_message(msg: NAME_PDU) : bool
>> ...
>>       BifEvent::generate_NAME_event(...);
>>       std::cout <<  "Name PDU" << endl; # for debugging
>> ...
> NAME here will always be lowercase (since that matches the naming scheme
> for events).
>
> I poked around with this a bit, and couldn't duplicate it. Can you put
> the contents of src/analyzer/protocol/ams somewhere I could see it?
>
> Thanks,
>
>    --Vlad



More information about the Bro mailing list