bindsess
bindsess is a command-line utility that allows users to bind or unbind specific TCP ports on a Linux system. It operates by manipulating the netfilter connection tracking system, specifically the nf_conntrack module. This enables the creation of persistent bindings for ports, meaning that even after a service that was using that port has been restarted or the system has been rebooted, the port remains associated with the specified process or a predefined mapping.
The primary use case for bindsess is to ensure that certain network services always bind to a
bindsess can be used to query existing bindings, list all active bindings, and remove specific bindings. Its