Site icon Bytefreaks.net

How to monitor all outgoing requests/connections from your GNU/Linux machine

Advertisements
netstat -nputw;

The “netstat” command is a network utility tool used to display information about active network connections, including the protocol used (TCP or UDP), the local and remote addresses and port numbers, and the current state of the connection.

The options used in this command are as follows:

Therefore, the command netstat -nputw; will display all current network connections on the machine, including the corresponding processes and raw socket connections, in a numerical format without resolving hostnames and service names.

This post is also available in: Greek

Exit mobile version