Closed eric-ooi closed 3 years ago
I've solve this issue by adding
using namespace std;
on the file src/HTTP2_Frame.h
I've added right after util.h:
#include "util.h"
using namespace std;
Good catch -- looks like a pair
was left un-namespaced, guessing the original code had a namespace declaration that allowed it to work.
I'll need to properly scope/namespace that and address the other deprecation issues, but I probably won't be able to address this until later this week or next.
Thanks! I figured it was something like that given the error log, but I wasn't savvy enough to figure out what to add and where. :P.
I will patiently wait until this is updated. Hoping to write about this awesome plugin in my next Zeek blog, so I greatly appreciate your efforts! :)
I took at stab at addressing the issues and it looks like the deprecation list is extensive. While some of these are simple changes just requiring scoping changes, some of these will require rewriting some code and ensuring compatibility with 3.0.x and 3.1.x. I don't think any developer docs have been written, so I'll probably have to read the Zeek source, again, to be able to get rid of the warnings. Luckily it doesn't look like there's a rush (the warnings indicated Zeek 4.0.x as the target version), so, I'm going to cut an update that gets it compiling and figure out how to get rid of the deprecation warnings at a later time. I've pushed the support-zeek-32
branch, this compiles and works fine with Zeek 3.2 in my limited tests. I'm going to poke at it a bit more and make sure I didn't miss anything but assuming no issues can cut a new release next week.
If you'd like to test it yourself, you can install that branch via zkg doing:
zkg install zeek/mitrecnd/bro-http2 --version support-zeek-32
Thanks @Mraoul! Just tried it and it compiled without errors and so far it looks to be successfully generating http2.log again. Awesome work, thanks again!
Zeek v3.2 was just released -- https://zeek.org/2020/08/10/zeek-3-2-released
I tried installing the package for Zeek 3.2 and got the following errors (looks like quite a bit was changed in this release):
Thanks for looking into this.