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

Filter by l4proto doesn't work as expected #8933

Open
lucaderi opened this issue Jan 31, 2025 · 1 comment
Open

Filter by l4proto doesn't work as expected #8933

lucaderi opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
Low-Priority Bug Ready to Test a feedback is needed on a proposal or implementation

Comments

@lucaderi
Copy link
Member

curl -u admin:admin 'http://localhost:9000/lua/rest/v2/get/flow/active.lua?ifid=14&l4proto=UDP' | jq '.rsp.data | .[] | .protocol'
{
"l7": "HTTP.ntop",
"l4": "TCP"
}
{
"l7": "HTTP.ntop",
"l4": "TCP"
}
{
"l7": "HTTP.ntop",
"l4": "TCP"
}
{
"l7": "HTTP.ntop",
"l4": "TCP"
}
{
"l7": "HTTP.ntop",
"l4": "TCP"
}
{
"l7": "MDNS",
"l4": "UDP"
}
{
"l7": "ICMP",
"l4": "ICMP"
}
{
"l7": "ICMP",
"l4": "ICMP"
}
{
"l7": "TLS",
"l4": "TCP"
}
{
"l7": "SSH",
"l4": "TCP"
}

@MatteoBiscosi
Copy link
Member

In the latest ntopng version, the rest api seems working correctly:
Image

@MatteoBiscosi MatteoBiscosi added the Ready to Test a feedback is needed on a proposal or implementation label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low-Priority Bug Ready to Test a feedback is needed on a proposal or implementation
Projects
None yet
Development

No branches or pull requests

3 participants