| 1 | = Darkstat = |
| 2 | |
| 3 | Darkstat is a network statistics gatherer. It's a packet sniffer that runs as a background process and gathers all sorts of statistics about network usage, and serves them over HTTP. |
| 4 | |
| 5 | === Step 1:=== |
| 6 | The first thing you'll need to do is install darkstat package in pfSense. Goto Package Manager from drop down System menu |
| 7 | |
| 8 | Select Available Packages and search for darkstat. Then locate the darkstat package and click the + symbol next to it and confirm the setup to begin the installation. The installation process normally takes a few minutes to complete, make sure you do not leave the package installer page while it is installing. |
| 9 | |
| 10 | === Step 2: === |
| 11 | |
| 12 | Once the installation completes goto '''darkstat Settings''' on Diagnostics drop down menu. |
| 13 | |
| 14 | Configure following to enable darkstat: |
| 15 | |
| 16 | * Enable darkstat: check the tick |
| 17 | * Capture Interfaces: LAN |
| 18 | * Web Interface Port: 666 |
| 19 | * Local Network Traffic: check the tick |
| 20 | * Local Network: LAN |
| 21 | |
| 22 | and Save |
| 23 | |
| 24 | === Step 3: === |
| 25 | |
| 26 | Browse to !http://<pfsense-ip>:666 |
| 27 | |
| 28 | == Analysis == |
| 29 | |
| 30 | === Graphs === |
| 31 | |
| 32 | You will be presented with graphs of data count with time intervals of '''last 60 seconds''', '''last 60 minutes''', '''last 24 hours''' and '''last 31 days'''. |
| 33 | |
| 34 | To get automatic updates on graphs toggle the reload button on the bottom. |
| 35 | |
| 36 | === Hosts === |
| 37 | |
| 38 | You will be present with a table of IP addresses, Hostnames, Mac Addresses, byte counts and last seen time where you can use sorting to find minimum and maximum values. |
| 39 | |