IP listening

Tim Littlemore tim at tjl2.com
Wed Oct 12 19:26:31 UTC 2005


Robbo wrote:

>On Sat, 2005-10-01 at 10:44 +0200, R.L. Reingard wrote:
>  
>
>>hello
>>i tried commands with $ netstat, but do not get what i like to see. i want  
>>to understand what program / utility i have to use to simple get to know  
>>the following.
>>
>>to which IP address(es) the machine is connected at the moment? (nice  
>>would be if it could be shown continously refreshed)
>>AND
>>which IP address does search a connection to the machine at the moment?  
>>(and at what door / ports do they knock?)
>>    
>>
>
>Try iftop.
>
>and "iftop -P" for showing port activity.
>
>
>  
>
Would "sudo watch netstat -tap" do what you want?
If you don't want the IP addresses resolving to addresses, use "sudo 
watch netstat -ntap".




More information about the ubuntu-users mailing list