-
Notifications
You must be signed in to change notification settings - Fork 44
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
nProbe IPS: Custom Protocols and Categories not getting blocked (bug?) #611
Comments
After some further testing, blocks against custom protocols work if they're hosts. 'ip', 'tcp/udp', and 'nbpf' do not work, though they do show as being identified in the log (except 'nbpf'). proto.txt:
Matches in log:
If I put the logging to verbose, it appears that the matches against 'ip' and 'tcp' have a Marker of '0' instead of '2':
|
This has been fixed, please update and let us know |
I tested this. Working great for UDP/TCP, but if I use IP for a protocol, the engine doesn't match it to the proper custom protocol. It calls it Unknown, but for a custom protocol ID instead of 0:
Another issue is even though the log says it reloaded the IPS rules after detecting a change, the newly added rule doesn't actually take effect until I restart the service. |
I am evaluating nProbe in IPS mode and have blocking based on predefined values working correctly. I am trying to now get blocking working on custom protocol and category lists. I'm not sure if it's a bug or some quirk on how to format the files differs from other ntop documentation. Can simple examples of formats the IPS rules file is expecting for the
custom_protocols
andcategory_file
be provided.I am running nProbe in a docker, here is the arguments in use for the docker:
Here is the version:
Here is my rules config:
Here's my protocols list:
Here's my categories list:
I also tried to call that categories list using the blacklist format for ntopng, and then putting that file in my rules config, to no success either:
Here is some output from the log:
Blocking for predefined applications and categories works fine:
But anything in my custom files is not getting blocked.
The text was updated successfully, but these errors were encountered: