-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
luci-mod-status: add simple filtering for connections #7499
Conversation
modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js
Outdated
Show resolved
Hide resolved
17391e1
to
311ce29
Compare
I replaced the text with the samples (but I'm ready to change it if someone prefers a better wording) and added comparison with ignore case to protocol and network. |
modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js
Outdated
Show resolved
Hide resolved
modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js
Outdated
Show resolved
Hide resolved
modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js
Show resolved
Hide resolved
Is it really needed? |
It’s low effort, and high value when dealing with lots of endpoints, so it’s a welcome addition I think. @McGiverGim also thinks so. |
ok, just newer thought that someone may need to search or even filter by the ip |
I think it's useful when you want to see the connections from a host, for example. If this is not needed, then the full list of connections it's not needed neither, because now it's a big list but you can't find anything because it's big and changes continuosly. |
0d640a5
to
3482725
Compare
This commit adds a simple filtering input text into the connections status page. You can type some filtering like: - '100.15' -> Will show only connections that include this '100.15' onto the IP. - 'UDP 100.15' -> Will show only UDP connections that include this '100.15' onto the IP. - ':443' -> Will show only connections that use the port 443 as source or destination. You can use a part of the IP or part of the name if the DNS resolution button is enabled. It's a very simple filter that can grow in the future if it deserves some interest, maybe adding some regular expression support. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
3482725
to
88edae4
Compare
Took it for a spin. Works fine. |
Thanks @McGiverGim |
This commit adds a simple filtering input text into the connections status page. You can type some filtering like:
You can use a part of the IP or part of the name if the DNS resolution button is enabled.
It's a very simple filter that can grow in the future if it deserves some interest, maybe adding some regular expression support.