Re: Interface Removed From Config but Keeps Monitoring Traffic

Justin Azoff <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <CAPfnCuicev1023nvD3oWTJ+O4CKkqvKBs8LsO0j6mLkTpB2m6A@mail.gmail.com>
On Wed, Apr 10, 2019 at 10:22 AM Kevin Ross <[email protected]> wrote:
>
> Hi,
>
> I configured an afpacket interface in addition to one I was already using and it monitored fine but I want to stop monitoring this link for now and just leave it to Suricata at the moment.
>
> I have removed the configuration for it and redeployed, cleaned and everything else I can thing of and many config installs and when started while only the works configured on the original interface show in running jobs I am still getting traffic events from the other interface (I know this because of the IPs being monitored).

Ah, you needed to stop those extra workers before removing them from
the configuration.  I thought we added something to warn people when
they did that, but that may only detect if you reduce lb_procs and not
remove an interface entirely.

> Is there anything I can check or clean up to try and force bro to completely "forget" it ever knew about this interface? Thanks.

the easiest thing to do would be to do

    broctl stop
    broctl ps.bro

that should show any remaining orphaned bro processes.  Kill those,
then start things back up and you should be good to go.

--
Justin

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.