Tag: connections

Linux, Monitor, Network

Monitoring Opened TCP/IP network ports/connections in Linux

tcptrack displays the status of TCP connections that it sees on a given network interface. tcptrack monitors their state and displays information such as state, source/destination addresses and bandwidth usage in a sorted, updated list very much like the top command. The filter expression is a standard pcap filter expression (identical to the expressions used …

Monitor, Network

Monitoring Opened TCP/IP network ports / connections

CurrPorts is network monitoring software that displays the list of all currently opened TCP/IP and UDP ports on your local computer. For each port in the list, information about the process that opened the port is also displayed, including the process name, full path of the process, version information of the process (product name, file …

C#

List active tcp connections

We are going to use two classes to retrieve network connections, IPGlobalProperties and TcpConnectionInformation. You will need a ListView control with two columns, one for local endpoint and another one for remote endpoint. private void ListActiveTcpConnections() { IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties(); TcpConnectionInformation[] connections = properties.GetActiveTcpConnections(); foreach (TcpConnectionInformation c in connections) { listView1.Items.Add(new ListViewItem(new String[]{c.LocalEndPoint.ToString(), c.RemoteEndPoint.ToString()})); …

Detection, Microsoft Windows, Monitor, Network

Detect suspicious internet connections in Windows

Some times antiviruses are not enough. If you suspect that you are infected of some kind of spyware but your anti-virus, anti-malware, anti-anything are not able to detect it (this can happen) inspect internet connections made from your pc to external ips!   1st way Open command line with administrative rights and execute the command: …

Linux

Inspect network connections with netstat

List network connections, open ports and the programs running behind those ports with netstat. Open a terminal and type: netstat -apenetstat -ape -a, –all, –listening display all sockets (default: connected) -p, –programs display PID/Program name for sockets -e, –extend display other/more information Output: Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name …