Microwave Biscuit

New favorite

Posted in General by microwavebiscuit on January 3, 2009

netstat -tpe

Returns what is connecting to the internet, where, etc. Nice little command to check and see if something suspicious is happening.

Tagged with: , ,

3 Responses

Subscribe to comments with RSS.

  1. Serge van Ginderachter said, on January 3, 2009 at 4:53 am

    be aware though that
    – you need to run this as root in order to see which users ‘owns’ the connecting process
    – you might not see udp connections which can be just as suspicious

    remember to check for listening ports also with the -l option; combined with -u it’ll give you open udp ports also.

  2. Flimm said, on January 3, 2009 at 1:58 pm

    Nice! Maximise your graphical terminal for full effect.

  3. jimcooncat said, on January 5, 2009 at 10:43 am

    I like this! The options I’ve used with netstat before always gave me a lot of garbage to look through.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: