Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering specific events #169

Closed
lordpengwin opened this issue Jan 10, 2022 · 5 comments
Closed

Filtering specific events #169

lordpengwin opened this issue Jan 10, 2022 · 5 comments
Labels

Comments

@lordpengwin
Copy link

Is there a way to filter out specific activity? My Ubiquiti router does network discovery using port 10001 and it is causing a huge amount of alerts. I can't see anyway in the opencanary configuration to tell it to ignore these requests.

@HybridAU
Copy link
Contributor

Hi @lordpengwin you can ignore specific IP addresses, if you add ip.ignorelist to your config file e.g.

{
    "device.node_id": "opencanary-1",
    "ip.ignorelist": ["192.168.1.1", "192.168.123.45"],
    "..."
}

Then all traffic from those addresses should be ignored.

@jayjb
Copy link
Contributor

jayjb commented Feb 28, 2022

Thanks @HybridAU 💋

@lordpengwin, please let me know if that helps.

@jayjb jayjb added the question label Feb 28, 2022
@lordpengwin
Copy link
Author

lordpengwin commented Feb 28, 2022 via email

@HybridAU
Copy link
Contributor

HybridAU commented Mar 1, 2022

When OpenCanary starts it looks for config files the following order:

  1. ./opencanary.conf (i.e. the directory where OpenCanary is installed)
  2. ~/.opencanary.conf (i.e. the home directory of the user, usually this will be root so /root/.opencanary.conf)
  3. /etc/opencanary/opencanary.conf

It will use the first config file that exists.

@jayjb
Copy link
Contributor

jayjb commented Aug 8, 2023

Closing this issue due to inactivity. Please re-open it if you would like to continue the discussion

@jayjb jayjb closed this as completed Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants