Do Traffic Statistics (via ipcad+squid+lightsquid) work in pfSense 2.4.4-p2?
-
Hi,
I'm trying to use IPCAD (that supposed be used to account for traffic on all ports), which will complement the data for Lightsquid reports (which in transparent mode only collects http/port 80).
I collected information on some topics:
https://forum.netgate.com/topic/104644/tuning-guide-for-collection-traffic-statistics-using-ipcad-and-lightsquid
https://forum.netgate.com/topic/104635/инструкция-статистика-трафика-ipcad-lightsquid-без-squid
https://it-blackbox.blogspot.com/2017/03/pfsense_14.html
http://www.afiks.org/arhive/2But when I try to start things, I get these errors:
Note: The ipcad.conf contains the line:
interface bge1 filter "ip and dst net 192.168.0.0/24 and not src net 10.0.0.0/8 and not 172.16.0.0/12 and not 192.168.1.0/16" and not src port 80";[2.4.4-RELEASE][root@pfsense]/root: /usr/local/bin/ipcad -rds Opening bge1... [LCap] [ERSH] [4096] [custom filter compile error] [Error: Can't initialize filter!] [NODEV, yet configured] Initialized as 1 Aggregate network 10.0.0.0/255.0.0.0 -> 255.255.255.255 Aggregate network 172.16.0.0/255.240.0.0 -> 255.255.255.255 Aggregate network 192.168.1.0/255.255.0.0 -> 255.255.255.255 Aggregate network 0.0.0.0/0.0.0.0 -> 255.255.255.255 Aggregate ports 3128..3128 into 0 Aggregate ports 80..81 into 0 Aggregate ports 20..21 into 21 Aggregate ports 22..23 into 22 Aggregate ports 25..25 into 25 Aggregate ports 26..109 into 26 Aggregate ports 110..110 into 110 Aggregate ports 111..142 into 111 Aggregate ports 143..143 into 143 Aggregate ports 144..442 into 144 Aggregate ports 443..443 into 443 Aggregate ports 444..992 into 444 Aggregate ports 993..993 into 993 Aggregate ports 994..994 into 994 Aggregate ports 995..995 into 995 Aggregate ports 996..65535 into 65535 Configured RSH Server listening at 127.0.0.1 No valid entries found in ipcad.dump. Daemonized.
2.4.4-RELEASE][root@pfsense]/root: /usr/bin/rsh -l root 127.0.0.1 stat Interface bge1: DOWN Flow entries made: 0 Memory usage: 0% (0 from 1048576) Free slots for rsh clients: 9 IPCAD uptime is 17 minutes pfSense uptime is 19:56
If anyone has any tips, any help is very welcome!
Used packages:
pfSense 2.4.4-p2 amd64
rsh https://drive.google.com/open?id=0B36vuIhSVmvAQ2VJR0Z2SjdNaDQ
ipcad https://drive.google.com/open?id=0B36vuIhSVmvAelEyUjZwTHRPM0E
tolog.sh https://drive.google.com/open?id=0B36vuIhSVmvAWm94SEYybFpMV0E
Squid 0.4.44_7
Lightsquid 3.0.6_5
Shellcmd 1.0.5_1
Cron 0.3.7_3Thanks!