A powerful python script designed to automatically detect and terminate unwanted, resource-consuming zombie TCP sessions on networks. It scans all open tcp sessions and probes them for a certain amount of time, in case of no response received, the session is marked as zombie and later terminated. Multiprocessing is incorporated in order to speed up the process by probing the multiple ports at the same time. Overall, it's a very efficient and seamless process. It is a complete solution with near to hundred percent accuracy.
- CLI : The user can view the entire process in the form of a table from the terminal.
- BACKGROUND: The script is ran in the background and repeated after a certain amount of time in order to prevent accumualtion of zombie sessions. The details are logged into a file so that the admin and view it later.
- To setup run cmd :
source/py_run.sh
- To run the script once in terminal with output:
securix -m single_run
orsecurix -m S
- To run the script in background:
securix -m background_run
orsecurix -m B
- To set the kernel params for keep alive:
securix -m set_params
orsecurix -m P