NethServer / nethsecurity

NethSecurity image and build environment
https://www.nethsecurity.org/
Other
98 stars 6 forks source link

Connections management page #568

Closed gsanchietti closed 3 months ago

gsanchietti commented 4 months ago

Why is this feature being requested?

  1. To provide users with an intuitive interface for managing active network connections tracked by conntrack.
  2. To enhance the ability to monitor and control network connections in real-time.
  3. To simplify the process of terminating unwanted or problematic connections, improving network security and performance.

Proposed Solution Implement a "Connections Management" page within the firewall section of the interface, with the following functionalities:

  1. Refresh Page: A button to refresh the page and update the list of current connections.
  2. Delete Single Connection: An option to delete individual connections, allowing users to terminate specific connections that are suspicious or unnecessary.
  3. Delete All Connections: A feature to delete all current connections, providing a quick way to reset the network state.

Key Elements:

Alternative Solutions

Additional Context

See also

gsanchietti commented 3 months ago

Testing image: 23.05.3-ns.1.0.1-55-g831860d

stephdl commented 3 months ago

QA

the UI provide a new menu Firewall > Connections, it will serve to manage the connection tracking of the linux kernel.

the QA is here to track the issues or misunderstood behaviors of the UI and issues of the API

the table list the connections, with a delete button for each connection, no issue expected you have two buttons, no issue expected : refresh and delete all connection

when the connections are deleted, a toaster in a upper right must confirm the delete action and the page is refreshed to load again the connections.

gsanchietti commented 3 months ago

Verified: the listed connections matches the ones on the kernel, tested also filtering and delete.