Bandwidth usage history and online monitoring per each IP-address
-
Hi all. I didn't check out if the same question(s) was here, sorry… I've made the only pfSense installation for a friend of mine who owns a small LAN. We created an alias (1 mbit down/256 kbit up) and put all internal IPs into that alias. Now, we'd like to watch not only total bandwidh usage online, but per-user(IP) usage too. Say, if it surfs slowly, we go to statistic page and see the total badwidth is out. Who is the motherfucker?! We go somewhere else and see the per-IP bandwidth usage. And it's not bad if there is a history feature, so we can say that IP 1.2.3.4 stoled all our bandwidth the whole previous week :) - we didn't find such a feature. Is there any way to solve these two problems? Thanks a lot!
-
Easiest way I know for seeing per ip real time bandwidth is via console or SSH go to pftop (9)
Then press the following: 7, Shift +R (Capital R) , s, 1
7 is speed screen
Shift R is sort by RATE
s, 1 is setting refresh to 1 second. -
Easiest way I know for seeing per ip real time bandwidth is via console or SSH go to pftop (9)
Then press the following: 7, Shift +R (Capital R) , s, 1
7 is speed screen
Shift R is sort by RATE
s, 1 is setting refresh to 1 second.Thanks a lot! But I don't understand some things… Here is a screenshot...
PR D SRC DEST RATE PEAK AVG BYTES STATE PKTS AGE EXP R
tcp I 192.168.0.38:3136 92.39.231.4:46217 54857 72896 18579 6386K 4:4 6719 352 86400 *
tcp I 192.168.0.38:3381 89.253.91.121:52145 52760 54827 12889 2857K 4:4 3515 227 86400 *For the first line, RATE is 54857, PEAK is 72896 and AVG is 18579. Does that mean speed in Kbits? If yes, thats almost quite what we need! :)
-
Try the "BandwidthD" plugin.
-
Try the "BandwidthD" plugin.
"BandwidthD tracks usage of TCP/IP network subnets and builds html files with graphs to display utilization. Charts are built by individual IPs, and by default display utilization over 2 day, 8 day, 40 day, and 400 day periods. Furthermore, each ip address's utilization can be logged out at intervals of 3.3 minutes, 10 minutes, 1 hour or 12 hours in cdf format, or to a backend database server. HTTP, TCP, UDP, ICMP, VPN, and P2P traffic are color coded."
Wow! That's it! I forgot about packages… Though I installed nmap package before... :)
Thank you so much, sir! :) Would you like to point me, when I can see results of bandwidthd package job? I surfed through almost all menus and submenus and didn't find such a graphs (or I saw them but didn't understand this is bandwidthd's graphs... :)