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

Handle SERVICE_<port>_<type>_<metadata> encodings #668

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pmundt
Copy link
Contributor

@pmundt pmundt commented Sep 22, 2019

At present SERVICE__ detection fails to account for the
port type, which prevents selective filtering - e.g. of specific TCP or UDP ports
for individual services.

We can fix this up by scanning for a port type designation and comparing this
against the service port's type definition before determining how to proceed.

With this in place, we can now use any of:

SERVICE_xxx_TCP_IGNORE
SERVICE_xxx_TCP_NAME
SERVICE_xxx_UDP_IGNORE
SERVICE_xxx_UDP_NAME
...

for manipulating port-specific service metadata.

This should address issue #244

At present SERVICE_<port>_<metadata> detection fails to account for the
port type, which allows udp ports of ignored services to filter through.

Fix this up by scanning for a port type designation and comparing this
against the service port's type definition before determining how to
proceed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant