[Bro] - delete a connection using connection_state_remove

william de ping bill.de.ping at gmail.com
Sun Aug 13 23:50:20 PDT 2017

Hi everyone,

In case I some test that occurs in http_request event.
If the test returns FALSE, than I wish to delete this session\connection (I
wish to save CPU time and prevent further processing of this packet or
future session related packets).

What would be the more appropriate way of accomplishing that ?
Can I just call the connection_state_remove with my current c connection
from my test function ?
Or should I just "delete c;" ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170814/19826b55/attachment.html 

More information about the Bro mailing list