Tips Tricks Tutorials

WEB-NES-BAY

Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware

bookmark bookmark
WEBNESBAY On July - 24 - 2009

It is quite common at present in different attacks on our servers, and although not necessarily attacks, is always curious to know who (whom) are connected to our Linux server, it is therefore, to disclose how.

The netstat command provides information about reliable connections to our team penguin, and by the following command tells you what you need to know.
The command is:

netstat netstat

-anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort –n

And the result will be, depending on the amount of connections to our team, similar to the following:

Hide the real IP addresses, for obvious security reasons

And so, we have taken a new step in the control of our servers.
Hacking a greeting …

Related posts:

  1. How to sort IP Addresses in python
  2. How to use proxy server for different browsers
  3. How to make reverse sort in perl array
  4. Tips to protect databases from malacious attacks
  5. Microsoft sues Vancouver family for $750,000 US over alleged ‘click fraud’
  6. Perl Server Side CGI Scripting
  7. How to setup a DNS server with bind in Ubuntu linux
  8. Yahoo Hacking Programs – Are They Needed?
Categories: Hacking

Comments are closed.