DarkStat is a simple Packet Sniffing Network Bandwidth monitoring Tool forDebian and other Linux distributions. DarkStat gives simple web based output with nice graphs and statistics , it will automatically refreshed. Darkstat uses a very low footprint and the memory, CPU usage.

Step 1. Installation:

apt-get install darkstat

Step 2. How to use darkstat:

1. Running darkstat for eth0 :

darkstat -i eth0

NOTE: Now darkstat will start and run in background.

Step 3. View stats:

In your Browser type the address:

Continue Reading…

Tutorial Netstat

Valic —  June 29, 2010 — Leave a comment

Netstat (NETwork STATistics) is a command-line tool that provides information about your network configuration and activity.

1. To display the routing table:

#netstat -rn

-r : Kernel routing tables.
-n : Shows numerical addresses instead of trying to determine hosts.

2. To display the quick interfaces statistics:

#netstat -i

-i : Interface

3. To display the extended interfaces statistics:

Continue Reading…

Tutorial TCPdump

Valic —  June 28, 2010 — Leave a comment

TCPdump is a very powerful command line interface packetsniffer.

Step 1. Install TCPdump

apt-get install tcpdump

Stept 2. TCPdump use

Step 2.1 To display the Standard TCPdump output:

tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
15:14:25.060050 IP 89.35.90.202.clax.ro.27015 > h89-37-110-61.teleson.ro.27005: UDP, length 229
15:14:25.060071 IP 89.35.90.202.clax.ro.27015 > 86-124-241-9.rdsnet.ro.27005: UDP, length 374
15:14:25.060213 IP 86-124-240-65.rdsnet.ro.27005 > 89.35.90.202.clax.ro.27015: UDP, length 78
15:14:25.060236 IP 91-213-135-21.optic-bridge.com.ro.45249 > 89.38.255.34.28822: UDP, length 20
15:14:25.060240 IP 89.35.90.202.clax.ro.27015 > 86-124-240-65.rdsnet.ro.27005: UDP, length 221
15:14:25.060481 IP 89.35.90.202.clax.ro.27015 > 78-21-42-14.access.telenet.be.27005: UDP, length 163
15:14:25.060694 IP 89.35.90.202.clax.ro.27015 > user-ip-23-89-33-89-sel.rdsnav.ro.63087: UDP, length 224
15:14:25.060731 IP 89.35.90.202.clax.ro.32783 > ns1.clax.ro.domain: 65251+ PTR? 61.110.37.89.in-addr.arpa. (43)
15:14:25.060830 IP 89.35.90.202.clax.ro.27015 > 92.83.223.46.61499: UDP, length 113
15:14:25.060851 IP 89.35.90.202.clax.ro.38331 > 89.35.90.18.clax.ro.62613: P 2328008232:2328008428(196) ack 4034406897 win 410
15:14:25.060910 IP 89.35.90.202.clax.ro.27015 > 86-121-72-43.rdsnet.ro.27005: UDP, length 109
15:14:25.060966 IP 92.83.176.255.27005 > 89.35.90.202.clax.ro.27015: UDP, length 74
15:14:25.061020 IP 89.35.90.202.clax.ro.27015 > 95-65-79-185.starnet.md.27005: UDP, length 117

Step 2.2 Network interfaces available for the capture:

Continue Reading…

Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.

cacti

Continue Reading…

Squid is used by hundreds of Internet Providers world-wide to provide their users with the best possible web access. Squid optimises the data flow between client and server to improve performance and caches frequently-used content to save bandwidth.

Squid can also route content requests to servers in a wide variety of ways to build cache server hierarchies which optimise network throughput.

Step 1. Install  Squid

apt-get install squid

Step 2. Allow your network to use the proxy server.

Append lines similar to these to your config. Continue Reading…

Page 4 of 512345