[Bro] Problems with tcprs plugin

Daniel Guerra daniel.guerra69 at gmail.com
Sat Feb 6 13:34:44 PST 2016


Hi Vito,

Same problem here 

/tmp/bro/aux/plugins/tcprs/src/TCPRS_Endpoint.cc: In member function ‘analyzer::tcp::SCORE* analyzer::tcp::TCPRS_Endpoint::scoreRetransmission(analyzer::tcp::SequenceRange*, analyzer::tcp::Segment*, analyzer::tcp::RETRANSMISSION_REASON_CODE, HashKey*)’:
/tmp/bro/aux/plugins/tcprs/src/TCPRS_Endpoint.cc:1180:47: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
      confidence_value *= 1.0 / (abs(i - TRIPLE) + 1.0); //ack distancing
..
[0mCMakeFiles/Bro-TCPRS.linux-x86_64.dir/build.make:130: recipe for target 'CMakeFiles/Bro-TCPRS.linux-x86_64.dir/src/TCPRS_Endpoint.cc.o' failed
make[3]: *** [CMakeFiles/Bro-TCPRS.linux-x86_64.dir/src/TCPRS_Endpoint.cc.o] Error 1


> On 04 Feb 2016, at 19:11, Vito Logrillo <vitologrillo at gmail.com> wrote:
> 
> Hi all,
> i'm trying to compile the tcprs plugin with the latest bro version
> (2.4-267): using the make command i have this error
> 
> /tcprs/src/TCPRS_Endpoint.cc: In member function
> ‘analyzer::tcp::SCORE*
> analyzer::tcp::TCPRS_Endpoint::scoreRetransmission(analyzer::tcp::SequenceRange*,
> analyzer::tcp::Segment*, analyzer::tcp::RETRANSMISSION_REASON_CODE,
> HashKey*)’:
> /home/aramis/bro/aux/plugins/tcprs/src/TCPRS_Endpoint.cc:1180:47:
> error: call of overloaded ‘abs(unsigned int)’ is ambiguous
>      confidence_value *= 1.0 / (abs(i - TRIPLE) + 1.0); //ack distancing
>                                               ^
> 
> what's wrong?
> Thanks
> 
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160206/0f6eda2a/attachment.html 


More information about the Bro mailing list